Save audio output state in correct order.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
cabc91b6c6
commit
acc620bbda
@ -442,7 +442,7 @@ void saveAudioDevicesState() {
|
||||
}
|
||||
|
||||
assert(audioOutputArraySize != 0);
|
||||
for (i = audioOutputArraySize - 1; i >= 0; --i) {
|
||||
for (i = 0; i < audioOutputArraySize; i++) {
|
||||
myfprintf(fp, AUDIO_DEVICE_STATE "%d:%s\n",
|
||||
(int)pdAudioDevicesEnabled[i],
|
||||
audioOutputArray[i]->name);
|
||||
|
Loading…
Reference in New Issue
Block a user