<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [h323plus] How to split audio</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Thank you Ryan,<BR>
<BR>
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?<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Ryan Yan [<A HREF="mailto:yanrongrong1983@msn.com">mailto:yanrongrong1983@msn.com</A>]<BR>
Sent: Fri 10/24/08 9:07<BR>
To: dansukcu; h323plus@lists.packetizer.com<BR>
Subject: Re: [h323plus] How to split audio<BR>
<BR>
How to split audioHi, dansukcu<BR>
<BR>
You can try as follows to get what you want:<BR>
<BR>
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...).<BR>
<BR>
For example, if your PCM audio data format is Stereo (channels), 16bit (sample size), 16000kHz (sample rate), then the data in memory is:<BR>
   (1 2) (3 4) (5 6) (7 8) ...    (Byte)<BR>
  L    R    L    R  ...<BR>
<BR>
<BR>
<BR>
<BR>
From: dansukcu<BR>
Sent: Friday, October 24, 2008 1:48 PM<BR>
To: h323plus@lists.packetizer.com<BR>
Subject: [h323plus] How to split audio<BR>
<BR>
<BR>
<BR>
<BR>
Hi,<BR>
<BR>
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.<BR>
Has anyone implemented something like this before or any suggestions?<BR>
<BR>
Thanks,<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>