jedipi 0 Report post Posted August 7, 2005 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
hatim 0 Report post Posted August 7, 2005 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
hatim 0 Report post Posted August 7, 2005 i meant Spinnoff of Red Hat in general ..not 4.0 Share this post Link to post Share on other sites
abhiram 0 Report post Posted August 7, 2005 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
qwijibow 0 Report post Posted August 7, 2005 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
xboxrulz1405241485 0 Report post Posted August 9, 2005 When they designed RealPlayer, they should've noticed that OSS is obsolete and ALSA is the new soundsystem.How blind are they?xboxrulz Share this post Link to post Share on other sites
Cassandra1405241487 0 Report post Posted August 15, 2005 I got the same message today using Mepis. I fixed it just by configuring the sound card drivers. Find out how one does it in Red Hat, and then do it. It's almost certainly your entire problem. Share this post Link to post Share on other sites
xboxrulz1405241485 0 Report post Posted August 16, 2005 Redhat 9.0 doesn't come w/ ALSA, so you need to install the backwards compat version of ALSA then start it, then use aoss to pipe the sound. Share this post Link to post Share on other sites
qwijibow 0 Report post Posted August 16, 2005 Redhat 9.0 doesn't come w/ ALSAno, 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
xboxrulz1405241485 0 Report post Posted August 17, 2005 ALSA can do software mixing, just install the backwards compatibility layerxboxrulz Share this post Link to post Share on other sites
qwijibow 0 Report post Posted August 17, 2005 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