Skip to content

Commit 87d2fc2

Browse files
padenotachronop
authored andcommitted
Initialize the new pref field in audiounit_mix_output_buffer
1 parent 1f4b4d3 commit 87d2fc2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/cubeb_audiounit.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ audiounit_mix_output_buffer(cubeb_stream * stm,
417417
stm->output_stream_params.format,
418418
stm->output_stream_params.rate,
419419
CUBEB_CHANNEL_LAYOUT_MAPS[stm->context->layout].channels,
420-
stm->context->layout
420+
stm->context->layout,
421+
CUBEB_STREAM_PREF_NONE
421422
};
422423

423424
// The downmixing(from 5.1) supports in-place conversion, so we can use

0 commit comments

Comments
 (0)