I have a Logitech C310 webcam, which pulseaudio believes has a sample rate of 48 kHz. However, the hardware only works at 16 kHz. Most applications will try to use the 16 Khz audio at 48 kHz, resulting in a high-pitched squirrel or chipmunk sound.
This happens across a range of applications, and in Windows as well. How do I force pulseaudio to use the source at a 16 kHz sample rate?
arecord -f ...andarecord --dump-hw-params ...after stopping Pulseaudio (or usepasuspender). If it's on the ALSA level, I'd try to fix it in~/.asoundrcvia a plugin, and then make Pulseaudio use that plugin instead of the raw hardware device.pasuspender&arecord. I was also getting weird behavior wherearecordwould freeze indefinitely and not record audio. Eventually gave up and bought a replacement.