comparison src/cdrom/macosx/AudioFilePlayer.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents c121d94672cb
children 99210400e8b9
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
309 if (result) 309 if (result)
310 return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSReadFork") */ 310 return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): FSReadFork") */
311 311
312 /* Skip the chunk data */ 312 /* Skip the chunk data */
313 offset = chunk.ckSize; 313 offset = chunk.ckSize;
314 } 314 } while (chunk.ckID != 'SSND');
315 while (chunk.ckID != 'SSND');
316 315
317 /* Read the header of the SSND chunk. After this, we are positioned right 316 /* Read the header of the SSND chunk. After this, we are positioned right
318 at the start of the audio data. */ 317 at the start of the audio data. */
319 result = 318 result =
320 FSReadFork(afp->mForkRefNum, fsAtMark, 0, sizeof(ssndData), 319 FSReadFork(afp->mForkRefNum, fsAtMark, 0, sizeof(ssndData),