libao2: change control() types to enum, remove unused ones
commit3a01606dc05b2cedb9792a6f8adefeba6e434ab0
authorUoti Urpala <uau@mplayer2.org>
Sat, 7 Apr 2012 13:26:56 +0000 (7 16:26 +0300)
committerUoti Urpala <uau@mplayer2.org>
Sun, 8 Apr 2012 13:35:09 +0000 (8 16:35 +0300)
tree4fe7f5735617f05e6726d4b2006676fc774ec64f
parent485f439cfefd4fa8d35f406fd8694e649bd536c8
libao2: change control() types to enum, remove unused ones

Change the audio driver control() command argument from "int" to "enum
aocontrol". Remove unused control types (SET_DEVICE, GET_DEVICE,
QUERY_FORMAT, SET_PLUGIN_DRIVER, SET_PLUGIN_LIST). The QUERY_FORMAT
one looks like there's a possibility such functionality could be
useful in the future, but as ao_oss was the only driver to have an
actual implementation of it, the current code wasn't worth keeping.
libao2/ao_alsa.c
libao2/ao_oss.c
libao2/ao_pulse.c
libao2/ao_sgi.c
libao2/ao_sun.c
libao2/audio_out.c
libao2/audio_out.h