summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixerState.h
Commit message (Collapse)AuthorAgeFilesLines
* Pull out commandToString() from FastMixerDumpState.cppGlenn Kasten2015-03-031-0/+3
| | | | | | to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp Change-Id: I872efb211e8a0335c42906367859d3674340e374
* Merge "Add format parameter to getTrackName() and track_t"Andy Hung2014-05-231-0/+1
|\
| * Add format parameter to getTrackName() and track_tAndy Hung2014-05-191-0/+1
| | | | | | | | | | Change-Id: Ia152a839014e235fbfb656104c15d7c1b456d02e Signed-off-by: Andy Hung <hunga@google.com>
* | Pass stereo gains as packed minifloatGlenn Kasten2014-05-191-3/+3
|/ | | | | | | | | | This will allow (eventually) a greater dynamic range for gains. However there are still a few remaining places in effects and mixer that will also need to be changed in order to get the full benefit. Also fixes a minor bug: was not checking for NaN in AudioTrack C++. Change-Id: I63bce9e82e0a61546d8ff475fb94bcb700d99c96
* Start pulling bits of FastMixer up to FastThreadGlenn Kasten2014-04-281-1/+0
| | | | Change-Id: I4c6f7b8f88fcf107bb29ee6432feecd4ab6554d2
* FastMixer use FastThread and FastMixerState use FastThreadStateGlenn Kasten2014-03-311-12/+7
| | | | Change-Id: I594c973e9f575113bdefee6f4cf8c29d8beac1f3
* AudioFlinger: Remove code for supporting resampling in fast tracksMartin Storsjo2014-02-051-1/+0
| | | | | | This isn't used at the moment. Change-Id: I4e0fb2af5f7d959dbafd5ddb7defa1c6b8e8636a
* AudioFlinger uses media.log service for loggingGlenn Kasten2013-01-311-0/+2
| | | | Change-Id: Ia0f8204334f6b233f644d897762a18c95d936b4b
* Move libnbaio out of AudioFlingerGlenn Kasten2012-08-301-2/+2
| | | | | | | | | | libnbaio is now a separate shared library from AudioFlinger, rather than a static library used only by AudioFlinger. AudioBufferProvider interface is now also independent of AudioFlinger, moved to include/media/ Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b
* Keep a copy of most recent audio playedGlenn Kasten2012-05-211-0/+1
| | | | Change-Id: I6b2f97881c39998a2fae9ab79d669af6c0a37e94
* Fix race condition for non-started fast tracksGlenn Kasten2012-04-301-3/+3
| | | | | | | | | | | | | | | | | | | | | This required re-implementing how fast tracks are considered active. Now, they use the same logic as normal tracks, except underrun is ignored. Other changes: - add framesReady() to AudioBufferProvider interface - rebased - add track underrun counter state to fast mixer dump state - move dumpsys header to Track::appendDumpHeader() so it closer to where tracks are dumped - display track state in dumpsys as a character code - measure and display warmup time and cycles in dumpsys - copy in the presentation complete code - add ExtendedAudioBufferProvider for framesReady() which returns size_t - simplify underrun tracking - deferred reset track after stop() - add comments Change-Id: I7db8821bc565230ec76da1f9380fe3fb09735e5b
* FastMixer updateGlenn Kasten2012-04-201-0/+3
| | | | | | | | | | Updates: - Add support for mono fast tracks - Add support for optional sample rate conversion on fast tracks - Log sample rate and frame count - Enable statistics Change-Id: Ife014edf4f452da361f3eaaae19209ef6ff6958b
* Fast mixerGlenn Kasten2012-04-181-0/+80
Change-Id: I61552f83507e08e4c706076b9fb15362869e6265