mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
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:
parent
8a01192380
commit
c32f841a6e
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;
|
return 0;
|
||||||
|
|
||||||
sndout_oss_stop();
|
sndout_oss_stop();
|
||||||
sounddev = open("/dev/dsp", O_WRONLY|O_ASYNC);
|
sounddev = open("/dev/dsp", O_WRONLY);
|
||||||
if (sounddev == -1)
|
if (sounddev == -1)
|
||||||
{
|
{
|
||||||
perror("open(\"/dev/dsp\")");
|
perror("open(\"/dev/dsp\")");
|
||||||
sounddev = open("/dev/dsp1", O_WRONLY|O_ASYNC);
|
sounddev = open("/dev/dsp1", O_WRONLY);
|
||||||
if (sounddev == -1) {
|
if (sounddev == -1) {
|
||||||
perror("open(\"/dev/dsp1\")");
|
perror("open(\"/dev/dsp1\")");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue