From: notaz Date: Mon, 23 Aug 2010 12:05:05 +0000 (+0000) Subject: sndout_oss: rm incorrect O_ASYNC X-Git-Tag: v1.85~174 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c32f841a6ef60ca6f383f8e789c1faa60a5fd283;p=picodrive.git sndout_oss: rm incorrect O_ASYNC git-svn-id: file:///home/notaz/opt/svn/PicoDrive@883 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/platform/linux/sndout_oss.c b/platform/linux/sndout_oss.c index f816c7dc..52496888 100644 --- a/platform/linux/sndout_oss.c +++ b/platform/linux/sndout_oss.c @@ -46,11 +46,11 @@ int sndout_oss_start(int rate, int frame_samples, int stereo) return 0; sndout_oss_stop(); - sounddev = open("/dev/dsp", O_WRONLY|O_ASYNC); + sounddev = open("/dev/dsp", O_WRONLY); if (sounddev == -1) { perror("open(\"/dev/dsp\")"); - sounddev = open("/dev/dsp1", O_WRONLY|O_ASYNC); + sounddev = open("/dev/dsp1", O_WRONLY); if (sounddev == -1) { perror("open(\"/dev/dsp1\")"); return -1;