diff options
Diffstat (limited to 'src/decoder/decoder_api.c')
-rw-r--r-- | src/decoder/decoder_api.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/decoder/decoder_api.c b/src/decoder/decoder_api.c index 662b9d8e..619f581d 100644 --- a/src/decoder/decoder_api.c +++ b/src/decoder/decoder_api.c @@ -43,7 +43,7 @@ void decoder_initialized(struct decoder *decoder, const struct audio_format *audio_format, bool seekable, float total_time) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; struct audio_format_string af_string; assert(dc->state == DECODE_STATE_START); @@ -84,7 +84,7 @@ void decoder_initialized(struct decoder *decoder, */ static bool decoder_prepare_initial_seek(struct decoder *decoder) { - const struct decoder_control *dc = decoder->dc; + const DecoderControl *dc = decoder->dc; assert(dc->pipe != NULL); if (dc->state != DECODE_STATE_DECODE) @@ -129,7 +129,7 @@ static bool decoder_prepare_initial_seek(struct decoder *decoder) */ static enum decoder_command decoder_get_virtual_command(struct decoder *decoder) { - const struct decoder_control *dc = decoder->dc; + const DecoderControl *dc = decoder->dc; assert(dc->pipe != NULL); if (decoder_prepare_initial_seek(decoder)) @@ -145,7 +145,7 @@ enum decoder_command decoder_get_command(struct decoder *decoder) void decoder_command_finished(struct decoder *decoder) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; decoder_lock(dc); @@ -181,7 +181,7 @@ void decoder_command_finished(struct decoder *decoder) double decoder_seek_where(struct decoder * decoder) { - const struct decoder_control *dc = decoder->dc; + const DecoderControl *dc = decoder->dc; assert(dc->pipe != NULL); @@ -197,7 +197,7 @@ double decoder_seek_where(struct decoder * decoder) void decoder_seek_error(struct decoder * decoder) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; assert(dc->pipe != NULL); @@ -225,7 +225,7 @@ static inline bool decoder_check_cancel_read(const struct decoder *decoder) if (decoder == NULL) return false; - const struct decoder_control *dc = decoder->dc; + const DecoderControl *dc = decoder->dc; if (dc->command == DECODE_COMMAND_NONE) return false; @@ -336,7 +336,7 @@ enum decoder_command decoder_data(struct decoder *decoder, AVFrame *frame, uint16_t kbit_rate) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; enum decoder_command cmd = DECODE_COMMAND_NONE; int nb_samples = frame->nb_samples; struct music_chunk *chunk; @@ -424,7 +424,7 @@ finish: enum decoder_command decoder_tag(struct decoder *decoder, struct input_stream *is, const struct tag *tag) { - const struct decoder_control *dc = decoder->dc; + const DecoderControl *dc = decoder->dc; enum decoder_command cmd; assert(dc->state == DECODE_STATE_DECODE); @@ -496,7 +496,7 @@ void decoder_mixramp(struct decoder *decoder, float replay_gain_db, char *mixramp_start, char *mixramp_end) { assert(decoder != NULL); - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; assert(dc != NULL); dc->replay_gain_db = replay_gain_db; |