1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
mpv/audio
wm4 4ffcf2531b ao_coreaudio_utils: decide formats by comparing raw bits
Instead of trying to use af_format_conversion_score() (which tries to be
all kinds of clever), just compare the raw bits as a quality measure. Do
this because otherwise, weird formats like padded 24 bit formats will be
excluded, even though they might be the highest precision formats for
some hardware.

This means that for now, the user would have to check whether the format
is usable at all before calling ca_asbd_is_better(). But since this is
currently only used for ao_coreaudio.c and for the physical format, it
doesn't matter.

If coreaudio-exclusive should get PCM support, the best would be to
revert this change, and to add support for 24 bit formats directly.
2015-05-05 22:10:33 +02:00
..
decode player: change video-bitrate and audio-bitrate properties 2015-04-20 20:52:16 +02:00
filter af: don't attempt to remove last filter for spdif filter removal 2015-05-05 21:47:48 +02:00
out ao_coreaudio_utils: decide formats by comparing raw bits 2015-05-05 22:10:33 +02: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: introduce mp_audio readonly bit 2015-05-04 23:57:25 +02:00
audio.h audio: introduce mp_audio readonly bit 2015-05-04 23:57:25 +02:00
chmap_sel.c audio: separate fallbacks for upmix and downmix cases 2015-04-28 22:01:55 +02:00
chmap_sel.h chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
chmap.c audio: introduce support for padding channels 2015-05-05 01:11:16 +02:00
chmap.h audio: introduce support for padding channels 2015-05-05 01:11:16 +02:00
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
format.c Update license headers 2015-04-13 12:10:01 +02:00
format.h audio: minor cosmetics 2015-05-05 21:47:36 +02:00
mixer.c Update license headers 2015-04-13 12:10:01 +02:00
mixer.h Update license headers 2015-04-13 12:10:01 +02:00