From e8a54efe414d9d25b71cef910b15935bea8c530e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 19 Nov 2005 10:29:20 +0000 Subject: gcc 2.95 fixes audioOutput_osx.c, aac_decode.c, mp4_decode.c have NOT been thoroughly checked, but I nevertheless managed to eyeball and fix one incompatibility in audioOutput_osx.c All other files have been build successfully with gcc 2.95 git-svn-id: https://svn.musicpd.org/mpd/trunk@3688 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_mvp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs/audioOutput_mvp.c') diff --git a/src/audioOutputs/audioOutput_mvp.c b/src/audioOutputs/audioOutput_mvp.c index 54f3b4327..4f60fb595 100644 --- a/src/audioOutputs/audioOutput_mvp.c +++ b/src/audioOutputs/audioOutput_mvp.c @@ -187,6 +187,7 @@ static int mvp_setPcmParams(MvpData *md, unsigned long rate, int channels, int b static int mvp_openDevice(AudioOutput * audioOutput) { int ret = -1; + long long int stc = 0; MvpData * md = audioOutput->data; AudioFormat * audioFormat = &audioOutput->outAudioFormat; int mix[5] = { 0, 2, 7, 1, 0 }; @@ -208,7 +209,6 @@ static int mvp_openDevice(AudioOutput * audioOutput) ERROR("Error setting audio format: %s\n", strerror(errno)); return -1; } - long long int stc = 0; ioctl(md->fd, MVP_SET_AUD_STC, &stc); if (ioctl(md->fd, MVP_SET_AUD_BYPASS, 1) < 0){ ERROR("Error setting audio streamtype: %s\n", strerror(errno)); -- cgit v1.2.3