-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcd.h
More file actions
33 lines (28 loc) · 683 Bytes
/
cd.h
File metadata and controls
33 lines (28 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* cd.h
*
* CDROM interface
*/
/* $Id: cd.h,v 1.3 2000/08/20 01:25:28 nyef Exp $ */
#ifndef CD_H
#define CD_H
void cd_set_sector_address(u32 sector);
void cd_read_next_sector(u8 *buf);
void cd_get_tocheader(u8 *start_track, u8 *stop_track);
void cd_get_tocentry(u8 track, u32 *lba, u8 *flags);
void cd_play_lba(u32 from, u32 to, int repeat);
void cd_play_track(u8 track);
void cd_init(void);
#endif /* CD_H */
/*
* $Log: cd.h,v $
* Revision 1.3 2000/08/20 01:25:28 nyef
* improved the audio playback interface
*
* Revision 1.2 2000/08/05 01:42:55 nyef
* added support for playing CD audio
*
* Revision 1.1 2000/02/12 19:03:58 nyef
* Initial revision
*
*/