Re: usb audio device & sound card



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Grieveson wrote:
Mark Grieveson wrote:
Hi. I have a cheap usb audio device for Skype, and a regular
sound card for the rest of the computer. I'm using Etch. I
would like to be able to get sound when browsing the internet, or
listening to music, or watching movies, from the soundcard, while
simultaneously being able to use the usb audio device for Skype.


Scott Reese wrote:
My situation is similar overall, but completely different in all of
the particulars, so if this advice is completely useless, I
apologize....

I created a file in my home directory named .asoundrc with the
following contents:

pcm.!default { type hw card 1 }

ctl.!default { type hw card 1 }


This sets the card listed as 1 in my /proc/asound/cards to be my
default sound card for alsa. Then, I set the programs that play
sound to use alsa, and by default they start using the USB device.

Then, I had to set twinkle to use the onboard card specifically
rather than just using the default device.

Occasionally, the cards are initialized in the reverse order
(Onboard is 1 and USB is 0). If this starts happening enough to
bother me, I will write a script to dynamically create the
.asoundrc file when I log in based on the contents of
/proc/asound/cards.

I don't know if this is helpful to you. I don't use Skype, so I
don't know if you can specify the output device in those settings.

Hello Scott. Thanks for the reply. Yes, Skype does have the option
to specify the output device; so, that's not a concern. If I could
have the soundcard recognized as the default, with the
usb-audio-device (a phone-like gadget) available for skype, that
would be perfect. I did try setting up the hidden file, as you
suggested, but the usb-audio-device became the default (playing
defendguin while holding a phone like device to my ear just will not
do.) It did work to make both devices recognized as choices for the
volume control, though, which is good. But applications used the
usb-audio-device (ie, the cheap phone-like thingy for Skype). Do you
have any hints on how I get the machine to set the soundcard as the
default, and the usb-audio-device as the available second-banana?

Thanks. Mark



Greetings Mark:

It's been a long time since I fiddled with that stuff. I don't think
that it caused me a lot of pain and suffering or I would remember it
better. The reference material for the .asoundrc file is at:

http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php

If your programs are not respecting the alsa defaults, perhaps they are
not configured to use alsa directly. Perhaps they are set up to use oss
or esd or arts or something?

- -Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF6CQjS7FYdPX6+iYRAlOvAJ0dT0BralFR6rs2zG/Qai0RHTJqSwCfUh/R
g95R8WvADkGqoRAHplkdSe4=
=6pB/
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: FC6 Skype Howto?
    ... I have a sound card on my laptop that has some issues and sometimes kmix doesn't show the mic input option but my mic still works as sometimes it does show the mic tab and so I have selected it. ... You should try to run the latest version of skype that is available. ... in particular "Currently, Skype does not natively support ALSA, so you will need to install ALSA OSS emulation layer in order to use ALSA devices in Skype.". ...
    (Fedora)
  • Re: Help needed to sort out a microphone problem on my PC
    ... I was hoping that maybe the Sound Card that you have in the Machine ... Skype (but also with Recording from the Microphone Input in other ... The sockets are on the front of the machine, ... If you have Skype (or NetMeeting) Setup Ok, ...
    (uk.people.silversurfers)
  • Re: Sound porblems with Suse 10.1 and MSI Motherboard
    ... With /dev/adsp I get an error message telling me device not available ... for alsa and /dev/dsp for OSS. ... sound card - i.e. midi, wave etc. and what specific hardware each used. ... Also arts sometimes gets started, ...
    (comp.os.linux.hardware)
  • Re: alsamixer wont come up properly, cant adjust volumes
    ... I'm using one sound card, the one integrated on my asus m2n-mx motherboard. ... The only messages in the log concerning alsa say the driver has been loaded. ... I've done this in the past, but in the last two installs ... > alsa mixer wont load properly ie, the program will open but there are ...
    (Fedora)
  • Re: alsa sound card
    ... where everything really works under ALSA? ... >> cpu time. ... >can use the game port for external midi. ... and back to digital before it makes it's way through the sound card. ...
    (comp.os.linux.hardware)