I need some help with fmod and networking I am working on a project where we are using fmod and udp networking. I am trying to do voice chat I am creating a fmod sound * and filling it out with the createexinfo stucture then recoding to it. But how do i get the data i need from this sound * and send it across the network. do you use the read data function? or get user data function? I am not sure, right now we are casting the sound pointer to a char pointer but that is not working mainly because I am casting a pointer to a class. can anyone help!
- polemos asked 12 years ago
your right I wasn’t thinking when i was trying to send the sound pointer, but thanks for the tip with lock and unlock I will try that, but is sounds lock and unlock just like a vertex buffer where i can just memcopy the pcm data into a char buffer in between the lock and unlock calls.
- polemos answered 12 years ago
Please login first to submit.