Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

How to play audio stream


  • Please log in to reply
No replies to this topic

#1 quevedo


    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 24 March 2010 - 09:04 AM


I am working on an integrated software/hardware project. We use a microcontroller to digitize audio, and then send it through a digital interface to a computer. Audio will be sent in packets, with a small header (nothing like a full WAVE header).

I am using Visual Studio 2008, with VB. When I receive packets, they are placed into a buffer. We expect using 2 buffers, alternately (one is being filled while the other is being used as a data stream to the audio system). Now the question is, does anybody know how I can play CONTINUOUSLY the audio data coming from this stream?

Any piece of code as an example would be very appreciated.

Thanks in advance.
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download