Added ndspChnGetFormat (#538)

This commit is contained in:
Kayden Tran 2024-01-29 23:04:08 +11:00 committed by GitHub
parent d0936b879b
commit 0da8705527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,6 +100,11 @@ void ndspChnSetFormat(int id, u16 format)
ndspChn[id].format = format; ndspChn[id].format = format;
} }
u16 ndspChnGetFormat(int id)
{
return ndspChn[id].format;
}
bool ndspChnIsPaused(int id) bool ndspChnIsPaused(int id)
{ {
return ndspChn[id].paused; return ndspChn[id].paused;