mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
manager: no need to call .get() on shared_ptr
This commit is contained in:
@ -2127,7 +2127,7 @@ bool ManagerImpl::startRecordedFilePlayback(const std::string& filepath)
|
||||
|
||||
try {
|
||||
audiofile_.reset(new WaveFile(filepath, sampleRate));
|
||||
audiofile_.get()->setIsRecording(true);
|
||||
audiofile_->setIsRecording(true);
|
||||
} catch (const AudioFileException &e) {
|
||||
ERROR("Exception: %s", e.what());
|
||||
}
|
||||
|
Reference in New Issue
Block a user