mirror of https://github.com/mpv-player/mpv
compiling under qnx, hope it works on all qnx release :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3088 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9e1aa8639e
commit
db51f47ae6
|
@ -189,8 +189,10 @@ static int init(int rate_hz, int channels, int format, int flags)
|
||||||
printf("alsa-init: pcm channel info error: %s\n", snd_strerror(err));
|
printf("alsa-init: pcm channel info error: %s\n", snd_strerror(err));
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
#ifndef __QNX__
|
||||||
if (chninfo.buffer_size)
|
if (chninfo.buffer_size)
|
||||||
ao_buffersize = chninfo.buffer_size;
|
ao_buffersize = chninfo.buffer_size;
|
||||||
|
#endif
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf("alsa-init: setting preferred buffer size from driver: %d bytes\n",
|
printf("alsa-init: setting preferred buffer size from driver: %d bytes\n",
|
||||||
ao_buffersize);
|
ao_buffersize);
|
||||||
|
|
Loading…
Reference in New Issue