aboutsummaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Collapse)AuthorAgeFilesLines
* qemu-timer.c: rename qemu_timer_new_scale()David 'Digit' Turner2011-06-011-4/+4
| | | | | | | | | | | Get rid of qemu_timer_new() implementation, and update all callers to use qemu_timer_new_ms() or qemu_timer_new_ns() instead. Rename qemu_new_timer_scale() to qemu_new_timer() to follow upstream conventions. Change-Id: Id2c04f8597ec5026e02f87b3e2c5507920eb688e
* integrate: qemu-common.h changesDavid 'Digit' Turner2011-06-011-4/+0
| | | | Change-Id: I4620b4560465ed105202332b59f91b708d91a525
* fix OS X build: missing commaDavid 'Digit' Turner2011-01-031-1/+1
| | | | Change-Id: Ie70bde0bb8786d0e2c1b253217a47e3c9808abb8
* Fix upstream audio bug: can't play with two soft voices.David 'Digit' Turner2011-01-022-2/+5
| | | | | | | | This patch fixes a problem where using two SWVoiceOut at the same time would not work, unless the two voices would output sound samples at the same time. Change-Id: Id6c6c93f5fe7be29d73776f62fe03732291fcaf9
* upstream: audio sub-system improvements.David 'Digit' Turner2011-01-0218-1147/+1788
| | | | | | | | | | | | This patch updates the audio subsystem to match the one in upstream. Note that this gets rid of the ability to specify different audio backends for input and output, which was never really used. A future patch will remove the -audio-in and -audio-out options and related code. Change-Id: I37c21672bcb15ef1f0e928c56bf99fbecda2bce6
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-222-0/+19
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Add a PulseAudio audio backend for Linux.David 'Digit' Turner2010-08-273-4/+626
| | | | Change-Id: Ifaf876c41ab6c7275ba7d1dc8e12139f62840cd6
* Upstream: integrate timer/clock management changes.David 'Digit' Turner2010-05-113-5/+8
| | | | Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
* Fix build.David 'Digit' Turner2010-05-111-0/+1
| | | | Change-Id: I9c76b9cffd53c23b2c3c1bb90cfa3265b711ddb9
* Upstream: Replace sys-queue.h with qemu-queue.hDavid 'Digit' Turner2010-05-105-71/+66
| | | | Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-101-1/+1
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Separate audio stack and SDLVladimir Chtchetkine2010-05-043-668/+0
| | | | Change-Id: Ibf3d08172807bca7dc46d70bf51d5eadaed4372b
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-1419-538/+311
| | | | | | | | | | | | | | | | | | | This change integrates many changes from the upstream QEMU sources. Its main purpose is to enable correct ARMv6 and ARMv7 support to the Android emulator. Due to the nature of the upstream code base, this unfortunately also required changes to many other parts of the source. Note that to ensure easier integrations in the future, some source files and directories that have heavy Android-specific customization have been renamed with an -android suffix. The original files are still there for easier integration tracking, but *never* compiled. For example: net.c net-android.c qemu-char.c qemu-char-android.c slirp/ slirp-android/ etc... Tested on linux-x86, darwin-x86 and windows host machines.
* Fix problem in EsounD processing loops which can result in lockups.David 'Digit' Turner2009-08-261-0/+4
|
* Fix EsounD audio backend and bump version number.David 'Digit' Turner2009-08-211-251/+82
| | | | | | | | | | | | | | | | | | | | | The original esdaudio.c file from upstream contains a nasty race condition that can be triggered when the emulator exists while the audio record thread is in a blocking read() call. In this case, exit() will end up calling esd_fini_in which will try to pthread_join() the blocked thread, resulting in a dead-lock. This change just gets rid of the helper threads and just performs audio output and input in the main event loop, avoiding blocking i/o completely. I haven't experienced any difference compared to the original one, be it in audio lag or CPU usage when playing a simple MP3 file in the emulated system. The change also updates the update-audio.sh script since we don't store our sources in p4 anymore. A small fix in common.sh deals removes an obsolete special case that is not needed anymore when determining the location of the host prebuilt binaries. The version number is also bumped to 1.12 and CHANGES.TXT updated accordingly.
* Fix one minor crashing bug when -debug-audio is used with the OSS audio backend.David 'Digit' Turner2009-05-201-1/+1
| | | | Moreover, properly set errno to 0 in QSOCKET_CALL macro, to avoid misleading trace messages when -debug-slirp is used
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0323-0/+11858
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0323-11858/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-1019-95/+317
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-154-187/+161
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-172-117/+92
|
* Initial ContributionThe Android Open Source Project2008-10-2116-385/+2958
|
* external/qemu 0.8.2Upstream1970-01-1219-0/+9114