sndout_oss: rm incorrect O_ASYNC

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@883 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-08-23 12:05:05 +00:00
parent 8a01192380
commit c32f841a6e

View 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;