From: notaz Date: Mon, 23 Aug 2010 12:05:05 +0000 (+0000) Subject: sndout_oss: rm incorrect O_ASYNC X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d747e9d65ed765c7662f448703165c02776de930;p=libpicofe.git sndout_oss: rm incorrect O_ASYNC git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@883 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/linux/sndout_oss.c b/linux/sndout_oss.c index f816c7d..5249688 100644 --- a/linux/sndout_oss.c +++ b/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;