A possible explanation about the delay at playback while capturing is
that the FIFO size reported for each stream is influenced by other
action.  The patch assumed that it's constant (like other platforms do),
but AMD might vary it per state.

The patch below (fix6) takes a hard-coded FIFO size.  Check it out.

There is one adjustment knob in the patch for an open question; whether the 
fixed FIFO size is in frames (samples) or in bytes, i.e. if the sample format 
changes from 32 to 16bit, whether FIFO size changes, too.
If the patch was confirmed to work more or less, try to define/undefine 
AMD_FIXED_FIFO_IN_FRAMES, and check the behavior with S16 or S32 formats (on PA 
setup and/or aplay/arecord parameters).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1801540

Title:
  Microphone distorted sound on ALC892/1220 on AMD chipsets

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Won't Fix
Status in pulseaudio package in Ubuntu:
  Won't Fix

Bug description:
  Not sure if I'll report this upstream but there is definitely an issue
  with microphone recording on my desktop, this is not happening on my
  laptop which has a different codec.

  Already tried all workarounds possible, no luck. Only with my desktop
  with this particular motherboard. No issues in Windows, the sound
  recorded in there is distorted and has some static and robotic tone on
  high-pitch.

  alsa-info on the attachments

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1801540/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to