AlsaPlayer  0.99.80
Data Fields
_stream_info Struct Reference

#include <input_plugin.h>

Data Fields

char stream_type [128]
 
char artist [128]
 
char title [128]
 
char album [128]
 
char genre [128]
 
char year [10]
 
char track [10]
 
char comment [128]
 
char status [32]
 
char path [1024]
 
int channels
 
int tracks
 
int current_track
 
int sample_rate
 
int bitrate
 

Detailed Description

This structure is used to pass information about a stream/song from the plugin to the host.

Field Documentation

char _stream_info::album[128]

The album name.

char _stream_info::artist[128]

Author of the stream. Usually the name of the Artist or Band

int _stream_info::bitrate

The bitrate

int _stream_info::channels

The number of channels

char _stream_info::comment[128]

The comment of this song

int _stream_info::current_track

The current track;

char _stream_info::genre[128]

The genre of this song

char _stream_info::path[1024]

The path of the stream

int _stream_info::sample_rate

The sampling rate

char _stream_info::status[32]

The status of the plugin. Can have something like "Seeking..." or perhaps "Buffering" depending on what the plugin instance is doing.

char _stream_info::stream_type[128]

Should describe what type of stream this is (MP3, OGG, etc). May also contain format data and things like sample rate. Text

char _stream_info::title[128]

The song title.

char _stream_info::track[10]

The track number of this song

int _stream_info::tracks

The number of tracks

char _stream_info::year[10]

The year of this song


The documentation for this struct was generated from the following file: