view src/cdaudio-ng/cdaudio-ng.h @ 1370:616d34396eef

vorbis: Use nominal bitrate instead of updating every time the bitrate changes. That behaviour is just braindead.
author William Pitcock <nenolod@atheme-project.org>
date Wed, 25 Jul 2007 16:34:07 -0500
parents 7bb2692b3be9
children a25c2cfcce83 032053ca08ab
line wrap: on
line source


#ifndef CDAUDIO_NG_H
#define CDAUDIO_NG_H


#define DEF_STRING_LEN				256
#define CDDA_DEFAULT				"cdda://default"
#define CDDA_DAE_FRAMES				8
#define CDDA_DEFAULT_CDDB_SERVER	"freedb.org"
#define CDDA_DEFAULT_CDDB_PORT		888


typedef struct {

	char				performer[DEF_STRING_LEN];
	char				name[DEF_STRING_LEN];
	char				genre[DEF_STRING_LEN];
	lsn_t				startlsn;
	lsn_t				endlsn;

} trackinfo_t;

typedef struct {

	lsn_t				startlsn;
	lsn_t				endlsn;
	lsn_t				currlsn;
	lsn_t				seektime;	/* in miliseconds */
	InputPlayback		*pplayback;
	GThread				*thread;

} dae_params_t;


#endif	// CDAUDIO_NG_H