From c32f841a6ef60ca6f383f8e789c1faa60a5fd283 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 23 Aug 2010 12:05:05 +0000 Subject: [PATCH] sndout_oss: rm incorrect O_ASYNC git-svn-id: file:///home/notaz/opt/svn/PicoDrive@883 be3aeb3a-fb24-0410-a615-afba39da0efa --- platform/linux/sndout_oss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5