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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801540

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to