Hi Istvan, I haven't tried different device names, simply using "-o dac", nor have tried any other sample rates or channels. I'll try taking a look at rtalsa.c and alsa headers tonight to see if I can discover anything. Thanks! steven On 8/29/05, Istvan Varga wrote: > Steven Yi wrote: > > > I recently updated to Fedora Core 4 and with that upgraded my ALSA > > libs to 1.0.9 (was previously using 1.0.6). It seems that now I am > > unable to use -+rtaudio=alsa as Csound will fail with: > > > > *** Failed while trying to set soundcard DMA buffer size > > Failed to initialise real time audio output > > > > I have -b64 -B256 set, using --expression-opt and -m0 -d normally. My > > settings all worked before switching to FC4 and the new alsa libs. > > The Portaudio plugin seems to work alright, but would rather prefer to > > use the ALSA plugin. I've tried various combinations of -b and -B as > > well, without much luck. > > I only have ALSA 1.0.6 at this time, so some system upgrade is needed > to have an attempt at fixing this problem, unless there was an obvious > incompatible change in the ALSA API that broke the code below: > > /* buffer size, */ > if (dev->buffer_smps == 0) dev->buffer_smps = 1024; > if (dev->buffer_smps < 64) dev->buffer_smps = 64; > if (snd_pcm_hw_params_set_buffer_size(dev->handle, hw_params, > (snd_pcm_uframes_t) dev->buffer_smps) > < 0) { > sprintf(msg, " *** Failed while trying to set soundcard " > "DMA buffer size\n"); > goto err_return_msg; > } > > By the way, did you try using different device names ? Does the error > occur with all devices, and using any sample rate and number of channels ? > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net