From f6a85f0b0b0509e8e36224de74077a00679165fa Mon Sep 17 00:00:00 2001 From: Dave Hocker Date: Thu, 10 Nov 2016 12:54:45 +0100 Subject: [PATCH] output/osx: fix build failure --- src/output/plugins/OSXOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index aaf937d39..2d357635a 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -163,6 +163,7 @@ osx_output_parse_channel_map( channel_map[inserted_channels] = strtol(channel_map_str, &endptr, 10); if (channel_map[inserted_channels] < -1) throw FormatRuntimeError("%s: channel map value %d not allowed (must be -1 or greater)", + device_name, channel_map[inserted_channels]); channel_map_str = endptr; want_number = false; @@ -209,7 +210,7 @@ osx_output_set_channel_map(OSXOutput *oo) osx_output_parse_channel_map(oo->device_name, oo->channel_map, channel_map.get(), - num_channels)); + num_channels); size = num_channels * sizeof(SInt32); status = AudioUnitSetProperty(oo->au,