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

Commit 831a0055 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix Audioflinger crash when TeeSink is enabled

Bug: 8834855
Change-Id: I54665f16d79901970348a8247d9a354da2990f42
parent 1a95a727
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -588,11 +588,12 @@ private:
    status_t    closeOutput_nonvirtual(audio_io_handle_t output);
    status_t    closeInput_nonvirtual(audio_io_handle_t input);

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

public: