aboutsummaryrefslogtreecommitdiffstats
path: root/audio/esdaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-8/+9
| | | | | | | | | | | | | | | | | | | 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-031-0/+682
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-682/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-4/+1
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-5/+10
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-29/+17
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+692