src/decoder_control.h File Reference
#include "decoder_command.h"
#include "audio_format.h"
#include "notify.h"
#include <glib.h>
#include <stdbool.h>
#include <assert.h>
Go to the source code of this file.
Enumeration Type Documentation
- Enumerator:
DECODE_STATE_STOP |
|
DECODE_STATE_START |
|
DECODE_STATE_DECODE |
|
DECODE_STATE_ERROR |
The last "START" command failed, because there was an I/O error or because no decoder was able to decode the file.
This state will only come after START; once the state has turned to DECODE, by definition no such error can occur.
|
Definition at line 29 of file decoder_control.h.
Function Documentation
void dc_command_wait |
( |
struct notify * |
notify |
) |
|
bool dc_seek |
( |
struct notify * |
notify, |
|
|
double |
where | |
|
) |
| | |
void dc_start |
( |
struct notify * |
notify, |
|
|
struct song * |
song | |
|
) |
| | |
void dc_start_async |
( |
struct song * |
song |
) |
|
void dc_stop |
( |
struct notify * |
notify |
) |
|
static struct song* decoder_current_song |
( |
void |
|
) |
[static, read] |
static bool decoder_has_failed |
( |
void |
|
) |
[inline, static] |
static bool decoder_is_idle |
( |
void |
|
) |
[inline, static] |
static bool decoder_is_starting |
( |
void |
|
) |
[inline, static] |
Variable Documentation