qemu-e2k/audio
Kővágó, Zoltán 5706db1deb audio: expose drv_opaque to init_out and init_in
Currently the opaque pointer returned by audio_driver's init is only
exposed to the driver's fini, but not to audio_pcm_ops. This way if
someone wants to share a variable with the driver and the pcm, he must
use global variables. This patch fixes it by adding a third parameter to
audio_pcm_op's init_out and init_in.

Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-06-15 12:42:47 +02:00
..
alsaaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
audio_int.h audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
audio_pt_int.c
audio_pt_int.h
audio_template.h audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
audio_win_int.c
audio_win_int.h
audio.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
audio.h
coreaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
dsound_template.h audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
dsoundaudio.c
Makefile.objs audio: remove winwave audio driver 2015-06-15 10:50:31 +02:00
mixeng_template.h audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
mixeng.c
mixeng.h
noaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
ossaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
paaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
rate_template.h
sdlaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
spiceaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
wavaudio.c audio: expose drv_opaque to init_out and init_in 2015-06-15 12:42:47 +02:00
wavcapture.c audio: replace fprintf(stderr, ...) with error_report() in audio 2014-05-26 10:41:21 +04:00