Is it possible for two apps to open the audio device?

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, cesium

Juvenal
New Member
Posts: 6
Joined: Tue May 17, 2005 3:39 pm

Is it possible for two apps to open the audio device?

Postby Juvenal » Thu May 19, 2005 1:06 am

Hello.

I'm using OSS on a Solaris 10 x86 machine. The sound system is working fine.

Is it possible for two apps to open the audio device *at the same time*? I mean,
could app X plays a sound while app Y is using the audio device?

TIA

dev
Developer
Posts: 581
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA
Contact:

Re: Is it possible for two apps to open the audio device?

Postby dev » Thu May 19, 2005 3:48 pm

Juvenal wrote:Hello.

I'm using OSS on a Solaris 10 x86 machine. The sound system is working fine.

Is it possible for two apps to open the audio device *at the same time*? I mean,
could app X plays a sound while app Y is using the audio device?

TIA


Yes that's how OSS works by default audio is sent to the virtual devices
(run two apps and look at ossxmix -d1)



regards
Dev

Guest

Postby Guest » Fri May 20, 2005 7:32 am

Yes that's how OSS works by default audio is sent to the virtual devices
(run two apps and look at ossxmix -d1)


Well, I'm trying to run two apps, but when I run the other app, I get an
error message telling me that the device is busy.

How can I fix this?

TIA


Return to “Solaris”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest