All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: "Nicolas Hüppelshäuser" <nh@emlix.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: pcm buffer size
Date: Tue, 25 May 2004 11:49:30 +0100	[thread overview]
Message-ID: <40B324BA.5060802@superbug.demon.co.uk> (raw)
In-Reply-To: <E1BSYzY-0004YC-00@mailer.emlix.com>

Nicolas Hüppelshäuser wrote:
> Hi!
> 
> I'm using alsa 1.0.4.  How can I get a larger alsa buffer size?  The
> maximum size returned by snd_pcm_hw_params_get_buffer_size_max is too
> small.  I found no module option and nothing apropriate within the driver
> code.  Mainly I'm using the snd-usb-audio module but others are also of
> interest.
> 
> best regards
> 	Nicolas Hueppelshaeuser
> --

You cannot. the value returned by 
snd_pcm_hw_params_get_buffer_size_max() is based on the hardware 
limitations. If you need more buffer space, buffer up the data in your 
application.

Cheers
James



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-05-25 10:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 10:17 pcm buffer size Nicolas Hüppelshäuser
2004-05-25 10:49 ` James Courtier-Dutton [this message]
2004-05-25 12:07 ` Clemens Ladisch

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=40B324BA.5060802@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nh@emlix.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 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.