alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Juan Manuel Lopez Baio <jmbaio@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: Problem restarting alsa: can't set buffer size
Date: Wed, 06 Jun 2007 08:21:51 +0200	[thread overview]
Message-ID: <1181110911.8385.1193688563@webmail.messagingengine.com> (raw)
In-Reply-To: <ef9bc5590706051211x6721440esab78f04e1f987913@mail.gmail.com>

Juan Manuel Lopez Baio wrote:
> The problem is that afterwards, if I restart the application, I can't set up
> ALSA, becausea continuous calls to snd_pcm_hw_params_set_buffer_size always
> fail  (I start with a buffer size of 8192 and keep dividing it by 2).

What values are returned by snd_pcm_hw_params_get_buffer_size_max()
and _min()?

Why do you try to set a buffer size?

> I finally have to restart the system in order to get it to work again.

Which sound driver are you using?


Regards,
Clemens

      reply	other threads:[~2007-06-06  6:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 19:11 Problem restarting alsa: can't set buffer size Juan Manuel Lopez Baio
2007-06-06  6:21 ` Clemens Ladisch [this message]

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=1181110911.8385.1193688563@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=jmbaio@gmail.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;
as well as URLs for NNTP newsgroup(s).