The data needed about an audio file. More...
#include <audio_file.h>

Data Fields | |
| FILE * | fp |
| The FILE pointer for the file. | |
| struct audio_format * | drv |
| 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. | |
The data needed about an audio file.
Definition at line 37 of file audio_file.h.
1.6.3