audio_file Struct Reference

The data needed about an audio file. More...

#include <audio_file.h>

Collaboration diagram for audio_file:
Collaboration graph
[legend]

Data Fields

FILE * fp
 The FILE pointer for the file.
struct audio_formatdrv
 An audio format for opening, closing and reading the audio file.
void * drv_data
 Extra information that might be needed.
unsigned int srate
 The file's sample rate.
unsigned int channels
 The number of audio channels.
unsigned int time_len
 The file's length in seconds.
unsigned int time_cur
 Position we are at in the file in seconds.
int stream
 File is a stream (no seeking).
char * artist
 Name of the artist, stored in UTF-8.
char * title
 Name of the song, stored in UTF-8.
char * album
 Name of the album, stored in UTF-8.
char _scrobbler_done
 Indicator whether the scrobbler code is done with the song.

Detailed Description

The data needed about an audio file.

Definition at line 37 of file audio_file.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:55 2010 for herrie by  doxygen 1.6.3