Skip to contentSkip to conversation

Relation between SND_PCM_IOPLUG_HW_PERIODS and SND_PCM_IOPLUG_HW_BUFFER_BYTES ?

DISCUSSION Stefan Schoenleitner 1 participant 1 message Apr 30, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

what is the relation between SND_PCM_IOPLUG_HW_PERIODS and SND_PCM_IOPLUG_HW_BUFFER_BYTES ?

While SND_PCM_IOPLUG_HW_BUFFER_BYTES is the setting of the hardware buffer size, I'm not sure exactly what SND_PCM_IOPLUG_HW_PERIODS is.

I suppose it is the number of periods the hardware buffer can take ? Hence the SND_PCM_IOPLUG_HW_PERIODS value is actually derived from the size of the hardware buffer ?

Or is it rather the number of periods the ioplugin can receive at once ?

Please enlighten me,
cheers,
Stefan