mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 08:09:35 +02:00
stream is shared_ptr
This commit is contained in:
parent
0c5646679e
commit
3fe88b7440
10 changed files with 17 additions and 17 deletions
|
@ -37,7 +37,7 @@
|
|||
class CoreAudioPlayer : public Player
|
||||
{
|
||||
public:
|
||||
CoreAudioPlayer(const PcmDevice& pcmDevice, Stream* stream);
|
||||
CoreAudioPlayer(const PcmDevice& pcmDevice, std::shared_ptr<Stream> stream);
|
||||
virtual ~CoreAudioPlayer();
|
||||
|
||||
void playerCallback(AudioQueueRef queue, AudioQueueBufferRef bufferRef);
|
||||
|
@ -49,7 +49,7 @@ protected:
|
|||
size_t ms_;
|
||||
size_t frames_;
|
||||
size_t buff_size_;
|
||||
Stream* pubStream_;
|
||||
std::shared_ptr<Stream> pubStream_;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue