Pass encoded chunks as shared_ptr

This commit is contained in:
badaix 2020-02-29 21:48:12 +01:00
parent d9d403d729
commit 63ad64dfff
10 changed files with 15 additions and 21 deletions

View file

@ -51,7 +51,7 @@ protected:
FLAC__int32* pcmBuffer_;
int pcmBufferSize_;
msg::PcmChunk* flacChunk_;
std::shared_ptr<msg::PcmChunk> flacChunk_;
size_t encodedSamples_;
};