From: Takashi Iwai <tiwai@suse.de>
To: "Yang, Libin" <libin.yang@intel.com>
Cc: "Lin, Mengdong" <mengdong.lin@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: Re: [PATCH] ALSA: hda - using POS_FIX_LPIB on Broadwell HDMI Audio
Date: Thu, 08 May 2014 07:51:17 +0200 [thread overview]
Message-ID: <s5htx90q0mi.wl%tiwai@suse.de> (raw)
In-Reply-To: <96A12704CE18D347B625EE2D4A099D195232A6@SHSMSX103.ccr.corp.intel.com>
At Thu, 8 May 2014 05:48:04 +0000,
Yang, Libin wrote:
>
> Hi Takashi,
>
> I checked the wallclock counter. The counter is OK. But it failed to correct the position.
So, how wrong the position buffer is? Is the problem intermittent?
Please elaborate more.
Takashi
> This issue happens when we play sound on HDMI audio. We have tried with aplay and paplay.
>
> I have tried the buffer size of 16384, 8192 and 4096 and with the sample rate of 48KHz and 44.1KHz.
>
> Regards,
> Libin
>
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Thursday, May 8, 2014 1:09 PM
> > To: Yang, Libin
> > Cc: alsa-devel@alsa-project.org; Lin, Mengdong; Pierre-Louis Bossart
> > Subject: Re: [PATCH] ALSA: hda - using POS_FIX_LPIB on Broadwell HDMI
> > Audio
> >
> > At Thu, 8 May 2014 02:03:24 +0800,
> > libin.yang@intel.com wrote:
> > >
> > > From: Libin Yang <libin.yang@intel.com>
> > >
> > > Audio stream is not continuous if using position buffer on Broadwell
> > > HDMI audio. Sound is clipped.
> > > Fix this issue by using POS_FIX_LPIB.
> >
> > That's odd. The recent Intel hardware has a wallclock support, so the
> > position should be corrected by that.
> >
> > In which situation did the problem happen? Did it happen with every
> > application and any period/buffer setup?
> >
> >
> > Takashi
> >
> > >
> > > Signed-off-by: Libin Yang <libin.yang@intel.com>
> > > ---
> > > sound/pci/hda/hda_intel.c | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> > > index b540ad7..9cd40c6 100644
> > > --- a/sound/pci/hda/hda_intel.c
> > > +++ b/sound/pci/hda/hda_intel.c
> > > @@ -993,6 +993,7 @@ static struct snd_pci_quirk position_fix_list[] = {
> > > SND_PCI_QUIRK(0x1565, 0x8218, "Biostar Microtech", POS_FIX_LPIB),
> > > SND_PCI_QUIRK(0x1849, 0x0888, "775Dual-VSTA", POS_FIX_LPIB),
> > > SND_PCI_QUIRK(0x8086, 0x2503, "DG965OT AAD63733-203",
> > POS_FIX_LPIB),
> > > + SND_PCI_QUIRK(0x8086, 0x2010, "Broadwell HDMI audio",
> > POS_FIX_LPIB),
> > > {}
> > > };
> > >
> > > --
> > > 1.8.3.2
> > >
>
next prev parent reply other threads:[~2014-05-08 5:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 18:03 [PATCH] ALSA: hda - using POS_FIX_LPIB on Broadwell HDMI Audio libin.yang
2014-05-08 5:09 ` Takashi Iwai
2014-05-08 5:48 ` Yang, Libin
2014-05-08 5:51 ` Takashi Iwai [this message]
2014-05-08 6:13 ` Yang, Libin
2014-05-08 6:19 ` Takashi Iwai
2014-05-08 6:28 ` Yang, Libin
2014-05-08 6:39 ` Takashi Iwai
2014-05-08 7:58 ` Yang, Libin
2014-05-08 16:06 ` David Henningsson
2014-05-09 10:08 ` Lin, Mengdong
2014-05-09 10:20 ` Takashi Iwai
2014-05-12 8:22 ` Lin, Mengdong
2014-05-12 8:31 ` Takashi Iwai
2014-05-12 9:46 ` Lin, Mengdong
2014-05-12 9:51 ` Takashi Iwai
2014-05-13 4:37 ` Lin, Mengdong
2014-05-13 7:19 ` Takashi Iwai
2014-05-13 9:00 ` Lin, Mengdong
2014-05-09 14:58 ` Pierre-Louis Bossart
2014-05-08 9:37 ` Lin, Mengdong
2014-05-08 9:42 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5htx90q0mi.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=libin.yang@intel.com \
--cc=mengdong.lin@intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox