sndout_oss: rm incorrect O_ASYNC
authornotaz <notasas@gmail.com>
Mon, 23 Aug 2010 12:05:05 +0000 (12:05 +0000)
committernotaz <notasas@gmail.com>
Mon, 23 Aug 2010 12:05:05 +0000 (12:05 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@883 be3aeb3a-fb24-0410-a615-afba39da0efa

platform/linux/sndout_oss.c

index f816c7d..5249688 100644 (file)
@@ -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;