Fix ALSA buffer allocation.
Changing the audio buffer size only works when the audio device is closed. So close it before attempting to open it. This only works if myth has write access
|@@ -180,6 +180,11 @@ bool AudioOutputALSA::SetPreallocBufferSize(int size)|
|if (GetPCMInfo(card, device, subdevice) < 0)|
|+ // We can not increase the size of the audio buffer while device is opened|
|+ // so make sure it is closed|
|+ if (pcm_handle != NULL)|