diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-17 22:19:29 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-17 22:19:29 +0000 |
commit | f941aa256f2254c3f35f00fcf5d7f20dba55a5b7 (patch) | |
tree | 7e92c23171d665c8841d2afb7765ac45c94b70aa /audio/wavcapture.c | |
parent | b93aebecb0844b220c1652b79e698db2afe3bbab (diff) |
Qemu support for S32 and U32 alsa output, by Vassili Karpov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2427 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/wavcapture.c')
-rw-r--r-- | audio/wavcapture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/wavcapture.c b/audio/wavcapture.c index d915fa02bf..4810fa30dd 100644 --- a/audio/wavcapture.c +++ b/audio/wavcapture.c @@ -37,15 +37,15 @@ static void wav_destroy (void *opaque) if (wav->f) { le_store (rlen, rifflen, 4); le_store (dlen, datalen, 4); - + qemu_fseek (wav->f, 4, SEEK_SET); qemu_put_buffer (wav->f, rlen, 4); - + qemu_fseek (wav->f, 32, SEEK_CUR); qemu_put_buffer (wav->f, dlen, 4); qemu_fclose (wav->f); } - + qemu_free (wav->path); } |