0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio
Stefano Pigozzi 069016fd6c ao_coreaudio: fix channel mapping
There where 3 major errors in the previous code:

1) The kAudioDevicePropertyPreferredChannelLayout selector returns a single
   layout not an array.
2) The check for AudioChannelLayout allocation size was wrong (didn't account
   for variable sized struct).
3) Didn't query the kAudioDevicePropertyPreferredChannelsForStereo selector
   since I didn't know about it's existence.

All of these are fixed.

Might help with #1367
2014-12-27 12:04:58 +01:00
..
decode audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
filter win32: add mmap() emulation 2014-12-26 17:30:10 +01:00
out ao_coreaudio: fix channel mapping 2014-12-27 12:04:58 +01:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio.c audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
audio.h audio: make mp_audio_config_to_str return a stack-allocated string 2014-11-25 11:11:31 +01:00
chmap_sel.c audio: fix previous commit 2014-12-20 16:48:30 +01:00
chmap_sel.h audio: allow more than 20 channel map entries 2014-12-01 15:28:06 +01:00
chmap.c audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
chmap.h audio: make mp_chmap_to_str() return a stack-allocated string 2014-11-24 19:56:01 +01:00
fmt-conversion.c audio: fix format ID conversion 2013-12-23 21:24:41 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
format.h ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
mixer.c mixer: don't show softvol neutral marker on OSD if not using softvol 2014-11-27 10:11:55 +01:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00