[alsa-devel] snd_pcm_runtime.buffer_size question

Tim Blechmann tim at klingt.org
Wed Feb 11 18:21:11 CET 2009


hi all,
i am currently fighting with the snd_pcm_runtime.buffer_size. how is the
value defined?

i would expect:
channels * periods * period_size * sample_bits/8
(in my case 64*5*128*3)

however in the code, i am working on, it seems to be:
periods * period_size
(in my case 5*128)

am i missing something obvious?

thanks, tim

-- 
tim at klingt.org
http://tim.klingt.org

Just what the hell is the experimental tradition?
  Morton Feldman


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090211/bacb68a1/attachment.sig 


More information about the Alsa-devel mailing list