From 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 14 May 2009 03:11:35 +0400 Subject: Remove any pretense that there can be more than one AudioState --- audio/wavcapture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/wavcapture.c') diff --git a/audio/wavcapture.c b/audio/wavcapture.c index bead458e8..1f49cd1fe 100644 --- a/audio/wavcapture.c +++ b/audio/wavcapture.c @@ -145,7 +145,7 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, qemu_put_buffer (wav->f, hdr, sizeof (hdr)); - cap = AUD_add_capture (NULL, &as, &ops, wav); + cap = AUD_add_capture (&as, &ops, wav); if (!cap) { monitor_printf(mon, "Failed to add audio capture\n"); qemu_free (wav->path); -- cgit v1.2.3