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

Commit 106fbe30 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android Git Automerger
Browse files

am 7fd56aba: am 831a0055: Fix Audioflinger crash when TeeSink is enabled

* commit '7fd56aba':
  Fix Audioflinger crash when TeeSink is enabled
parents 81243ade 7fd56aba
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: