Skip to content

Commit 8f63644

Browse files
committed
resolve warning
1 parent bb9aa53 commit 8f63644

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/cubeb_audiounit.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,7 @@ audiounit_convert_channel_layout(AudioChannelLayout * layout)
11121112
static cubeb_channel_layout
11131113
audiounit_get_current_channel_layout(AudioUnit output_unit)
11141114
{
1115+
assert(output_unit);
11151116
OSStatus rv = noErr;
11161117
UInt32 size = 0;
11171118
rv = AudioUnitGetPropertyInfo(output_unit,

0 commit comments

Comments
 (0)