Skip to content

Commit

Permalink
Revert to use pulse
Browse files Browse the repository at this point in the history
  • Loading branch information
f1xpl committed Mar 25, 2018
1 parent f9692b7 commit b550104
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/autoapp/Projection/RtAudioOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ bool RtAudioOutput::open()
try
{
RtAudio::StreamOptions streamOptions;
streamOptions.numberOfBuffers = 1;
streamOptions.flags = RTAUDIO_MINIMIZE_LATENCY | RTAUDIO_SCHEDULE_REALTIME;
uint32_t bufferFrames = 64;
uint32_t bufferFrames = 256;
dac_->openStream(&parameters, nullptr, RTAUDIO_SINT16, sampleRate_, &bufferFrames, &RtAudioOutput::audioBufferReadHandler, static_cast<void*>(this), &streamOptions);
return audioBuffer_.open(QIODevice::ReadWrite);
}
Expand Down

0 comments on commit b550104

Please sign in to comment.