Question: (ALSA)Audio Source Buffering

Hello,

       I have built a receiver with alsa source. I think without
buffering , fast audio source is drowning the receiver blocks as they
are slower.
How can I buffer the data from alsa source and rest of receiver blocks
like bandpass filter , time sync , data decoder operate on buffered
data. Actually i want to implement a circular buffer.

Any suggestions would be appreciated.

Thanks
Ram
          Â