(In reply to Takashi Iwai from comment #200) > 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).
Forgot to test with aplay without PA with the define disabled, however the acquired audio with PulseAudio was bad, like "low quality" (and the output was delayed as before). Using arecord (but not with PA disabled) I was hearing again a little of crackling. With the define the audio was perfect again with arecord (however only with PA disabled, I've tried to use aplay in another terminal while using arecord, however the audio is played back only when PA resumes; I'm not sure if this is something to be expected), same thing with PA; however the output was delayed again (when acquiring from PA). I've tested both S16 and S32 with the define and pulseaudio disabled, no problem heard. -- 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