[h323plus] How to split audio
dansukcu at ttmail.com
Fri Oct 24 02:59:02 EDT 2008
Thank you Ryan,
Will I implement this by deriving H323Codec class and override "write" function and then use it in OpenAudioChannel function or is there another way to do this?
From: Ryan Yan [mailto:yanrongrong1983 at msn.com]
Sent: Fri 10/24/08 9:07
To: dansukcu; h323plus at lists.packetizer.com
Subject: Re: [h323plus] How to split audio
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 ...
Sent: Friday, October 24, 2008 1:48 PM
To: h323plus at lists.packetizer.com
Subject: [h323plus] How to split audio
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the h323plus