View Single Post
Old Feb 9th, 2008, 10:37 PM   #20
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 850
Rep Power: 4 The Dark is on a distinguished road
Re: Streaming Audio over network

You have two separate queues, input and output, so you will need two separate sets of ReadIndex and WriteIndex. It may even be worth making a queue class so you don't have to have the same code twice.

Also your PLayOutput and SendInput functions both use the variable a without setting a value into it.
The Dark is online now   Reply With Quote