Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox sound problem. Is my .asoundrc file correct?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri May 16, 2008 3:28 pm    Post subject: VirtualBox sound problem. Is my .asoundrc file correct? Reply with quote

I have a new soundcard that is installed and working properly. It is using the Alsa driver. It works with Audacious and Amorak. But for VirtualBox(Windows XP guest) I get no sound, inspite of having the ALSA driver enabled in Virtualbox manager. The only thing I can think of is maybe I don't have the .asoundrc file set up correctly so VirtualBox can not read the correct soundcard? This is it:

Code:
 pcm.oxygen {
          type hw
          card 0
       }
       
       ctl.oxygen {
          type hw
          card 0
       }


And here is the card info when I do a aplay -l:
Code:
**** List of PLAYBACK Hardware Devices ****
card 1: CMI8788 [C-Media CMI8788], device 0: Analog [Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CMI8788 [C-Media CMI8788], device 1: Digital [Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Judging from this information, is my .asoundrc file set up correctly? Any suggestions o[/code]n what may be the cause of my problem?
Back to top
View user's profile Send private message
code933k
n00b
n00b


Joined: 30 Aug 2007
Posts: 52

PostPosted: Sun May 18, 2008 2:00 pm    Post subject: Reply with quote

  1. What version of ALSA are you using?
  2. Have you tried switching to hw 0,1? (card 1 - digital)
  3. Have you tried through dmix?
    Perhaps your physical sound card is being accessed by two different applications
    at the same time but they can't talk to each other... Supposing there is available
    hardware mixing

ps: http://alsa.opensrc.org/index.php/Main_Page
_________________
If gods were created by language then praying is an infinite loop.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum