2
0
mirror of https://github.com/arnavbhatt288/sdl-2.30.3-kolibri.git synced 2025-01-04 19:35:58 +01:00

another change for audio subsystem

This commit is contained in:
Arnav Bhatt 2024-08-23 14:37:18 +05:30
parent e071023d05
commit e5c5ff3edf
No known key found for this signature in database
GPG Key ID: 2F49C4D36103865D

View File

@ -134,7 +134,7 @@ static int KOLIBRIAUDIO_OpenDevice(_THIS, const char *devname)
private->used_format = PCM_2_16_48; private->used_format = PCM_2_16_48;
_this->spec.freq = 48000; _this->spec.freq = 48000;
_this->spec.format = AUDIO_S16SYS; _this->spec.format = AUDIO_S16LSB;
_this->spec.channels = 2; _this->spec.channels = 2;
SDL_CalculateAudioSpec(&_this->spec); SDL_CalculateAudioSpec(&_this->spec);