audioOutput_alsa: oops, I broke autodetection in r4363, fixed

git-svn-id: https://svn.musicpd.org/mpd/trunk@4416 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2006-07-21 07:04:28 +00:00
parent 160dbe080c
commit 74c4f5364d

View File

@ -92,7 +92,8 @@ static int alsa_initDriver(AudioOutput * audioOutput, ConfigParam * param)
ad->buffer_time = atoi(bp->value);
if ((bp = getBlockParam(param, "period_time")))
ad->period_time = atoi(bp->value);
}
} else
ad->device = strdup("default");
audioOutput->data = ad;
return 0;