Add BASSOPUS support
Nothing will happen if you do not have the DLL. Sample rate was changed to 48 kHz as Opus only supports 48 kHz audio, and pretty much all sound cards support 48 kHz.
This commit is contained in:
parent
b214ca87c7
commit
28decf8dbf
@ -18,7 +18,8 @@ Courtroom::Courtroom(AOApplication *p_ao_app) : QMainWindow()
|
||||
ao_app = p_ao_app;
|
||||
|
||||
//initializing sound device
|
||||
BASS_Init(-1, 44100, BASS_DEVICE_LATENCY, 0, NULL);
|
||||
BASS_Init(-1, 48000, BASS_DEVICE_LATENCY, 0, NULL);
|
||||
BASS_PluginLoad("bassopus.dll", BASS_UNICODE);
|
||||
|
||||
keepalive_timer = new QTimer(this);
|
||||
keepalive_timer->start(60000);
|
||||
|
Loading…
Reference in New Issue
Block a user