1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 22:40:52 +00:00
mpv/audio/out
wm4 67d63bc948 audio/out: don't add special devices to --audio-device list
Since the list associated with --audio-device is supposed to enable
simple user-selection, it doesn't make much sense to include overly
special things like ao_pcm or ao_null in the list. Specifically,
ao_pcm is harmful, because it will just dump all audio to a file
named audiodump.wav in the current working directory. The user can't
choose the filename (it can be customized, but not through this
option), and the working directory might be essentially random,
especially if this is used from a GUI.

Exclude "strange" entries. We reuse the fact that there's already a
simple list ordered by auto-probe priority in order to avoid having to
add an additional flag. This is also why coreaudio_exclusive was moved
above ao_null: ao_null ends auto-probing and marks the start of
"special" outputs, which don't show up on the device, but we want
coreaudio_exclusive to be selectable (I think).
2014-10-22 16:16:35 +02:00
..
ao_alsa.c audio: change internal device listing API 2014-10-10 18:27:21 +02:00
ao_coreaudio_device.c coreaudio: use the new device selection API 2014-10-12 12:22:17 +02:00
ao_coreaudio_properties.c ao_coreaudio: move to new log API 2013-08-01 20:32:49 +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 coreaudio: use the new device selection API 2014-10-12 12:22:17 +02:00
ao_coreaudio_utils.h coreaudio: use the new device selection API 2014-10-12 12:22:17 +02:00
ao_coreaudio.c coreaudio: use the new device selection API 2014-10-12 12:22:17 +02:00
ao_dsound.c ao_dsound: implement device listing 2014-10-13 18:21:35 +02:00
ao_jack.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_lavc.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao_null.c audio/out: always round get_space on period size 2014-09-06 12:59:00 +02:00
ao_openal.c ao_openal: implement device listing 2014-10-13 16:42:56 +02:00
ao_oss.c ao_oss: improve format negotiation, and hopefully fix pass-through 2014-09-24 01:12:14 +02:00
ao_pcm.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_portaudio.c ao_portaudio: implement device listing 2014-10-13 16:43:05 +02:00
ao_pulse.c ao_pulse: implement AO device listing API 2014-10-10 18:42:43 +02:00
ao_rsound.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ao_sdl.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
ao_sndio.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
ao_wasapi_utils.c ao_wasapi: implement device listing 2014-10-13 18:21:45 +02:00
ao_wasapi_utils.h ao_wasapi: implement device listing 2014-10-13 18:21:45 +02:00
ao_wasapi.c ao_wasapi: implement device listing 2014-10-13 18:21:45 +02:00
ao_wasapi.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao.c audio/out: don't add special devices to --audio-device list 2014-10-22 16:16:35 +02:00
ao.h audio: change internal device listing API 2014-10-10 18:27:21 +02:00
internal.h audio: change internal device listing API 2014-10-10 18:27:21 +02:00
pull.c audio/out: make EOF handling properly event-based 2014-09-05 23:45:54 +02:00
push.c Set thread name for debugging 2014-10-19 23:48:40 +02:00