[h323plus] How to split audio

Ryan Yan yanrongrong1983 at msn.com
Fri Oct 24 02:07:13 EDT 2008


How to split audioHi, dansukcu

You can try as follows to get what you want:

After the sound has been decoded, you will get the PCM audio data. The left and right channel sample data is stored one by one (L,R,L,R,L,R...).

For example, if your PCM audio data format is Stereo (channels), 16bit (sample size), 16000kHz (sample rate), then the data in memory is:
   (1 2) (3 4) (5 6) (7 8) ...    (Byte)
  L    R    L    R  ...




From: dansukcu 
Sent: Friday, October 24, 2008 1:48 PM
To: h323plus at lists.packetizer.com 
Subject: [h323plus] How to split audio




Hi,

I want to split two different audio from voip so that one goes to left and the other goes to right ear of the headphone.
Has anyone implemented something like this before or any suggestions?

Thanks,




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20081024/b52807a0/attachment-0004.html>


More information about the h323plus mailing list