Commit bdc257b4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Add debug statements

parent 4728f7c6
...@@ -127,6 +127,8 @@ osx_output_set_device(OSXOutput *oo, Error &error) ...@@ -127,6 +127,8 @@ osx_output_set_device(OSXOutput *oo, Error &error)
goto done; goto done;
} }
FormatDebug(osx_output_domain, "found %u OS X audio output devices", size);
/* what are the available audio device IDs? */ /* what are the available audio device IDs? */
numdevices = size / sizeof(AudioDeviceID); numdevices = size / sizeof(AudioDeviceID);
deviceids = new AudioDeviceID[numdevices]; deviceids = new AudioDeviceID[numdevices];
...@@ -153,6 +155,7 @@ osx_output_set_device(OSXOutput *oo, Error &error) ...@@ -153,6 +155,7 @@ osx_output_set_device(OSXOutput *oo, Error &error)
ret = false; ret = false;
goto done; goto done;
} }
FormatDebug(osx_output_domain, "found OS X audio output device: %s", name);
if (strcmp(oo->device_name, name) == 0) { if (strcmp(oo->device_name, name) == 0) {
FormatDebug(osx_output_domain, FormatDebug(osx_output_domain,
"found matching device: ID=%u, name=%s", "found matching device: ID=%u, name=%s",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment