mpv/audio/out
wm4 037c37519b audio/out: require AO drivers to report period size and correct buffer
Before this change, AOs could have internal alignment, and play() would
not consume the trailing data if the size passed to it is not aligned.
Change this to require AOs to report their alignment (via period_size),
and make sure to always send aligned data.

The buffer reported by get_space() now always has to be correct and
reliable. If play() does not consume all data provided (which is bounded
by get_space()), an error is printed.

This is preparation for potential further AO changes.

I casually checked alsa/lavc/null/pcm, the other AOs might or might not
work.
2017-06-25 15:57:43 +02:00
..
ao.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao.h audio/out: change license of some core files to LGPL 2017-05-20 11:43:57 +02:00
ao_alsa.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_audiounit.m ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio.c ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_chmap.c audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_chmap.h audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_exclusive.c ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_properties.c ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_properties.h ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_utils.c ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_utils.h ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_jack.c ao_jack: update latency on buffer_size/graph change 2017-03-18 14:15:34 +01:00
ao_lavc.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_null.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_openal.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_opensles.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_oss.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_pcm.c ao_pcm: change license to LGPL 2017-05-20 12:46:08 +02:00
ao_pulse.c ao_pulse: reorder format choice 2017-06-23 21:12:44 +02:00
ao_rsound.c ao_pulse, ao_rsound: change license to LGPL 2017-05-08 14:09:49 +02:00
ao_sdl.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_sndio.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
ao_wasapi.c ao_wasapi: set name of event thread 2017-05-18 00:11:14 +10:00
ao_wasapi.h win32: add COM-specific SAFE_RELEASE to windows_utils.h 2017-01-30 00:22:30 +11:00
ao_wasapi_changenotify.c ao_wasapi_changenotify: use %ls instead of %S for wchar_t 2017-04-20 07:38:03 +02:00
ao_wasapi_utils.c ao_wasapi: do not pass nonsense to drivers with double 2017-03-29 15:19:25 +02:00
internal.h audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00
pull.c audio: fix --audio-stream-silence with ao_wasapi 2016-11-21 19:35:06 +01:00
push.c audio/out: require AO drivers to report period size and correct buffer 2017-06-25 15:57:43 +02:00