mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Removed extraneous logging.
This commit is contained in:
parent
51f1337d6f
commit
15f445fad1
@ -131,7 +131,6 @@ SndioOut::SndioOut() {
|
||||
|
||||
SndioOut::~SndioOut() {
|
||||
this->PushCommand(Command::Quit);
|
||||
|
||||
INFO("joining thread")
|
||||
this->writeThread->join();
|
||||
INFO("thread finished")
|
||||
@ -142,13 +141,13 @@ void SndioOut::Release() {
|
||||
}
|
||||
|
||||
void SndioOut::PushCommand(Command command) {
|
||||
INFO("PushCommand.start")
|
||||
//INFO("PushCommand.start")
|
||||
{
|
||||
LOCK()
|
||||
commands.push_back(command);
|
||||
}
|
||||
NOTIFY()
|
||||
INFO("PushCommand.end")
|
||||
//INFO("PushCommand.end")
|
||||
}
|
||||
|
||||
void SndioOut::Pause() {
|
||||
@ -252,9 +251,9 @@ void SndioOut::WriteLoop() {
|
||||
while (!quit && !this->commands.size() &&
|
||||
(this->state != StatePlaying || !this->buffers.size()))
|
||||
{
|
||||
INFO("waiting")
|
||||
//INFO("waiting")
|
||||
WAIT()
|
||||
INFO("done waiting")
|
||||
//INFO("done waiting")
|
||||
}
|
||||
|
||||
if (quit) {
|
||||
@ -309,8 +308,8 @@ void SndioOut::WriteLoop() {
|
||||
this->buffers.pop_front();
|
||||
}
|
||||
else {
|
||||
INFO(std::string("state=") + std::to_string((int) this->state));
|
||||
INFO(std::string("count=") + std::to_string((int) this->buffers.size()));
|
||||
//INFO(std::string("state=") + std::to_string((int) this->state));
|
||||
//INFO(std::string("count=") + std::to_string((int) this->buffers.size()));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user