changing sample rate for webcam microphone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to, 2009-07-16 kello 23:14 +0200, Malte Gell kirjoitti:
> Tanu Kaskinen <tanuk at iki.fi> wrote
> 
> > So does pulseaudio currently fail to open the mic? 
> 
> It does detect the webcam mic and it works, it is just the wrong sample rate.

In that case loading the source manually fails, because the device is
already open, unless you load the source before module-hal-detect. I
don't think module-hal-detect will cause a fatal error if it fails to
open an already opened device, so this should be a satisfactory
workaround. The correct fix would of course be to fix the webcam drivers
- if only some sample rates work, opening the device with anything else
should fail.

> > If pulseaudio can't open the device by default, you should be able to
> > create the source just by inserting this line somewhere in your
> > default.pa:
> >
> > load-module module-alsa-source source_name=mic device=front:<alsa card
> > index> rate=16000
> 
> I have inserted this now in default.pa (of course in one single line)
> 
> load-module module-alsa-source source_name=pawebcammic 
> device=front:Camera rate=16000
> 
> But now, the daemon does not start any longer with this line...

When the startup fails, pasting the error messages would be helpful.

-- 
Tanu Kaskinen






[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux