Jaroslav Kysela wrote:
On Tue, 23 Mar 2004, Clemens Ladisch wrote:
The following test program shows strange behaviour:
Thanks. It's fixed in CVS now.
The second problem persists, i.e., snd_pcm_wait() returns although the
pcm isn't actually ready:
$ ./waittest dmix:hw:0
12000 frames written
On Wed, 24 Mar 2004, Clemens Ladisch wrote:
Jaroslav Kysela wrote:
On Tue, 23 Mar 2004, Clemens Ladisch wrote:
The following test program shows strange behaviour:
Thanks. It's fixed in CVS now.
The second problem persists, i.e., snd_pcm_wait() returns although the
pcm isn't actually
Jaroslav Kysela wrote:
On Mon, 22 Mar 2004, James Courtier-Dutton wrote:
My current tests were not using the resampler. i.e. app using 48k, sound
card using 48k. I will try some tests that would use the resampler.
Then I need more info how I can reproduce the bug.
The following test
On Tue, 23 Mar 2004, Clemens Ladisch wrote:
Jaroslav Kysela wrote:
On Mon, 22 Mar 2004, James Courtier-Dutton wrote:
My current tests were not using the resampler. i.e. app using 48k, sound
card using 48k. I will try some tests that would use the resampler.
Then I need more info
yOn Sun, 21 Mar 2004, James Courtier-Dutton wrote:
I need more details on exactly what snd_pcm_wait() is supposed to do.
The documentation on the www.alsa-project.org gives: -
Wait for a PCM to become ready.
Parameters:
pcm PCM handle
timeout maximum time in
Jaroslav Kysela wrote:
So, when is a PCM ready?
If a PCM is already in SND_PCM_STATE_RUNNING, when is snd_pcm_wait()
supposed to return ?
When avail = avail_min.
1) Does this depend on period size in any way?
For example, if period size is 6000 frames, and I set avail_min to 2000
frames, will
On Mon, 22 Mar 2004, James Courtier-Dutton wrote:
Jaroslav Kysela wrote:
So, when is a PCM ready?
If a PCM is already in SND_PCM_STATE_RUNNING, when is snd_pcm_wait()
supposed to return ?
When avail = avail_min.
1) Does this depend on period size in any way?
For example, if
I need more details on exactly what snd_pcm_wait() is supposed to do.
The documentation on the www.alsa-project.org gives: -
Wait for a PCM to become ready.
Parameters:
pcm PCM handle
timeout maximum time in milliseconds to wait
Returns:
a positive value on success