Mercurial > SDL_sound_CoreAudio
comparison decoders/wav.c @ 40:c15396fc0e55
Fixed incorrect comment, by Torbj�rn Andersson. :)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 20 Sep 2001 07:57:52 +0000 |
parents | 102cf61c0816 |
children | ea58bc3b15d7 |
comparison
equal
deleted
inserted
replaced
39:eeb874083218 | 40:c15396fc0e55 |
---|---|
156 if (SDL_RWread(rw, &data->chunkSize, sizeof (data->chunkSize), 1) != 1) | 156 if (SDL_RWread(rw, &data->chunkSize, sizeof (data->chunkSize), 1) != 1) |
157 return(0); | 157 return(0); |
158 data->chunkSize = SDL_SwapLE32(data->chunkSize); | 158 data->chunkSize = SDL_SwapLE32(data->chunkSize); |
159 | 159 |
160 return(1); | 160 return(1); |
161 } /* read_fmt_chunk */ | 161 } /* read_data_chunk */ |
162 | 162 |
163 | 163 |
164 static int find_chunk(SDL_RWops *rw, Uint32 id) | 164 static int find_chunk(SDL_RWops *rw, Uint32 id) |
165 { | 165 { |
166 Sint32 siz = 0; | 166 Sint32 siz = 0; |