From: Joe Hsu <nagual.hsu@gmail.com>
To: Peter Zubaj <pzad@pobox.sk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: about bt878/879
Date: Thu, 31 Mar 2005 07:08:16 +0800 [thread overview]
Message-ID: <7fe2059905033015081a7cac09@mail.gmail.com> (raw)
In-Reply-To: <424AE25D.7070000@pobox.sk>
Thanks for your reply....I have tried inserted some samples. And the
buffer underrun
for playback is gone. However, the sound quality is not right, ie.
having some noise.
I think I may do something wrong. For example, I capture 64 frames
once at a time
and check 'snd_pcm_avail_update', and then decide to insert one extra frames.
This extra frame is an average of 32th and 33th frame. The numbers of
extra frames
are not fixed every time and the biggest num is 8. And the number of
frames I capture
is raging from 64 to 256.(ie., 64, 128, 192, 256)
Should I measure HZs both in AC97 and Bt878 at first to get an overview
for up/down sampling?
On Wed, 30 Mar 2005 19:31:09 +0200, Peter Zubaj <pzad@pobox.sk> wrote:
> Yes, they can. But 8000 Hz on bt878 or AC97 is not exactly 8000 HZ. It
> can be for example 8010 Hz for AC97 and 7990 for bt878. Only high end
> sound card can be synchronized together. For your case, you should
> handle this situation for example by discarding or inserting some samples.
>
> Peter Zubaj
>
> Joe Hsu wrote:
>
> >Well.....I believe the AC97 alsa driver can operate at 8000 HZ in
> >software level.
> >
> >
> >On Wed, 30 Mar 2005 12:56:27 +0200, Peter Zubaj <pzad@pobox.sk> wrote:
> >
> >
> >>Hi,
> >>
> >>Just blind shot: Maybe diffrence in crystal frequence. 8000 Hz on
> >>bt878 is not 8000 Hz on AC97.
> >>
> >>Peter Zubaj
> >>
>
--
The sun is shinny but the ice is slippery.
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
next prev parent reply other threads:[~2005-03-30 23:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-30 10:56 about bt878/879 Peter Zubaj
2005-03-30 14:08 ` Joe Hsu
2005-03-30 17:31 ` Peter Zubaj
2005-03-30 23:08 ` Joe Hsu [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-30 10:48 Joe Hsu
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=7fe2059905033015081a7cac09@mail.gmail.com \
--to=nagual.hsu@gmail.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=pzad@pobox.sk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.