diff options
author | wm4 <wm4@nowhere> | 2015-01-20 14:25:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-20 14:25:47 +0100 |
commit | 3c2ca0cecc7f88fb94449605b7b33fbdbb855ed0 (patch) | |
tree | 6997a8431aa78fdd9cd03d8ad3369a71c4d5ebd6 /video/mp_image_pool.c | |
parent | 84928b049d9772b30b94da4f503b1811a4f5c59e (diff) |
ao: refactor --audio-device selection code
This removes the slightly duplicated code for picking the required AO
driver if --audio-device forces one. Now --audio-device reuses the same
code as --ao for this.
As a consequence, ao_alloc_pb() and ao_create() can be merged into
ao_init(). Although the ao_init() argument list, which is already pretty
big, grows by one, it's better than having all these similar sounding
functions around.
Actually, I just wanted to do the change the following commit will do,
but I found this code was more of a mess than it had to be.
Diffstat (limited to 'video/mp_image_pool.c')
0 files changed, 0 insertions, 0 deletions