Add debug statements

This commit is contained in:
Jacob Vosmaer 2016-07-02 23:44:21 +02:00
parent 4728f7c697
commit bdc257b40e

View File

@ -127,6 +127,8 @@ osx_output_set_device(OSXOutput *oo, Error &error)
goto done;
}
FormatDebug(osx_output_domain, "found %u OS X audio output devices", size);
/* what are the available audio device IDs? */
numdevices = size / sizeof(AudioDeviceID);
deviceids = new AudioDeviceID[numdevices];
@ -153,6 +155,7 @@ osx_output_set_device(OSXOutput *oo, Error &error)
ret = false;
goto done;
}
FormatDebug(osx_output_domain, "found OS X audio output device: %s", name);
if (strcmp(oo->device_name, name) == 0) {
FormatDebug(osx_output_domain,
"found matching device: ID=%u, name=%s",