aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-29 17:29:30 +0100
committerMax Kellermann <max@duempel.org>2008-10-29 17:29:30 +0100
commitc6714f1755582e590b19a4dc95bebc2a9328cc2b (patch)
tree42871a03455c80a894e4d309b8a3a086bec87b32 /src/decoder_api.h
parent528b7c3f5e7afc155058eeba631aa93ba9f42b0c (diff)
downloadmpd-c6714f1755582e590b19a4dc95bebc2a9328cc2b.tar.gz
mpd-c6714f1755582e590b19a4dc95bebc2a9328cc2b.tar.xz
mpd-c6714f1755582e590b19a4dc95bebc2a9328cc2b.zip
player: added variable "play_audio_format"
The local variable "play_audio_format" is updated every time the player starts playing a new song. This way, we always know exactly which audio format is current. The old code broke when a new song had a different format: ob.audio_format is the format of the next song, not of the current one - using this caused breakage for the software volume control.
Diffstat (limited to 'src/decoder_api.h')
0 files changed, 0 insertions, 0 deletions