[Portaudio] running a nmber of clocks per sample?

Robert Bielik robert.bielik at xponaut.se
Thu Jan 7 02:49:11 EST 2010

malik martin skrev:
> well i guess that i don't fully understand framesperbuffer.

1 frame = an instance in time (at samplerate) with N samples (N=1..*)

A buffer contains M frames with N samples each. In your case (if you have stereo) then
M = 256 and N = 2.

> And how long does 256 frames last at a 44100Hz
> sample rate?

256 frames at 44100Hz lasts 256/44100 seconds.


More information about the Portaudio mailing list