Declare the playerThreadProc prototype -- this should fix the clang

compile.
This commit is contained in:
casey langen 2016-12-02 09:40:33 -08:00
parent b2e90b8d72
commit 94f0fb1653

View File

@ -60,6 +60,8 @@ static float* hammingWindow = nullptr;
namespace musik {
namespace core {
namespace audio {
static void playerThreadLoop(Player* player);
struct FftContext {
FftContext() {
samples = 0;
@ -184,9 +186,7 @@ int Player::State() {
return this->state;
}
namespace musik { namespace core { namespace audio {
void playerThreadLoop(Player* player) {
static void musik::core::audio::playerThreadLoop(Player* player) {
player->stream = Stream::Create();
BufferPtr buffer;
@ -334,7 +334,6 @@ namespace musik { namespace core { namespace audio {
delete player;
}
} } }
void Player::ReleaseAllBuffers() {
std::unique_lock<std::mutex> lock(this->queueMutex);