We would like to do real time audio streaming using TLV320 Codec and BF526 processor. Presently we have used the I2C interface and bfin-sport(Char devices) in user space and recorded files. We are trying to do a live audio streaming - getting samples from the codec, do filtering and send it via UART(downsampled). We do not know how to receive samples live, and how we can synchronize with the codec output. To be exact, we need to know the instant we received 'n' no. of samples from codec. How can we achieve this in user space?