diff options
author | Andy Hung <hunga@google.com> | 2015-04-20 13:23:41 -0700 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2015-04-22 12:42:52 -0700 |
commit | d330ee46022f34da76d14d0c4d2910526ecc2321 (patch) | |
tree | 05df908a6cd115a92eb1e15a2daa191c14a441b2 /services/audioflinger/AudioFlinger.h | |
parent | f27e2fbfc3284c00a60fa68edc51d436f75b1e32 (diff) | |
download | frameworks_av-d330ee46022f34da76d14d0c4d2910526ecc2321.zip frameworks_av-d330ee46022f34da76d14d0c4d2910526ecc2321.tar.gz frameworks_av-d330ee46022f34da76d14d0c4d2910526ecc2321.tar.bz2 |
Add floating and multichannel record to AudioFlinger
Change-Id: Ia388fb012a0b6d81613ef87142a97d76836338f9
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index c7d9161..e1ddcbc 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -73,18 +73,18 @@ class AudioMixer; class AudioBuffer; class AudioResampler; class FastMixer; +class PassthruBufferProvider; class ServerProxy; // ---------------------------------------------------------------------------- -// AudioFlinger has a hard-coded upper limit of 2 channels for capture and playback. -// There is support for > 2 channel tracks down-mixed to 2 channel output via a down-mix effect. -// Adding full support for > 2 channel capture or playback would require more than simply changing -// this #define. There is an independent hard-coded upper limit in AudioMixer; -// removing that AudioMixer limit would be necessary but insufficient to support > 2 channels. -// The macro FCC_2 highlights some (but not all) places where there is are 2-channel assumptions. +// The macro FCC_2 highlights some (but not all) places where there are are 2-channel assumptions. +// This is typically due to legacy implementation of stereo input or output. // Search also for "2", "left", "right", "[0]", "[1]", ">> 16", "<< 16", etc. #define FCC_2 2 // FCC_2 = Fixed Channel Count 2 +// The macro FCC_8 highlights places where there are 8-channel assumptions. +// This is typically due to audio mixer and resampler limitations. +#define FCC_8 8 // FCC_8 = Fixed Channel Count 8 static const nsecs_t kDefaultStandbyTimeInNsecs = seconds(3); |