Mercurial > sdl-ios-xcode
comparison src/cdrom/macosx/CDPlayer.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | dc6b59e925a2 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
33 #include "SDL.h" | 33 #include "SDL.h" |
34 #include "SDL_thread.h" | 34 #include "SDL_thread.h" |
35 #include "SDL_mutex.h" | 35 #include "SDL_mutex.h" |
36 | 36 |
37 #ifdef __cplusplus | 37 #ifdef __cplusplus |
38 extern "C" { | 38 extern "C" |
39 { | |
39 #endif | 40 #endif |
40 | 41 |
41 typedef void (*CDPlayerCompletionProc)(SDL_CD *cdrom) ; | 42 typedef void (*CDPlayerCompletionProc) (SDL_CD * cdrom); |
42 | 43 |
43 void Lock (); | 44 void Lock(); |
44 | 45 |
45 void Unlock(); | 46 void Unlock(); |
46 | 47 |
47 int LoadFile (const FSRef *ref, int startFrame, int endFrame); /* pass -1 to do nothing */ | 48 int LoadFile(const FSRef * ref, int startFrame, int endFrame); /* pass -1 to do nothing */ |
48 | 49 |
49 int ReleaseFile (); | 50 int ReleaseFile(); |
50 | 51 |
51 int PlayFile (); | 52 int PlayFile(); |
52 | 53 |
53 int PauseFile (); | 54 int PauseFile(); |
54 | 55 |
55 void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom); | 56 void SetCompletionProc(CDPlayerCompletionProc proc, SDL_CD * cdrom); |
56 | 57 |
57 int ReadTOCData (FSVolumeRefNum theVolume, SDL_CD *theCD); | 58 int ReadTOCData(FSVolumeRefNum theVolume, SDL_CD * theCD); |
58 | 59 |
59 int ListTrackFiles (FSVolumeRefNum theVolume, FSRef *trackFiles, int numTracks); | 60 int ListTrackFiles(FSVolumeRefNum theVolume, FSRef * trackFiles, |
61 int numTracks); | |
60 | 62 |
61 int DetectAudioCDVolumes (FSVolumeRefNum *volumes, int numVolumes); | 63 int DetectAudioCDVolumes(FSVolumeRefNum * volumes, int numVolumes); |
62 | 64 |
63 int GetCurrentFrame (); | 65 int GetCurrentFrame(); |
64 | 66 |
65 #ifdef __cplusplus | 67 #ifdef __cplusplus |
66 }; | 68 }; |
67 #endif | 69 #endif |
68 | 70 |
69 #endif /* __CD_Player__H__ */ | 71 #endif /* __CD_Player__H__ */ |
72 /* vi: set ts=4 sw=4 expandtab: */ |