Markus Armbruster
fb7da626c0
audio: Drop superfluous conditionals around g_free()
...
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2014-06-13 12:34:54 +02:00
Stefan Weil
93b6599734
audio: Fix warning from static code analysis
...
smatch report:
audio/audio_template.h:416 AUD_open_out(18) warn:
variable dereferenced before check 'as' (see line 414)
Moving the ldebug statement after the statement which checks 'as'
fixes that warning.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: malc <av1474@comtv.ru>
2012-09-23 01:34:16 +04:00
Marc-André Lureau
c01b245623
audio: don't apply volume effect if backend has VOICE_VOLUME_CAP
...
If the audio backend is capable of volume control, don't apply
software volume (mixeng_volume ()), but instead, rely on backend
volume control. This will allow guest to have full range volume
control.
Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
2012-04-17 16:57:57 +04:00
Anthony Liguori
7267c0947d
Use glib memory allocation and free functions
...
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-08-20 23:01:08 -05:00
malc
575c153f4f
audio: Fix memory size for resampling buffer in DAC case
...
Signed-off-by: malc <av1474@comtv.ru>
2010-09-28 08:56:59 +04:00
Blue Swirl
0bfcd599e3
Fix %lld or %llx printf format use
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-05-22 08:02:12 +00:00
Juan Quintela
a244eb7429
audio: fix compilation of DEBUG_PLIVE
...
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-12-03 09:41:25 -06:00
malc
7cbb28ed5d
audio: Remove conditional around sw which can not be NULL
...
Noticed by Steve Grubb.
Signed-off-by: malc <av1474@comtv.ru>
2009-11-18 19:22:53 +03:00
malc
cb4f03e874
audio: remove last remnants of _t
...
Signed-off-by: malc <av1474@comtv.ru>
2009-10-15 02:40:17 +04:00
malc
4f4cc0efde
audio: use muldiv64 where it makes sense
...
Signed-off-by: malc <av1474@comtv.ru>
2009-09-18 14:04:36 +04:00
Blue Swirl
72cf2d4f0e
Fix sys-queue.h conflict for good
...
Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc923584
,
f40d753718
,
96555a96d7
and
3990d09adf
but the fixes were fragile.
Solution: Avoid the conflict entirely by renaming the functions and the
file. Revert the previous hacks.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-12 07:36:22 +00:00
malc
1a7dafce1d
Remove any pretense that there can be more than one AudioState
2009-05-14 03:20:43 +04:00
malc
1ea879e558
Make audio violate POSIX less
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-03 22:48:44 +00:00
ths
f941aa256f
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
2007-02-17 22:19:29 +00:00
bellard
ec36b695b0
audio capture to wab files (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2059 c046a42c-6fe2-441c-8c8c-71466251a162
2006-07-16 18:57:03 +00:00
bellard
d929eba5d4
audio endianness API changes (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2042 c046a42c-6fe2-441c-8c8c-71466251a162
2006-07-04 21:47:22 +00:00
bellard
8ead62cfc2
audio fixes + initial audio capture support (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2040 c046a42c-6fe2-441c-8c8c-71466251a162
2006-07-04 16:51:32 +00:00
bellard
26a76461f2
C99 64 bit printf
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-25 18:15:32 +00:00
bellard
571ec3d68d
audio merge (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1636 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-20 16:24:34 +00:00
bellard
e7cad33853
size_t fix (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1617 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-11 00:03:36 +00:00
bellard
c0fe3827ea
audio merge (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1601 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-05 18:55:28 +00:00
bellard
1d14ffa97e
merged 15a_aqemu.patch audio patch (malc)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1584 c046a42c-6fe2-441c-8c8c-71466251a162
2005-10-30 18:58:22 +00:00