mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-22 08:52:17 -05:00
Merge branch 'master' of https://gitlab.com/drummyfish/sucklessfps
This commit is contained in:
commit
b177973a96
@ -278,8 +278,9 @@ int main(int argc, char *argv[])
|
|||||||
audioSpec.freq = 8000;
|
audioSpec.freq = 8000;
|
||||||
audioSpec.format = AUDIO_U8;
|
audioSpec.format = AUDIO_U8;
|
||||||
audioSpec.channels = 1;
|
audioSpec.channels = 1;
|
||||||
|
audioSpec.samples = 128;
|
||||||
|
|
||||||
if (SDL_OpenAudio(&audioSpec, NULL) < 0)
|
if (SDL_OpenAudio(&audioSpec,0) < 0)
|
||||||
printf("SDL: could not initialize audio\n");
|
printf("SDL: could not initialize audio\n");
|
||||||
|
|
||||||
for (int i = 0; i < SFG_SFX_SAMPLE_COUNT; ++i)
|
for (int i = 0; i < SFG_SFX_SAMPLE_COUNT; ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user