0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio/out
wm4 f432a584b9 ao_pulse: implement AO device listing API
While conceptually this sink stuff in PulseAudio does just the right
thing, actually listing the sinks is unbelievable complicated. Not only
is the idea that listing them should happen asynchronously completely
bullshit (who the fuck runs the PulseAudio server on a separate
computer), but the way this is done is full of bullshit too. Why
separate callbacks for each device? Why this obtuse mainloop shit?
Especially the mainloop shit makes it actively worse than doing things
manually with pthread primitives, and the reason for that (different
mainloop implementations for GUIs?) is laughable too. It's like they
chose the most complicated API possible just because they attempted
to "abstract" basic mechanisms in order to handle "everything". While
I don't claim to design the best APIs, this API is fucking terrible
without any excuse. (End of rant.)
2014-10-10 18:42:43 +02:00
..
ao_alsa.c audio: change internal device listing API 2014-10-10 18:27:21 +02:00
ao_coreaudio_device.c ao_coreaudio: fix build failure 2014-09-24 00:05:18 +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 audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_coreaudio_utils.h ao_coreaudio: move channel mapping away from utils 2014-07-02 21:43:08 +02:00
ao_coreaudio.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_dsound.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +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 audio/out: remove old things 2014-09-06 02:30:57 +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 audio/out/pull: remove race conditions 2014-05-29 02:24:17 +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 audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
ao_wasapi_utils.h ao_wasapi: Move non-critical code outside of the event thread 2014-03-11 16:37:02 -03:00
ao_wasapi.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_wasapi.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao.c audio: change internal device listing API 2014-10-10 18:27:21 +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 audio/out/push: make draining slightly more robust 2014-10-10 13:21:43 +02:00