Commit acc620bb authored by J. Alexander Treuman's avatar J. Alexander Treuman

Save audio output state in correct order.

git-svn-id: https://svn.musicpd.org/mpd/trunk@4207 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent cabc91b6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment