Hi, 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@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,