#include <output_internal.h>
Data Fields | |
const char * | name |
The device's configured display name. | |
struct audio_output_plugin * | plugin |
The plugin which implements this output device. | |
void * | data |
The plugin's internal data. | |
struct mixer * | mixer |
The mixer object associated with this audio output device. | |
bool | config_audio_format |
This flag is true, when the audio_format of this device is configured in mpd.conf. | |
bool | enabled |
Has the user enabled this device? | |
bool | open |
Is the device (already) open and functional? | |
bool | pause |
Is the device paused? i.e. | |
GTimer * | fail_timer |
If not NULL, the device has failed, and this timer is used to estimate how long it should stay disabled (unless explicitly reopened with "play"). | |
struct audio_format | in_audio_format |
The audio_format in which audio data is received from the player thread (which in turn receives it from the decoder). | |
struct audio_format | out_audio_format |
The audio_format which is really sent to the device. | |
struct pcm_convert_state | convert_state |
GThread * | thread |
The thread handle, or NULL if the output thread isn't running. | |
struct notify | notify |
Notify object for the thread. | |
enum audio_output_command | command |
The next command to be performed by the output thread. | |
struct music_pipe * | pipe |
The music pipe which provides music chunks to be played. | |
GMutex * | mutex |
This mutex protects open, chunk and chunk_finished. | |
struct music_chunk * | chunk |
The music_chunk which is currently being played. | |
bool | chunk_finished |
Has the output finished playing chunk? |
Definition at line 38 of file output_internal.h.
struct music_chunk* audio_output::chunk |
The music_chunk which is currently being played.
All chunks before this one may be returned to the music_buffer, because they are not going to be used by this output anymore.
Definition at line 144 of file output_internal.h.
Has the output finished playing chunk?
Definition at line 149 of file output_internal.h.
The next command to be performed by the output thread.
Definition at line 126 of file output_internal.h.
This flag is true, when the audio_format of this device is configured in mpd.conf.
Definition at line 66 of file output_internal.h.
Definition at line 110 of file output_internal.h.
void* audio_output::data |
The plugin's internal data.
It is passed to every plugin method.
Definition at line 53 of file output_internal.h.
Has the user enabled this device?
Definition at line 71 of file output_internal.h.
GTimer* audio_output::fail_timer |
If not NULL, the device has failed, and this timer is used to estimate how long it should stay disabled (unless explicitly reopened with "play").
Definition at line 94 of file output_internal.h.
The audio_format in which audio data is received from the player thread (which in turn receives it from the decoder).
Definition at line 100 of file output_internal.h.
struct mixer* audio_output::mixer |
The mixer object associated with this audio output device.
May be NULL if none is available, or if software volume is configured.
Definition at line 60 of file output_internal.h.
GMutex* audio_output::mutex |
This mutex protects open, chunk and chunk_finished.
Definition at line 136 of file output_internal.h.
const char* audio_output::name |
The device's configured display name.
Definition at line 42 of file output_internal.h.
struct notify audio_output::notify |
Notify object for the thread.
Definition at line 121 of file output_internal.h.
bool audio_output::open |
Is the device (already) open and functional?
This attribute may only be modified by the output thread. It is protected with mutex: write accesses inside the output thread and read accesses outside of it may only be performed while the lock is held.
Definition at line 81 of file output_internal.h.
The audio_format which is really sent to the device.
This is basically config_audio_format (if configured) or in_audio_format, but may have been modified by plugin->open().
Definition at line 108 of file output_internal.h.
bool audio_output::pause |
Is the device paused? i.e.
the output thread is in the ao_pause() loop.
Definition at line 87 of file output_internal.h.
struct music_pipe* audio_output::pipe |
The music pipe which provides music chunks to be played.
Definition at line 131 of file output_internal.h.
The plugin which implements this output device.
Definition at line 47 of file output_internal.h.
GThread* audio_output::thread |
The thread handle, or NULL if the output thread isn't running.
Definition at line 116 of file output_internal.h.