History | View | Annotate | Download (13.4 kB)
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>
audio: split sample conversion and volume mixing
Refactor the volume mixing, so it can be reused for capturing devices.Additionally, it removes superfluous multiplications with the nominalvolume within the hardware voice code path.
Signed-off-by: Michael Walle <michael@walle.cc>...
audio: make audio_pt_init block all signals
Signed-off-by: malc <av1474@comtv.ru>
audio: internal API change
pcm_ops.run_out now takes number of live samples (which will be alwaysgreater than zero) as a second argument, every driver was callingaudio_pcm_hw_get_live_out anyway with exception of fmod which usedaudio_pcm_hw_get_live_out2 for no good reason....
Fix warning on x86_64
audio/esdaudio.c: In function 'qesd_thread_out':audio/esdaudio.c:136: error: format '%d' expects type 'int', butargument 3 has type 'ssize_t'audio/esdaudio.c: In function 'qesd_thread_in':audio/esdaudio.c:366: error: format '%d' expects type 'int', but...
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
use C99 initializers for all audio/*
Aesthetics
Reformat to make item borders more visibleFix cases of stray tabs and vertical misalignments
Use proper struct initializers and remove INIT_FIELD() macro
Use C99 initializers for audio_option
Make audio violate POSIX less
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
Prepare for changing audio_pcm_ops dynamically (partially revert r5422)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5435 c046a42c-6fe2-441c-8c8c-71466251a162
Make audio_pcm_opsstatic const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5422 c046a42c-6fe2-441c-8c8c-71466251a162
Audio endianness and mutex usage fixes (malc.git).
From http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/audio :
Implicitly lock the mutex at startup of playback/capture threads, otherwisepthread_mutex_destroy (in audio_pt_fini) fails with EBUSY....
pthreads-based audio and miscellaneous audio clean-up (malc).ESD support (malc, Frederick Reeve).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3917 c046a42c-6fe2-441c-8c8c-71466251a162