diff options
author | Kővágó, Zoltán <dirty.ice.hu@gmail.com> | 2019-08-19 01:06:55 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-21 09:13:37 +0200 |
commit | 18e2c1771b693fd55d5f5967e20ef075a19d4667 (patch) | |
tree | e27db99a7c44991665c1cc37775209d4add57222 /audio/audio_int.h | |
parent | 589359150365616de479866f8bc594c876480bd8 (diff) | |
download | qemu-18e2c1771b693fd55d5f5967e20ef075a19d4667.zip qemu-18e2c1771b693fd55d5f5967e20ef075a19d4667.tar.gz qemu-18e2c1771b693fd55d5f5967e20ef075a19d4667.tar.bz2 |
audio: do not run each backend in audio_run
audio_run is called manually by alsa and oss backends when polling.
In this case only the requesting backend should be run, not all of them.
Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 10221fcea2028fa18d95cf531526ffe3b1d9b21a.1566168923.git.DirtY.iCE.hu@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r-- | audio/audio_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_int.h b/audio/audio_int.h index 9f01f6a..7e00c13 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -221,7 +221,7 @@ int audio_pcm_hw_clip_out (HWVoiceOut *hw, void *pcm_buf, int audio_bug (const char *funcname, int cond); void *audio_calloc (const char *funcname, int nmemb, size_t size); -void audio_run (const char *msg); +void audio_run(AudioState *s, const char *msg); #define VOICE_ENABLE 1 #define VOICE_DISABLE 2 |