Jump to content
xisto Community
jedipi

Realplayer Cannot Open The Audio Device?

Recommended Posts

I have realplayer installed in a Redhat 9.0 machine.there is a error message when I open files with realplayer.error: cannot open the audio device.Another application may be using it.can realplayer work with other applications which use audio device at the same time??If yes, how to do that??Thank you!!

Share this post


Link to post
Share on other sites

Well to start off RedHat 9.0 is now ancient ..Move to either Fedora Core 4 (spinnoff of Red Hat 4.0 ) or Ubuntu or Latst SuSe personal editionSecondly give the out out of these commands 1) lspci -v | grep audio2) lspci3) lsmodAlso ReapPlayer 10.x is available for Linux. It has better UI and other options. Your sound system is either alasa or oss ..it has support for both. I am not sure what RP 9.x supportseither try the new distros , or new player ..or if u want to stick with old one then post the out put of the commands i asked. (just commands and not the number or brackets)

Share this post


Link to post
Share on other sites

i meant Spinnoff of Red Hat in general ..not 4.0

Share this post


Link to post
Share on other sites

I've had this problem too. Realplayer doesn't have support for alsa sound or something like that, i'm not sure. You will have to run it under simulated OSS sound.Type 'aoss realplay' in the command shell. It works for me.

Share this post


Link to post
Share on other sites

Righty.Unless you have a really cool sound card, it will not support hardware mixing.Your sound card can only play one sound at a time, and therefore the sound cards device node can only be opened by one application at a time.The solution is.... Software mixing.In the oldern days, the KDE software mixer wasnt up to much, so most applications were designed to grab exclusine access oto the sound card.thankfully, the KDE audio mixer (arts) is alot better now, almost no lagg etc etc.You realplayer cannot open the sound device becasee ARTS (the software mixer) has exclusive access to it.There are 4 possable solutions (i would recomend 3 or 4)1) dissable arts, let whatever program you are using at the time have complete direct access ot the sound card.2) set arts to release the sound card after a period of inactivity, (maybe 5 seconds)so that KDE and your media applications can share the sound card. (i dont recomend this)3) Find a pluggin, or configure your media software to use the arts sound server. (i recomend this)4) if there is no "Use ARTS sound output" option for your media player, use the arts sound wrapper.for example, if the name of your porgram is realplayer, run the command "artsdsp realplayer" The arts sound server will now *look* like a real sound card to your media applications, and sound will mix nicely.In Linux, programs are usually designed by default NOT to use arts, because not everyone has KDE installed and running.using option 3 or 4 will allow all your noisy applications to play sound at the same time, (like MSwindows does)enjoy.

Share this post


Link to post
Share on other sites

Redhat 9.0 doesn't come w/ ALSA

no, but it does come with TOSS which will work fine with ARTS.
Jedipi is having trouble getting software mixing to work, so lets not complicate things by telling him he needs to patch and recompile his kernel, he is obviously new to linux, and this is probably beyond his abilities.

So lets stick with the simple answer, use ARTS.

Share this post


Link to post
Share on other sites

So can arts, and its already installed in redhat 9 :DOhh, and how did you get alsa to do software mixing ?i cant find any documentation on it.EDIT: Ohh, you mean dmix and alsa-jack.While these will perform a little better than ARTS, i still think setting it all up on such an old distro is a little beyond most newbies ablities.so im still sticking with ARTS, lol./EDITEDIT2:WOW.... ive been so used to needing arts for everything, i didnt notice that Alsa now software mixes automatically by default (or at least it does in Gentoo 2005.1 )Linux is advancing sooo fast i just cant keep up anymore, scary to think what kernel 2.7.x will hold :S

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.