diff options
Diffstat (limited to 'src/decoder/decoder_thread.c')
-rw-r--r-- | src/decoder/decoder_thread.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/decoder/decoder_thread.c b/src/decoder/decoder_thread.c index 59ff26db..8972a82c 100644 --- a/src/decoder/decoder_thread.c +++ b/src/decoder/decoder_thread.c @@ -49,7 +49,7 @@ * @param dc the #decoder_control object; must be locked */ static void -decoder_command_finished_locked(struct decoder_control *dc) +decoder_command_finished_locked(DecoderControl *dc) { assert(dc->command != DECODE_COMMAND_NONE); @@ -70,7 +70,7 @@ decoder_command_finished_locked(struct decoder_control *dc) * received, NULL on error */ static struct input_stream * -decoder_input_stream_open(struct decoder_control *dc, const char *uri) +decoder_input_stream_open(DecoderControl *dc, const char *uri) { GError *error = NULL; struct input_stream *is; @@ -278,7 +278,7 @@ decoder_run_stream_fallback(struct decoder *decoder, struct input_stream *is) static bool decoder_run_stream(struct decoder *decoder, const char *uri) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; struct input_stream *input_stream; bool success; @@ -332,7 +332,7 @@ decoder_load_replay_gain(struct decoder *decoder, const char *path_fs) static bool decoder_run_file(struct decoder *decoder, const char *path_fs) { - struct decoder_control *dc = decoder->dc; + DecoderControl *dc = decoder->dc; const char *suffix = uri_get_suffix(path_fs); const struct decoder_plugin *plugin = NULL; @@ -380,7 +380,7 @@ decoder_run_file(struct decoder *decoder, const char *path_fs) } static void -decoder_run_song(struct decoder_control *dc, +decoder_run_song(DecoderControl *dc, const struct song *song, const char *uri) { struct decoder decoder = { @@ -426,7 +426,7 @@ decoder_run_song(struct decoder_control *dc, } static void -decoder_run(struct decoder_control *dc) +decoder_run(DecoderControl *dc) { const struct song *song = dc->song; char *uri; @@ -452,7 +452,7 @@ decoder_run(struct decoder_control *dc) static gpointer decoder_task(gpointer arg) { - struct decoder_control *dc = arg; + DecoderControl *dc = arg; decoder_lock(dc); @@ -491,7 +491,7 @@ decoder_task(gpointer arg) } void -decoder_thread_start(struct decoder_control *dc) +decoder_thread_start(DecoderControl *dc) { GError *e = NULL; |