Fix typo in assertion in sdl_audio test.
This commit is contained in:
Родитель
6af2bf8ab0
Коммит
57ccb241f3
1
AUTHORS
1
AUTHORS
|
@ -167,4 +167,5 @@ a license to everyone to use it as detailed in LICENSE.)
|
|||
* Eric Rannaud <e@nanocritical.com> (copyright owned by Nanocritical Corp.)
|
||||
* William Furr <william.furr@gmail.com>
|
||||
* Dan Glastonbury <dglastonbury@mozilla.com> (copyright owned by Mozilla Foundation)
|
||||
* Warren Seine <warren.seine@aerys.in> (copyright owned by Aerys SAS)
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
sound = Mix_LoadWAV("sound.ogg");
|
||||
assert(sound);
|
||||
|
||||
|
||||
{
|
||||
struct stat info;
|
||||
int result = stat("noise.ogg", &info);
|
||||
|
@ -65,7 +65,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
|
||||
sound2 = Mix_LoadWAV("sound2.wav");
|
||||
assert(sound);
|
||||
assert(sound2);
|
||||
|
||||
int channel = play();
|
||||
printf( "Pausing Channel %d", channel );
|
||||
|
@ -90,4 +90,3 @@ int main(int argc, char **argv) {
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче