AudioFlinger: Remove conditional effect types
We no longer conditionally compile integer effects.
Test: Compile and check that libaudioflinger.so size does not change.
Bug: 284009360
Merged-In: Ib67fc35ac15858533634b6dc942d5bd8f40574c0
Change-Id: Ib67fc35ac15858533634b6dc942d5bd8f40574c0
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index 0094a9f..45a4a95 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -1002,8 +1002,8 @@
status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames);
// Consider also removing and passing an explicit mMainBuffer initialization
// parameter to AF::PlaybackThread::Track::Track().
- effect_buffer_t *sinkBuffer() const {
- return reinterpret_cast<effect_buffer_t *>(mSinkBuffer); };
+ float *sinkBuffer() const {
+ return reinterpret_cast<float *>(mSinkBuffer); };
virtual void detachAuxEffect_l(int effectId);
status_t attachAuxEffect(const sp<AudioFlinger::PlaybackThread::Track>& track,