mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] audio capture supported on Linux
This commit is contained in:
@@ -509,7 +509,8 @@ int Render::CreateConnectionPeer() {
|
||||
|
||||
int Render::AudioDeviceInit() {
|
||||
// Audio
|
||||
SDL_AudioSpec want_in, want_out;
|
||||
SDL_AudioSpec want_in = {};
|
||||
SDL_AudioSpec want_out = {};
|
||||
SDL_zero(want_in);
|
||||
want_in.freq = 48000;
|
||||
want_in.format = AUDIO_S16LSB;
|
||||
|
||||
Reference in New Issue
Block a user