[vlc-commits] auhal: correctly fix channel ordering by setting the correct scope.
David Fuhrmann
git at videolan.org
Fri Feb 28 17:36:11 CET 2014
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Feb 27 22:12:34 2014 +0100| [a748266bfbe9d8671db2edd0c454697a6acfbc70] | committer: David Fuhrmann
auhal: correctly fix channel ordering by setting the correct scope.
fixes #10125, #10199
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a748266bfbe9d8671db2edd0c454697a6acfbc70
---
modules/audio_output/auhal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index ff975e0..62fe151 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -802,7 +802,7 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
/* Set the new_layout as the layout VLC will use to feed the AU unit */
verify_noerr(AudioUnitSetProperty(p_sys->au_unit,
kAudioUnitProperty_AudioChannelLayout,
- kAudioUnitScope_Output,
+ kAudioUnitScope_Input, /* yes, it must be the INPUT scope */
0, &new_layout, sizeof(new_layout)));
if (new_layout.mNumberChannelDescriptions > 0)
More information about the vlc-commits
mailing list