Skip to content

Commit 0da8705

Browse files
authored
Added ndspChnGetFormat (#538)
1 parent d0936b8 commit 0da8705

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libctru/source/ndsp/ndsp-channel.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ void ndspChnSetFormat(int id, u16 format)
100100
ndspChn[id].format = format;
101101
}
102102

103+
u16 ndspChnGetFormat(int id)
104+
{
105+
return ndspChn[id].format;
106+
}
107+
103108
bool ndspChnIsPaused(int id)
104109
{
105110
return ndspChn[id].paused;

0 commit comments

Comments
 (0)