[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SourceForge CVS



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@cs.vassar.edu" 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@cs.vassar.edu" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search