OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sean McNeil [Fri, 4 Mar 2011 03:44:24 +0000 (10:44 +0700)]
Update for Gingerbread build.
Add LOCAL_MODULE_TAGS as required.
Change LOG format to evade more restrictive errors by the compiler.
Change-Id: Ic5d390927c304f492b00ecd7d2ac2f2f68e79274
Sean McNeil [Mon, 6 Sep 2010 12:09:24 +0000 (19:09 +0700)]
Clean up locks and route.
Remove lock from AudioHardwareALSA class.
Do not call route for handles that have never been opened when mode
changes.
Change-Id: Ifce6718d5f1df235b78b10c86cf2f61b3ae12a69
Sean McNeil [Thu, 2 Sep 2010 03:08:53 +0000 (10:08 +0700)]
Hold lock when doing a route.
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
Sean McNeil [Thu, 2 Sep 2010 02:24:08 +0000 (09:24 +0700)]
Fix tab errors.
Change-Id: I6352d75c98c5c1a4a3c9f3647c54f20e7a6ebe84
Sean McNeil [Wed, 1 Sep 2010 07:06:11 +0000 (14:06 +0700)]
Support no ALSA mixing.
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
Sean McNeil [Fri, 25 Jun 2010 08:51:47 +0000 (15:51 +0700)]
Reduce common code.
Make AudioPolicyManagerBase the parent class of AudioPolicyManagerALSA.
Remove what is common code. If necessary, we can implement any changes
when we find them.
Sean McNeil [Fri, 25 Jun 2010 08:21:53 +0000 (15:21 +0700)]
Include libaudiopolicybase with libaudiopolicy.
Sean McNeil [Fri, 25 Jun 2010 06:07:06 +0000 (13:07 +0700)]
Update for Froyo
Add new input stream method getInputFramesLost().
Add new output stream method getInputFramesLost().
Sean McNeil [Wed, 23 Jun 2010 07:22:01 +0000 (14:22 +0700)]
Fix A2DP compilation, remove FM routing, use snd_pcm_hw_params_set_buffer_size_near
Chih-Wei Huang [Thu, 10 Jun 2010 02:41:24 +0000 (10:41 +0800)]
Enable Bluetooth support
If BOARD_HAVE_BLUETOOTH is true, WITH_A2DP must be defined.
Change-Id: I73d035f6f576711438edfa560fd9ed831df0946d
Chih-Wei Huang [Wed, 20 Jan 2010 03:40:33 +0000 (11:40 +0800)]
Fix bugs in AudioStreamInALSA::close() and AudioStreamOutALSA::close()
The methods should call the parent method ALSAStreamOps::close(),
not call itself, which is an infinite recursive loop.
Sean McNeil [Wed, 9 Dec 2009 12:14:04 +0000 (19:14 +0700)]
Revert to named devices of AndroidPlayback/AndroidCapture for backwards compatability. Use appropriate devicePrefix - Michael Trimarchi
Sean McNeil [Wed, 2 Dec 2009 20:35:48 +0000 (03:35 +0700)]
Write correct number of bytes per attempt.
Sean McNeil [Wed, 2 Dec 2009 16:06:34 +0000 (23:06 +0700)]
Eclair ALSA version including new ALSA module mechanism.
Sean McNeil [Fri, 14 Aug 2009 18:23:55 +0000 (01:23 +0700)]
Remove undef for FM routing now that it is a build option.
Sean McNeil [Fri, 14 Aug 2009 17:50:19 +0000 (00:50 +0700)]
bufferSize must be a power of 2.
Close audio interface on standby.
Clean up interface classes.
Sean McNeil [Tue, 11 Aug 2009 22:59:27 +0000 (05:59 +0700)]
Add new argument to openInputStream introduced in Donut.
Sean McNeil [Mon, 10 Aug 2009 23:28:08 +0000 (06:28 +0700)]
Fix underrun issues. Change scope of locks.
Sean McNeil [Mon, 10 Aug 2009 23:27:22 +0000 (06:27 +0700)]
Add header
Sean McNeil [Thu, 9 Jul 2009 05:07:29 +0000 (12:07 +0700)]
Updates to add acoustics plugin and move lock to parent class.
Sean McNeil [Wed, 15 Apr 2009 23:07:30 +0000 (06:07 +0700)]
Add new generic ALSA control interface
Sean McNeil [Sat, 4 Apr 2009 19:03:35 +0000 (02:03 +0700)]
Call with appropriate parameters to setDevice
Put back missing return.
Sean McNeil [Thu, 26 Feb 2009 04:54:15 +0000 (11:54 +0700)]
Run through bcpp program to eliminate tabs and cleanup format.
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.
Xiaopeng Yang [Thu, 20 Nov 2008 02:39:50 +0000 (10:39 +0800)]
Initial Contribution
Xiaopeng Yang [Wed, 19 Nov 2008 08:33:20 +0000 (16:33 +0800)]
Template files from frameworks/base/libs/audioflinger