oops, accidently broke crossfading, fixed now

git-svn-id: https://svn.musicpd.org/mpd/trunk@2281 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-10-20 17:25:36 +00:00
parent fd2ae556a2
commit c2455ec0ca
2 changed files with 2 additions and 1 deletions

View File

@ -145,6 +145,7 @@ int isCurrentAudioFormat(AudioFormat * audioFormat) {
int openAudioDevice(AudioFormat * audioFormat) {
if(!aoOutput->open || !isCurrentAudioFormat(audioFormat)) {
copyAudioFormat(&audio_format, audioFormat);
return openAudioOutput(aoOutput, audioFormat);
}

View File

@ -190,7 +190,7 @@ static int audioOutputAo_play(AudioOutput * audioOutput, char * playChunk,
AoData * ad = (AoData *)audioOutput->data;
if(ad->device==NULL) {
ERROR("trying to play w/o the audio device being open!\n");
ERROR("trying to play w/o the ao device being open!\n");
return -1;
}