Mercurial > almixer_isolated
comparison EXAMPLES/playsound.c @ 11:eca6f008fad0
Shouldn't be enabling data callbacks for the example since they aren't used.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Tue, 02 Nov 2010 13:32:29 -0700 |
parents | ee50db043251 |
children | b1e13d5688d1 |
comparison
equal
deleted
inserted
replaced
10:c808684660a7 | 11:eca6f008fad0 |
---|---|
48 | 48 |
49 ALmixer_Init(22050, 0, 0); | 49 ALmixer_Init(22050, 0, 0); |
50 | 50 |
51 for(i=1; i<argc; i++) | 51 for(i=1; i<argc; i++) |
52 { | 52 { |
53 if(!(audio_data[i-1]=ALmixer_LoadAll( argv[i], AL_TRUE) )) | 53 if(!(audio_data[i-1]=ALmixer_LoadAll( argv[i], AL_FALSE) )) |
54 { | 54 { |
55 printf("%s. Quiting program.\n", ALmixer_GetError()); | 55 printf("%s. Quiting program.\n", ALmixer_GetError()); |
56 exit(0); | 56 exit(0); |
57 } | 57 } |
58 } | 58 } |