comparison src/cdrom/macosx/CDPlayer.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents dc6b59e925a2
children 4da1ee79c9af
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
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: */