You are not logged in.

#1 2009-09-01 23:15:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,636
Website

how to determine what my sound device is i.e. /dev/what

I'm using xvidcap to do some screen capture movies (very cool app by the way) but my captures have no sound.  There is an option for audio settings where it requires you to define your input device.  It's defaulted to /dev/dsp but that gives nothing.  How can I determine what device my system is using for audio?  I have a look in /var/log/dmesg but found nothing.

Thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-09-01 23:23:53

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: how to determine what my sound device is i.e. /dev/what

Look in /dev. "ls /dev/" has "/dev/snd/" listed as a directory on my 64-bit machine.

Offline

#3 2009-09-01 23:39:45

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: how to determine what my sound device is i.e. /dev/what

You can also install lsof and try 'lsof|grep snd'. That will (ok, should) give you the snd device in use by the program that you're interested in.

Good luck!
Scott

Offline

#4 2009-09-02 00:23:25

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,636
Website

Re: how to determine what my sound device is i.e. /dev/what

I do have a /dev/snd but when I assign it to xvidcap I get nothing...

$ lsof | grep snd
mixer_app 4837 user   21u      CHR             116,10      0t0     5143 /dev/snd/controlC0

I also tried using /dev/snd/controlC0 but got nothing as well..?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2009-09-02 01:25:04

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: how to determine what my sound device is i.e. /dev/what

Sorry sad Try /dev/audio, maybe? I'm afraid I'm not much of an expert on the nuts and bolts of the sound systems.

Scott

Offline

#6 2009-09-02 10:45:57

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: how to determine what my sound device is i.e. /dev/what

This FAQ may help. http://sourceforge.net/apps/mediawiki/x … ?title=Faq

I don't use xvidcap. All I can suggest is Googling xvidcap sound or xvidcap "no sound" (using the quotation marks).

Offline

#7 2009-09-02 11:10:15

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: how to determine what my sound device is i.e. /dev/what

Found it for you, I think. You need to load the snd-pcm-oss module to create /dev/dsp.

modprobe snd-pcm-oss

How this affects other parts of the sound configuration, I have no idea. But the module loads on my system and does create /dev/dsp.

Offline

#8 2009-12-18 19:57:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,636
Website

Re: how to determine what my sound device is i.e. /dev/what

thanks for the tip but that module didn't help


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2009-12-18 21:44:41

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: how to determine what my sound device is i.e. /dev/what

You most likely do _not_ want to use the oss emulation with alsa, since it have a tendency to break stuff like dmix.

See if you can find anything in the xvidcap on how to set it up to grab from alsa. You might also have to play around in alsamixer, depending on what you want to catch. (eg if you want to make comments using a mic)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB