Add player namespace and player name constants

This commit is contained in:
badaix 2020-12-31 18:29:26 +01:00
parent f254d59832
commit c880ae2e62
20 changed files with 140 additions and 50 deletions

View file

@ -19,6 +19,9 @@
#include "coreaudio_player.hpp"
#include <CoreAudio/CoreAudio.h>
namespace player
{
#define NUM_BUFFERS 2
static constexpr auto LOG_TAG = "CoreAudioPlayer";
@ -210,3 +213,5 @@ void CoreAudioPlayer::uninitAudioQueue(AudioQueueRef queue)
pubStream_->clearChunks();
CFRunLoopStop(CFRunLoopGetCurrent());
}
} // namespace player