mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-08-07 08:39:24 +02:00
Print current device state
This commit is contained in:
parent
873817ee47
commit
ca1c5104d6
@ -67,6 +67,11 @@ int main(int argc, char **argv)
|
||||
|
||||
rc = audoutInitialize();
|
||||
printf("audoutInitialize() returned 0x%x\n", rc);
|
||||
|
||||
printf("Sample rate: 0x%x\n", audoutGetSampleRate());
|
||||
printf("Channel count: 0x%x\n", audoutGetChannelCount());
|
||||
printf("PCM format: 0x%x\n", audoutGetPcmFormat());
|
||||
printf("Device state: 0x%x\n", audoutGetDeviceState());
|
||||
|
||||
if (R_SUCCEEDED(rc))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user