Skip to content

Commit

Permalink
weird hangup issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Feb 1, 2023
1 parent c3aa267 commit 3a8e6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QtPlayer/portaudioplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bool PortAudioPlayer::Open(int bytesPerSample, int channels, int* samplesPerSec)
{
PaStreamParameters params{};
params.device = Pa_GetDefaultOutputDevice();
params.suggestedLatency = Pa_GetDeviceInfo(params.device)->defaultHighOutputLatency;
params.suggestedLatency = Pa_GetDeviceInfo(params.device)->defaultLowOutputLatency;
params.channelCount = channels;

switch (bytesPerSample)
Expand Down

0 comments on commit 3a8e6a3

Please sign in to comment.