Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Oct 14, 2024
1 parent 9b6893c commit b27e8b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tlTimeline/PlayerAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ namespace tl
nullptr,
rtAudioErrorCallback);
audioInfo.sampleRate = rtAudio->getStreamSampleRate();
{
std::stringstream ss;
ss << "Audio device sample rate: " << audioInfo.sampleRate;
context->log("tl::timeline::Player", ss.str());
}
rtAudio->startStream();
}
catch (const std::exception& e)
Expand Down

0 comments on commit b27e8b8

Please sign in to comment.