# HG changeset patch # User Sam Lantinga # Date 1229171668 0 # Node ID eec7adc3d1c53ec1a1f400dc95b0154e96e8ac9c # Parent e532417a69773659dbc6f2039f96ecb67edf0082 Updated test for API changes diff -r e532417a6977 -r eec7adc3d1c5 test/testmultiaudio.c --- a/test/testmultiaudio.c Sat Dec 13 06:36:47 2008 +0000 +++ b/test/testmultiaudio.c Sat Dec 13 12:34:28 2008 +0000 @@ -53,7 +53,7 @@ SDL_memset(&cbd[0], '\0', sizeof(callback_data)); spec.userdata = &cbd[0]; - cbd[0].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL); + cbd[0].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL, 0); if (cbd[0].dev == 0) { printf("Open device failed: %s\n", SDL_GetError()); } else { @@ -72,7 +72,7 @@ for (i = 0; i < devcount; i++) { const char *devname = SDL_GetAudioDeviceName(i, 0); spec.userdata = &cbd[i]; - cbd[i].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL); + cbd[i].dev = SDL_OpenAudioDevice(devname, 0, &spec, NULL, 0); if (cbd[i].dev == 0) { printf("Open device %d failed: %s\n", i, SDL_GetError()); }