From: Takashi Iwai <tiwai@suse.de>
To: Shaju Abraham <shaju@multitech.co.in>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Use less number of BDs in i810
Date: Wed, 07 Aug 2002 11:54:03 +0200 [thread overview]
Message-ID: <s5h3ctrkn9g.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D50CB27.43CC7EA9@multitech.co.in>
At Wed, 07 Aug 2002 12:54:23 +0530,
Shaju Abraham wrote:
>
> Hi all,
> I suppose that present implementation of i810 driver uses
> 32 BDs.
no, it's maximal 32 BDs.
and, in the current code, a period (as the alsa's terminology)
corresponds to a BD, i.e. maximal 32 periods.
> Can u pls direct me how to reduce this number to say only 16 or 8 BDs.
>
> Also, now if the number of frags I am getting is 8, size of each frag I am
> getting is 4456 bytes. I have two questions regarding this.
>
> 1. How can I force the fragment size to be abt 1k or 2k bytes?
via alsa-lib API. set the period size (or period time) explicitly.
> 2. Is it strange that this number is not a multiple of 512 bytes? ( I
> am getting physize of 35648 bytes. not 32K ? )
in the current code it's ok. the size of each BD is arbitrary.
but if we use discontinuous kernel pages via scatter-gather mechanism,
the period size must be aligned to the power of two. this is not
implemented on intel8x0 driver yet, but once if it's there, the size
will be restricted.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-08-07 9:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 15:51 new alsa docs Patrick Shirkey
2002-08-05 20:01 ` Dan Hollis
2002-08-06 9:13 ` Patrick Shirkey
2002-08-06 12:48 ` Joerg Mayer
2002-08-07 7:24 ` Use less number of BDs in i810 Shaju Abraham
2002-08-07 9:54 ` Takashi Iwai [this message]
2002-08-06 3:25 ` new alsa docs Andy Wingo
2002-08-06 9:25 ` Patrick Shirkey
2002-08-06 9:47 ` James Tappin
2002-08-06 11:12 ` Patrick Shirkey
2002-08-07 12:32 ` Takashi Iwai
2002-08-09 19:50 ` Karsten Wiese
2002-08-06 16:24 ` Andy Wingo
2002-08-07 12:27 ` Takashi Iwai
2002-08-07 17:11 ` Niklas Werner
2002-08-08 23:49 ` Scott MacKenzie
2002-08-09 7:19 ` Patrick Shirkey
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=s5h3ctrkn9g.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=shaju@multitech.co.in \
/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.