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:
parent
160dbe080c
commit
74c4f5364d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user