aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-09 20:33:45 +0100
committerMax Kellermann <max@duempel.org>2009-11-09 20:33:45 +0100
commit96b974bc452e6b33ada281c5ccb4df7b9492e1da (patch)
tree224109319c982004e14eb334c5a39bcfc15f6508
parent1a4025420c608b34d1eebb1f39ec86a88bf694a9 (diff)
downloadmpd-96b974bc452e6b33ada281c5ccb4df7b9492e1da.tar.gz
mpd-96b974bc452e6b33ada281c5ccb4df7b9492e1da.tar.xz
mpd-96b974bc452e6b33ada281c5ccb4df7b9492e1da.zip
player_control: removed the "volatile" attribute
Our use of the "volatile" keyword was wrong from the start, and now that we have proper locking, we can safely remove all of them.
-rw-r--r--src/player_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 02c04fda8..e279067d5 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -107,9 +107,9 @@ struct player_control {
struct audio_format audio_format;
float total_time;
float elapsed_time;
- struct song *volatile next_song;
+ struct song *next_song;
const struct song *errored_song;
- volatile double seek_where;
+ double seek_where;
float cross_fade_seconds;
double total_play_time;
};