* Different returns from snd_pcm_readi() in differen versions from ALSA driver
@ 2010-11-08 16:06 PgmHelmi
2010-11-11 8:33 ` PgmHelmi
0 siblings, 1 reply; 2+ messages in thread
From: PgmHelmi @ 2010-11-08 16:06 UTC (permalink / raw)
To: alsa-devel
Hi!
We had to write a driver for audio playing and recording on Linux thin
clients. We are using ALSA driver + libs for it, but we are
depending on the versions which are installed on them.
We have a certain buffer size for this and set the corresponding
hardware and software parameters and call for capture
snd_pcm_readi(). The function returns the read buffer frames. In most
versions this is equal to the number of wanted passed frames, but
not in all. We have ALSA driver version 1.0.15 and 1.0.22.1 where the
returned number is the same. But we have also version 1.0.21
where the returned number is the period size or a multiple of it.
So conclusion is, that something was changed between 1.0.15 and 1.0.21
and changed back till 1.0.22.1. As we are dependent on the
behaviour of the former and newer version, my question is, if there is a
possibility to get the same behaviour in version 1.0.21?
Thank you for your answer in advance!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Different returns from snd_pcm_readi() in differen versions from ALSA driver
2010-11-08 16:06 Different returns from snd_pcm_readi() in differen versions from ALSA driver PgmHelmi
@ 2010-11-11 8:33 ` PgmHelmi
0 siblings, 0 replies; 2+ messages in thread
From: PgmHelmi @ 2010-11-11 8:33 UTC (permalink / raw)
To: alsa-devel
Hi!
Has at least somebody a hint for us, where we can find a solution for
our problem? We searched already in mailing list and internet but could
not found something fitting. And the list of release changes is very
long and descriptions are not always very clear.
Kind regards
PgmHelmi schrieb:
> Hi!
>
> We had to write a driver for audio playing and recording on Linux thin
> clients. We are using ALSA driver + libs for it, but we are
> depending on the versions which are installed on them.
>
> We have a certain buffer size for this and set the corresponding
> hardware and software parameters and call for capture
> snd_pcm_readi(). The function returns the read buffer frames. In most
> versions this is equal to the number of wanted passed frames, but
> not in all. We have ALSA driver version 1.0.15 and 1.0.22.1 where the
> returned number is the same. But we have also version 1.0.21
> where the returned number is the period size or a multiple of it.
>
> So conclusion is, that something was changed between 1.0.15 and 1.0.21
> and changed back till 1.0.22.1. As we are dependent on the
> behaviour of the former and newer version, my question is, if there is a
> possibility to get the same behaviour in version 1.0.21?
>
> Thank you for your answer in advance!
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-11 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 16:06 Different returns from snd_pcm_readi() in differen versions from ALSA driver PgmHelmi
2010-11-11 8:33 ` PgmHelmi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).