diff options
author | Max Kellermann <max@duempel.org> | 2011-10-06 22:45:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-10-06 22:45:02 +0200 |
commit | 5c0576ca5519d525c6c383cd138da917b67a2810 (patch) | |
tree | 08a6f4b78ec2769265bb210e408a46b36f78be61 /src/decoder_control.c | |
parent | 4e909f94113360933b77cf9e67ec54649d48665f (diff) | |
parent | 039b3544902fe479fa2ce31f06de2c08377e0fc5 (diff) | |
download | mpd-5c0576ca5519d525c6c383cd138da917b67a2810.tar.gz mpd-5c0576ca5519d525c6c383cd138da917b67a2810.tar.xz mpd-5c0576ca5519d525c6c383cd138da917b67a2810.zip |
Merge branch 'v0.16.x'
Conflicts:
configure.ac
src/player_control.c
src/player_thread.c
src/playlist_song.c
Diffstat (limited to '')
-rw-r--r-- | src/decoder_control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c index 685db6c22..70f34b331 100644 --- a/src/decoder_control.c +++ b/src/decoder_control.c @@ -96,6 +96,7 @@ dc_command_async(struct decoder_control *dc, enum decoder_command cmd) void dc_start(struct decoder_control *dc, struct song *song, + unsigned start_ms, unsigned end_ms, struct music_buffer *buffer, struct music_pipe *pipe) { assert(song != NULL); @@ -104,6 +105,8 @@ dc_start(struct decoder_control *dc, struct song *song, assert(music_pipe_empty(pipe)); dc->song = song; + dc->start_ms = start_ms; + dc->end_ms = end_ms; dc->buffer = buffer; dc->pipe = pipe; dc_command(dc, DECODE_COMMAND_START); |