Ozkan Sezer
a3d7913c07
SDL_os2audio.c (OS2_OpenDevice): change spec->samples assignment:
...
Original code assigned MCIMixSetup.ulSamplesPerSec value to it, but it
is just the freq... We now change spec->samples only either if it is 0
or we changed the frequency, by picking a default of ~46 ms at desired
frequency (code taken from SDL_audio.c:prepare_audiospec()).
With this, the crashes I have been experiencing are gone.
2020-10-14 23:01:05 +03:00
..
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-06-04 12:26:57 -07:00
2020-01-16 20:49:25 -08:00
2020-04-07 09:38:57 -07:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-04-07 09:38:57 -07:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-09-19 14:01:57 -04:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-04-05 10:44:51 -07:00
2020-02-13 16:10:52 -08:00
2020-10-14 23:01:05 +03:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-05-03 22:13:48 -04:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-05-20 16:58:33 -04:00
2020-01-16 20:49:25 -08:00
2020-01-21 15:49:37 -05:00
2020-02-11 16:14:02 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-10-06 11:07:50 -04:00
2020-01-16 20:49:25 -08:00