Commit 9ee2f4b2 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: add missing error checking

parent 120f324b
......@@ -80,6 +80,10 @@
return NO;
err = AudioObjectSetPropertyData(i_device, &propertyAddress, 0, NULL, i_size, &f_volume);
if (err != noErr ) {
msg_Warn( getIntf(), "failed to set the main device volume" );
return NO;
return YES;
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