summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-20 10:23:28 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-21 10:19:25 -0800
commitf66b42242342017c26eb97de544dae31dd2537ca (patch)
treeb993ea0b4b7726176de097093f3311037d1f66b8 /services/audioflinger/AudioFlinger.h
parent56df9ff31d583ad3eae4f279a3df550273c58e1e (diff)
downloadframeworks_av-f66b42242342017c26eb97de544dae31dd2537ca.zip
frameworks_av-f66b42242342017c26eb97de544dae31dd2537ca.tar.gz
frameworks_av-f66b42242342017c26eb97de544dae31dd2537ca.tar.bz2
Make tee sink work again
It was broken by this earlier change to NBAIO: > Change-Id: I5eda412648b094358f5eefc38300e9ec8a734cd3 But the code was not being compiled, so the error was not caught earlier. Also increase the default size of per-track pipe to a reasonable value. Change-Id: Ica05017e6c6533e1fea9df379a9b204eebed4a1f
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 4799beb..e7d1483 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -638,7 +638,7 @@ public:
// 0x200000 stereo 16-bit PCM frames = 47.5 seconds at 44.1 kHz, 8 megabytes
static const size_t kTeeSinkInputFramesDefault = 0x200000;
static const size_t kTeeSinkOutputFramesDefault = 0x200000;
- static const size_t kTeeSinkTrackFramesDefault = 0x1000;
+ static const size_t kTeeSinkTrackFramesDefault = 0x200000;
#endif
// This method reads from a variable without mLock, but the variable is updated under mLock. So