Added SDL prefix AUDIO_* constants

This commit is contained in:
Brick 2023-05-02 13:00:28 +01:00 committed by Sam Lantinga
parent 1ee2832326
commit 079ae065f1
35 changed files with 327 additions and 227 deletions

View file

@ -180,7 +180,7 @@ int main(int argc, char *argv[])
}
spec.freq = SAMPLE_RATE_HZ;
spec.format = AUDIO_S16SYS;
spec.format = SDL_AUDIO_S16SYS;
spec.samples = 4096;
spec.callback = fill_buffer;