You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I use the soundtouch library to change the voice , but cannot wrok
In the RtpStreamSender.java 435 line
pos = (ring+delay*frame_rate*frame_size/2)%(frame_size*(frame_rate+1));
num = record.read(lin,pos,frame_size);
System.out.println("num :" + num);
if (num <= 0)
continue;
short[] samples = lin.clone();
soundTouch.setRate(50);
soundTouch.putSamples(samples, pos, samples.length);
short[] samepleBuffer = new short[lin.length];
int nSample = soundTouch.receiveSamples(samepleBuffer, 0, samples.length);
System.out.println("samples= " + nSample);
lin = samepleBuffer.clone();
if (!p_type.codec.isValid())
continue;
// Call recording: Save the frame to the CallRecorder.
if (call_recorder != null)
How to change it?
Original issue reported on code.google.com by tqj.zyy@gmail.com on 6 May 2014 at 12:38
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
tqj.zyy@gmail.com
on 6 May 2014 at 12:38The text was updated successfully, but these errors were encountered: