[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
Re: SourceForge CVS
- To: Tim Cross <tcross@xxxxxxxxxxx>
- Subject: Re: SourceForge CVS
- From: Lukas Loehrer <listaddr1@xxxxxxxxxxx>
- Date: Sun, 14 May 2006 10:16:47 +0200
- Delivered-To: priestdo@xxxxxxxxxxx
- Delivered-To: emacspeak@xxxxxxxxxxx
- In-Reply-To: <17510.53892.927965.344069@xxxxxxxxxxx>
- List-Help: <mailto:emacspeak-request@xxxxxxxxxxx?subject=help>
- List-Post: <mailto:emacspeak@xxxxxxxxxxx>
- List-Subscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=subscribe>
- List-Unsubscribe: <mailto:emacspeak-request@xxxxxxxxxxx?subject=unsubscribe>
- Old-Return-Path: <listaddr1@xxxxxxxxxxx>
- Reply-To: listaddr1@xxxxxxxxxxx
- Resent-Date: Sun, 14 May 2006 04:17:02 -0400 (EDT)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <RLxNXB.A.8CB.-duZEB@xxxxxxxxxxx>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
Hi Tim,
according to the documentation, the version without _max only works if
there is exactly one possible buffer lenght in the configuration
space. If you are not using a .soundrc file that fixes the buffer size
to a specific value, I guess there will usually be plenty of
possibilities. The _max version returns the largest of those. However,
I am not sure that the largest is in general really what we want. I
have experienced problems with dmix and large buffer sizes. It seems
to me that a size of about 2k frames is not bad and with today's fast
machines, it should not come to too many underruns, even with a small
buffer.
Best regards, Lukas
Tim Cross writes ("SourceForge CVS"):
>
> I've done a diff on the old and new atcleci.cpp sources. The new
> version ($Id: atcleci.cpp,v 21.39 2006/05/12 02:16:32 raman Exp $)
> crashes with a failed assert ie
>
> size_t alsa_configure(): Assertion `err >= 0' failed.
> Aborted
>
> The diff of the old and new versions shows a change from
>
> err = snd_pcm_hw_params_get_buffer_time_max (params, &buffer_time, 0);
>
> to
>
> err = snd_pcm_hw_params_get_buffer_time (params, &buffer_time, 0);
>
> in the new version. Changing this call back stops the failed assert.
> I'm now going to look at the alsa docs to find out what the difference
> is between the two functions. However, I probably won't have time to
> do this until next weekend due to work commitments.
>
> Tim
>
> -----------------------------------------------------------------------------
> To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
> subject of "unsubscribe" or "help"
>
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe | Search