MPD
Data Fields
decoder Struct Reference

#include <decoder_internal.h>

Data Fields

struct decoder_controldc
 
struct pcm_convert_state conv_state
 
double timestamp
 The time stamp of the next data chunk, in seconds.
 
bool initial_seek_pending
 Is the initial seek (to the start position of the sub-song) pending, or has it been performed already?
 
bool initial_seek_running
 Is the initial seek currently running? During this time, the decoder command is SEEK.
 
bool seeking
 This flag is set by decoder_seek_where(), and checked by decoder_command_finished().
 
struct tagsong_tag
 The tag from the song object.
 
struct tagstream_tag
 the last tag received from the stream
 
struct tagdecoder_tag
 the last tag received from the decoder plugin
 
struct music_chunkchunk
 the chunk currently being written to
 
struct replay_gain_info replay_gain_info
 
unsigned replay_gain_serial
 A positive serial number for checking if replay gain info has changed since the last check.
 

Detailed Description

Definition at line 29 of file decoder_internal.h.

Field Documentation

struct music_chunk* decoder::chunk

the chunk currently being written to

Definition at line 74 of file decoder_internal.h.

struct pcm_convert_state decoder::conv_state

Definition at line 32 of file decoder_internal.h.

struct decoder_control* decoder::dc

Definition at line 30 of file decoder_internal.h.

struct tag* decoder::decoder_tag

the last tag received from the decoder plugin

Definition at line 71 of file decoder_internal.h.

bool decoder::initial_seek_pending

Is the initial seek (to the start position of the sub-song) pending, or has it been performed already?

Definition at line 43 of file decoder_internal.h.

bool decoder::initial_seek_running

Is the initial seek currently running? During this time, the decoder command is SEEK.

This flag is set by decoder_get_virtual_command(), when the virtual SEEK command is generated for the first time.

Definition at line 51 of file decoder_internal.h.

struct replay_gain_info decoder::replay_gain_info

Definition at line 76 of file decoder_internal.h.

unsigned decoder::replay_gain_serial

A positive serial number for checking if replay gain info has changed since the last check.

Definition at line 82 of file decoder_internal.h.

bool decoder::seeking

This flag is set by decoder_seek_where(), and checked by decoder_command_finished().

It is used to clean up after seeking.

Definition at line 58 of file decoder_internal.h.

struct tag* decoder::song_tag

The tag from the song object.

This is only used for local files, because we expect the stream server to send us a new tag each time we play it.

Definition at line 65 of file decoder_internal.h.

struct tag* decoder::stream_tag

the last tag received from the stream

Definition at line 68 of file decoder_internal.h.

double decoder::timestamp

The time stamp of the next data chunk, in seconds.

Definition at line 37 of file decoder_internal.h.


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