Print current device state

This commit is contained in:
Mike H 2018-02-13 21:39:55 +00:00 committed by GitHub
parent 873817ee47
commit ca1c5104d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
{