src/cdrom/macosx/AudioFilePlayer.c
changeset 2735 204be4fc2726
parent 1895 c121d94672cb
child 2859 99210400e8b9
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),