mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-13 08:11:44 +02:00
Fix crash while calling Stream.RemoveStream
This commit is contained in:
parent
61bda79158
commit
780d8f3f1a
6 changed files with 20 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -100,7 +100,7 @@ static constexpr auto kControlScriptParams = "controlscriptparams";
|
|||
* Implements EncoderListener to get the encoded data.
|
||||
* Data is passed to the PcmStream::Listener
|
||||
*/
|
||||
class PcmStream
|
||||
class PcmStream : public std::enable_shared_from_this<PcmStream>
|
||||
{
|
||||
public:
|
||||
/// Callback interface for users of PcmStream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue