mpv/audio/out
wm4 c68be80a63 ao_wasapi: do not pass nonsense to drivers with double
This tried to use AF_FORMAT_DOUBLE as KSDATAFORMAT_SUBTYPE_IEEE_FLOAT,
with wBitsPerSample==64. This is probably not allowed, and drivers
appear to react inconsistently to it. (With one user, the format was
accepted during format negotiation, but then rejected on actual init.)

Remove it, which essentially forces it to fall back to some other
format. (Looks like it'll use af_select_best_samplerate(), which would
probably make it try S32 next.)

The af_fmt_from_planar() is so that we don't have to care about
AF_FORMAT_FLOATP. Wasapi always requires packed data anyway.

This should actually handle other potentially unknown sample formats
better.

This changes that set_waveformat() always set the exact format. Now it
might set a "close" format instead. But all callers seem to deal with
this well. Although in theory, callers should probably handle the
fallback. The next cleanup (if ever) can take care of this.
2017-03-29 15:19:25 +02:00
..
ao.c ao: never set ao->device = "" 2017-02-20 22:56:30 -08:00
ao.h player, ao, vo: don't call mp_input_wakeup() directly 2016-09-16 14:37:48 +02:00
ao_alsa.c ao_alsa: fix device filtering, add another exception 2017-03-14 18:06:17 +01:00
ao_audiounit.m options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_coreaudio.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01: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 osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
ao_coreaudio_properties.c ao_coreaudio: use correct free function on errors 2016-07-13 16:34:00 +02:00
ao_coreaudio_properties.h ao_coreaudio: report hardware latency to ao_read_data 2014-07-03 20:05:15 +02:00
ao_coreaudio_utils.c audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_coreaudio_utils.h audio/out: add AudioUnit output driver for iOS 2016-11-01 16:25:40 +01:00
ao_jack.c ao_jack: update latency on buffer_size/graph change 2017-03-18 14:15:34 +01:00
ao_lavc.c Remove compatibility things 2016-12-07 19:53:11 +01:00
ao_null.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_openal.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01: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 ao_oss: fix mixer channel message 2017-02-08 21:03:40 -08:00
ao_pcm.c options: add M_OPT_FILE to some more file options 2017-03-06 15:41:06 +01:00
ao_pulse.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_rsound.c options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01: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 options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
ao_wasapi.c win32: add COM-specific SAFE_RELEASE to windows_utils.h 2017-01-30 00:22:30 +11: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 win32: add COM-specific SAFE_RELEASE to windows_utils.h 2017-01-30 00:22:30 +11: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 options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
pull.c audio: fix --audio-stream-silence with ao_wasapi 2016-11-21 19:35:06 +01:00
push.c audio/out/push: merge if branches with same condition 2017-01-09 13:32:04 +01:00