Mercurial > audlegacy-plugins
annotate src/cdaudio-ng/cdaudio-ng.h @ 1263:458d46e65a86
wav-sndfile: in is_our_file, ensure that filename is not NULL before passing it to sf_open
author | Giacomo Lozito <james@develia.org> |
---|---|
date | Fri, 13 Jul 2007 20:55:42 +0200 |
parents | af5bd4592100 |
children | 7bb2692b3be9 |
rev | line source |
---|---|
1189
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
1 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
2 #ifndef CDAUDIO_NG_H |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
3 #define CDAUDIO_NG_H |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
4 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
5 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
6 #define DEF_STRING_LEN 256 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
7 #define CDDA_DEFAULT "cdda://default" |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
8 #define CDDA_DAE_FRAMES 8 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
9 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
10 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
11 typedef struct { |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
12 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
13 char performer[DEF_STRING_LEN]; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
14 char name[DEF_STRING_LEN]; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
15 char genre[DEF_STRING_LEN]; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
16 lsn_t startlsn; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
17 lsn_t endlsn; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
18 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
19 } trackinfo_t; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
20 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
21 typedef struct { |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
22 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
23 lsn_t startlsn; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
24 lsn_t endlsn; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
25 lsn_t currlsn; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
26 lsn_t seektime; /* in miliseconds */ |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
27 InputPlayback *pplayback; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
28 GThread *thread; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
29 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
30 } dae_params_t; |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
31 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
32 |
af5bd4592100
Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff
changeset
|
33 #endif // CDAUDIO_NG_H |