mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 18:38:30 +01:00
Slight fix to the audio sink
This commit is contained in:
parent
da8614438c
commit
b327bfbe5d
@ -167,10 +167,9 @@ private:
|
||||
opts.flags = RTAUDIO_MINIMIZE_LATENCY;
|
||||
opts.streamName = _streamName;
|
||||
|
||||
stereoPacker.setSampleCount(bufferFrames);
|
||||
|
||||
try {
|
||||
audio.openStream(¶meters, NULL, RTAUDIO_FLOAT32, sampleRate, &bufferFrames, &callback, this, &opts);
|
||||
stereoPacker.setSampleCount(bufferFrames);
|
||||
audio.startStream();
|
||||
stereoPacker.start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user