mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
sndout_oss: rm incorrect O_ASYNC
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@883 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
972151fcab
commit
d747e9d65e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue