Quantcast
Viewing all articles
Browse latest Browse all 69026

Real time audio and queues

Hi all,
I have a problem with my project. I need to acquire sound from my soundcard (16 bit, 22050Hz) for later processing. I´m using a queue with consumer-producer structure. The thing is that I need to get a constant flow of 'sample packets' of 20ms length (441 samples) at the consumer loop and now data jerks every 1 second. I've posted a picture of my code. Any help will be welcomed.

 

Thank you!

 

Image may be NSFW.
Clik here to view.
Captura de pantalla 2014-04-05 a la(s) 21.06.58.png


Viewing all articles
Browse latest Browse all 69026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>