0
0

Hi :)

I’m trying to create a live streaming software
i thought the best way would be to continuosly record the sound, check it every few ms and read out the new data since the last readout
(with FSOUND_Sample_Lock) then transfer it and reintegrate it in a free sample and last but not least play this sample.

i allready managed it to read out the data but i don’t know how to load the data back into a new sample.
i also don’t know if it’s the right way i’m going

i would be glad if someone could help me :)

  • You must to post comments
0
0

Check out the record example. It shows how to record and playback simultaneously using the same sample.

  • You must to post comments
0
0

i already made this.. playing the sample while recording on the local pc with fsound_play and looping enabled (seems the recording sample does it the same way)
but for live streaming i first need to transfer the sample to another pc .. and thats where the problem is.. i know how to read out the raw data from sample with fsound_lock but i don’t know how to reintegrate the data into a new sample on the client pc
between.. i never programmed with c++ :)

  • You must to post comments
0
0

Lock a sample on the client pc and copy the data into it. Should be almost identical to the code you use to read from the sample except, in this case, you’re writing to it.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.