diff --git a/libctru/source/ndsp/ndsp-channel.c b/libctru/source/ndsp/ndsp-channel.c index c95a8c3..bd5699d 100644 --- a/libctru/source/ndsp/ndsp-channel.c +++ b/libctru/source/ndsp/ndsp-channel.c @@ -100,6 +100,11 @@ void ndspChnSetFormat(int id, u16 format) ndspChn[id].format = format; } +u16 ndspChnGetFormat(int id) +{ + return ndspChn[id].format; +} + bool ndspChnIsPaused(int id) { return ndspChn[id].paused;