Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d612516 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Revert "Fix Audioflinger crash when TeeSink is enabled"

This reverts commit 84e39168.

Bug: 8834855
Change-Id: I8211ef5ea5d87d97ada115723df31c8057f38ca8
parent 153b9fe6
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -594,12 +594,11 @@ private:
    status_t    closeOutput_nonvirtual(audio_io_handle_t output);
    status_t    closeOutput_nonvirtual(audio_io_handle_t output);
    status_t    closeInput_nonvirtual(audio_io_handle_t input);
    status_t    closeInput_nonvirtual(audio_io_handle_t input);


// do not use #ifdef here, since AudioFlinger.h is included by more than one module
#ifdef TEE_SINK
//#ifdef TEE_SINK
    // all record threads serially share a common tee sink, which is re-created on format change
    // all record threads serially share a common tee sink, which is re-created on format change
    sp<NBAIO_Sink>   mRecordTeeSink;
    sp<NBAIO_Sink>   mRecordTeeSink;
    sp<NBAIO_Source> mRecordTeeSource;
    sp<NBAIO_Source> mRecordTeeSource;
//#endif
#endif


public:
public: