mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-27 03:18: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.flags = RTAUDIO_MINIMIZE_LATENCY;
|
||||||
opts.streamName = _streamName;
|
opts.streamName = _streamName;
|
||||||
|
|
||||||
stereoPacker.setSampleCount(bufferFrames);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
audio.openStream(¶meters, NULL, RTAUDIO_FLOAT32, sampleRate, &bufferFrames, &callback, this, &opts);
|
audio.openStream(¶meters, NULL, RTAUDIO_FLOAT32, sampleRate, &bufferFrames, &callback, this, &opts);
|
||||||
|
stereoPacker.setSampleCount(bufferFrames);
|
||||||
audio.startStream();
|
audio.startStream();
|
||||||
stereoPacker.start();
|
stereoPacker.start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user