summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-24Fix a bug of AudioHardwareALSA::setVoiceVolumeHEADmasterlei.bian
which only set volume of earpiece. Change-Id: I9cc92d941111b23fb1b7c747ededf0c207731809
2011-03-04Update for Gingerbread build.Sean McNeil
Add LOCAL_MODULE_TAGS as required. Change LOG format to evade more restrictive errors by the compiler. Change-Id: Ic5d390927c304f492b00ecd7d2ac2f2f68e79274
2010-09-06Clean up locks and route.Sean McNeil
Remove lock from AudioHardwareALSA class. Do not call route for handles that have never been opened when mode changes. Change-Id: Ifce6718d5f1df235b78b10c86cf2f61b3ae12a69
2010-09-02Hold lock when doing a route.Sean McNeil
Routing can end up closing and re-opening an audio path (alsa_default.cpp). If this happend while audio is being played or recorded, then the handle can become invalid and cause a crash in the ALSA library. Change-Id: I2ab62cec0b8a77abdfb890c2addf7e3f54aca750
2010-09-02Fix tab errors.Sean McNeil
Change-Id: I6352d75c98c5c1a4a3c9f3647c54f20e7a6ebe84
2010-09-01Support no ALSA mixing.Sean McNeil
When no ALSA controls can be found, do not treat as a fatal condition. Instead, report back to callers that the operation is not supported. This will cause Audioflinger to perform software volume mixing instead. Change-Id: I2843433c2cd3ed45e4888000f823aa5f34d3b5f7
2010-06-25Reduce common code.Sean McNeil
Make AudioPolicyManagerBase the parent class of AudioPolicyManagerALSA. Remove what is common code. If necessary, we can implement any changes when we find them.
2010-06-25Include libaudiopolicybase with libaudiopolicy.Sean McNeil
2010-06-25Update for FroyoSean McNeil
Add new input stream method getInputFramesLost(). Add new output stream method getInputFramesLost().
2010-06-23Fix A2DP compilation, remove FM routing, use ↵Sean McNeil
snd_pcm_hw_params_set_buffer_size_near
2010-06-10Enable Bluetooth supportChih-Wei Huang
If BOARD_HAVE_BLUETOOTH is true, WITH_A2DP must be defined. Change-Id: I73d035f6f576711438edfa560fd9ed831df0946d
2010-01-20Fix bugs in AudioStreamInALSA::close() and AudioStreamOutALSA::close()Chih-Wei Huang
The methods should call the parent method ALSAStreamOps::close(), not call itself, which is an infinite recursive loop.
2009-12-09Revert to named devices of AndroidPlayback/AndroidCapture for backwards ↵Sean McNeil
compatability. Use appropriate devicePrefix - Michael Trimarchi
2009-12-03Write correct number of bytes per attempt.Sean McNeil
2009-12-02Eclair ALSA version including new ALSA module mechanism.Sean McNeil
2009-08-15Remove undef for FM routing now that it is a build option.Sean McNeil
2009-08-15bufferSize must be a power of 2.Sean McNeil
Close audio interface on standby. Clean up interface classes.
2009-08-12Add new argument to openInputStream introduced in Donut.Sean McNeil
2009-08-11Fix underrun issues. Change scope of locks.Sean McNeil
2009-08-11Add headerSean McNeil
2009-07-09Updates to add acoustics plugin and move lock to parent class.Sean McNeil
2009-04-16Add new generic ALSA control interfaceSean McNeil
2009-04-08Call with appropriate parameters to setDeviceSean McNeil
Put back missing return.
2009-02-26Run through bcpp program to eliminate tabs and cleanup format.Sean McNeil
Update to build with new AudioHardwareBase. Fix problem with Zoom not supporting buffer allocation based on sample time. Allow device to provide multiple routes instead of just first encountered.
2008-11-20Initial ContributionXiaopeng Yang
2008-11-19Template files from frameworks/base/libs/audioflingerXiaopeng Yang