1 /*  cdrdao - write audio CD-Rs in disc-at-once mode
2  *
3  *  Copyright (C) 1999-2001  Andreas Mueller <andreas@daneb.de>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 
20 #ifndef __SONY_CDU948_H__
21 #define __SONY_CDU948_H__
22 
23 #include "SonyCDU920.h"
24 
25 class Toc;
26 class Track;
27 
28 class CdTextEncoder;
29 
30 class SonyCDU948 : public SonyCDU920 {
31 public:
32   SonyCDU948(ScsiIf *scsiIf, unsigned long options);
33   ~SonyCDU948();
34   static CdrDriver *instance(ScsiIf *scsiIf, unsigned long options);
35 
36   int checkToc(const Toc *);
37 
38   int multiSession(int);
39   int speed(int);
40 
41   int initDao(const Toc *);
42   int startDao();
43 
44 protected:
45   CdTextEncoder *cdTextEncoder_;
46 
47   int selectSpeed();
48   int setWriteParameters();
49 
50   int writeCdTextLeadIn();
51 
52 };
53 
54 #endif
55