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 is
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 writ
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
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 te
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?
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, Clemens Ladisch wrote:
> > I have discovered a problem with xine when using it. I have done a work
> > around in xine so that dmix now works in xine. I think that my
> > assumptions regarding snd_pcm_wait() might have been wrong, so I want to
> > get accurate details from your
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.
> ...
> So, when is a PCM ready?
When you can read/write some data without blocking, i.e.,
avail >= avail_
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
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 otherwise
10 matches
Mail list logo