fix oss_openDevice() to match the new openDevice callback protocol (w/o a audioFormat argument)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2715 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
cd6af0948c
commit
26e943c025
|
@ -106,9 +106,10 @@ static void oss_finishDriver(AudioOutput * audioOutput) {
|
|||
freeOssData(od);
|
||||
}
|
||||
|
||||
static int oss_openDevice(AudioOutput * audioOutput, AudioFormat * audioFormat)
|
||||
static int oss_openDevice(AudioOutput * audioOutput)
|
||||
{
|
||||
OssData * od = audioOutput->data;
|
||||
AudioFormat * audioFormat = &audioOutput->outAudioFormat;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
int i = AFMT_S16_BE;
|
||||
#else
|
||||
|
|
|
@ -604,9 +604,10 @@ static int getHTTPHello(InputStream * inStream) {
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
case 404:
|
||||
case 400:
|
||||
case 401:
|
||||
case 403:
|
||||
case 404:
|
||||
default:
|
||||
close(data->sock);
|
||||
data->connState = HTTP_CONN_STATE_CLOSED;
|
||||
|
|
Loading…
Reference in New Issue