All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_runtime.buffer_size question
@ 2009-02-11 17:21 Tim Blechmann
  2009-02-11 17:27 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Blechmann @ 2009-02-11 17:21 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 464 bytes --]

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@klingt.org
http://tim.klingt.org

Just what the hell is the experimental tradition?
  Morton Feldman



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
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:[~2009-02-11 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 17:21 snd_pcm_runtime.buffer_size question Tim Blechmann
2009-02-11 17:27 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.