mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
push before merge
This commit is contained in:
@ -36,7 +36,6 @@ public:
|
||||
stereoRB.init(_stream->sinkOut);
|
||||
|
||||
// Initialize PortAudio
|
||||
Pa_Initialize();
|
||||
devCount = Pa_GetDeviceCount();
|
||||
devId = Pa_GetDefaultOutputDevice();
|
||||
const PaDeviceInfo *deviceInfo;
|
||||
@ -239,11 +238,14 @@ public:
|
||||
this->name = name;
|
||||
provider.create = create_sink;
|
||||
provider.ctx = this;
|
||||
|
||||
Pa_Initialize();
|
||||
|
||||
sigpath::sinkManager.registerSinkProvider("Audio", provider);
|
||||
}
|
||||
|
||||
~AudioSinkModule() {
|
||||
|
||||
Pa_Terminate();
|
||||
}
|
||||
|
||||
void enable() {
|
||||
|
Reference in New Issue
Block a user