Mercurial > SDL_sound_CoreAudio
comparison decoders/skeleton.c @ 21:d9b9d60cf9a9
Added some helpful info to FMT_open()...
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 19 Sep 2001 08:30:46 +0000 |
parents | 3efbcaf36fec |
children | ea58bc3b15d7 |
comparison
equal
deleted
inserted
replaced
20:d4ac6ce1360e | 21:d9b9d60cf9a9 |
---|---|
62 }; | 62 }; |
63 | 63 |
64 | 64 |
65 static int FMT_open(Sound_Sample *sample, const char *ext) | 65 static int FMT_open(Sound_Sample *sample, const char *ext) |
66 { | 66 { |
67 Sound_SampleInternal *internal = (Sound_SampleInternal *) sample->opaque; | |
68 SDL_RWops *rw = internal->rw; | |
69 | |
67 if (can NOT accept the data) | 70 if (can NOT accept the data) |
68 { | 71 { |
69 Sound_SetError("FMT: expected X, got Y."); | 72 Sound_SetError("FMT: expected X, got Y."); |
70 return(0); | 73 return(0); |
71 } /* if */ | 74 } /* if */ |