im trying to write an app along the lines of "roger wilco" to enable comms over a network while gaming.... im writing it in vb because my vb is much better than my C+ skills.(feel free to convert me back to c+) but im stuck!!!
this is what i think i know so far....
1.i need to activate the mic when a voice "appears" (ie not background noise)
2.i want to create a small buffer(this is were i think i need to use a streaming buffer)
3.next i need to send this buffer over the network(and keep it updated)
4. the app recieving the buffer needs to play the buffer.
i need a question... hmm... er...
does anyone have any sample code in c+ that i might be able to use to get the hang of what im trying to do.
so far ive created an app(in vb) that gets about 10 seconds of mic time(when a user presses start) it then saves the file and sends it over the network (not got round to the playing it bit yet?!?).
i have visual studio enterprise and service pack5 and direct x 8 sdk
any hints tips pointers or anything else greatly welcomed.
this is what i think i know so far....
1.i need to activate the mic when a voice "appears" (ie not background noise)
2.i want to create a small buffer(this is were i think i need to use a streaming buffer)
3.next i need to send this buffer over the network(and keep it updated)
4. the app recieving the buffer needs to play the buffer.
i need a question... hmm... er...
does anyone have any sample code in c+ that i might be able to use to get the hang of what im trying to do.
so far ive created an app(in vb) that gets about 10 seconds of mic time(when a user presses start) it then saves the file and sends it over the network (not got round to the playing it bit yet?!?).
i have visual studio enterprise and service pack5 and direct x 8 sdk
any hints tips pointers or anything else greatly welcomed.