Re: [Audacity-devel] P2 All platforms to consistently force Project Rate
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Leland <le...@au...> - 2009-01-10 19:17:02
|
Richard Ash wrote: > Hmm, that is supposed to work, and does for me. I've added a few debug > traces into the code, so you should be able to see it looking for an > appropriate rate that your hardware supports (my default ALSA device > does anything I throw at it, so I use hw(0:1) to get the native, 48000 > only device). > Guess I'm going bonkers. It's working just fine now for ALSA devices. Not related to the above, but what happens when you select an OSS device? Does it work for you? I get this on the console: Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1291 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1862 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1986 Why on earth would it be going through ALSA APIs if I've selected an OSS device? I must have something really mucked up here... :-( Leland |