decoder_control: make the song objects const

They are just informational.
This commit is contained in:
Max Kellermann
2009-11-03 19:16:25 +01:00
parent 4dc25d3908
commit 59ffb5b7c1
3 changed files with 4 additions and 4 deletions

View File

@@ -72,8 +72,8 @@ struct decoder_control {
/** the format being sent to the music pipe */
struct audio_format out_audio_format;
struct song *current_song;
struct song *next_song;
const struct song *current_song;
const struct song *next_song;
float total_time;
/** the #music_chunk allocator */