comparison src/cdrom/macosx/AudioFilePlayer.c @ 1793:4d66375c2012

Date: Mon, 8 May 2006 14:19:30 -0700 From: Bob Ippolito Subject: SDL trunk (r2346) and Mac OS X As for all the Carbon warnings.. the two File Manager ones should be easy to get rid of, the QuickDraw ones won't be so easy since that requires actual refactoring. PBUnmountVol -> FSEjectVolumeSync FSClose -> FSCloseFork
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 07:52:04 +0000
parents dc6b59e925a2
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1792:409974dedf2e 1793:4d66375c2012
151 delete_AudioFileManager(afp->mAudioFileManager); 151 delete_AudioFileManager(afp->mAudioFileManager);
152 afp->mAudioFileManager = 0; 152 afp->mAudioFileManager = 0;
153 } 153 }
154 154
155 if (afp->mForkRefNum) { 155 if (afp->mForkRefNum) {
156 FSClose (afp->mForkRefNum); 156 FSCloseFork (afp->mForkRefNum);
157 afp->mForkRefNum = 0; 157 afp->mForkRefNum = 0;
158 } 158 }
159 SDL_free(afp); 159 SDL_free(afp);
160 } 160 }
161 } 161 }