2

My Audio Devices

  • Input: Logitech C310 webcam mic (16kHz)
  • Output: Sony MBH20 Bluetooth headset (44.1kHz) in High Fidelity Playback (A2DP Sink) mode

My Problem

With the default PulseAudio settings, the bluetooth headset sounds excellent, but recordings over the webcam mic are high-pitched and sped up, like an Alvin and the Chipmunks recording.

If I configure PulseAudio to set the sampling rate to 16kHz,

# /etc/pulse/daemon.conf

default-sample-rate = 16000

then the webcam works perfectly, but the sound quality through the headset is severely degraded.

My questions

  • Is there any way to configure the sampling rate for only a single source?
  • pacmd list-sources erroneously reports the sampling rate of the webcam mic as 48kHz (sample spec: s16le 1ch 48000Hz). Could that be the problem? If so, is there any way to manually change the sample spec? If not, does this qualify as a bug that should be reported to the pulseaudio maintainers?
  • or is there another fix to this problem that I’m not seeing?
  • Which version of Pulseaudio you are using? – jarno May 20 at 7:10
  • Have you tried different resample-method? – jarno May 20 at 7:45
  • Similar question – jarno May 20 at 11:49
  • I'm on pulseaudio 12.2, but at this point, I've just switched to another mic, so I may never get around to fully debugging this issue! – Ryan Lue May 21 at 5:45
1

You could try setting

   default-sample-rate = 44100
   alternate-sample-rate = 16000

and/or

   avoid-resampling = yes

if you have pulseaudio version >= 11.

In Pulseaudio 13 there may be even more options, see here

I think it is good to make a bug report about this issue and link it in a comment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.