Article View: borland.public.csharpbuilder.multimedia
Article #5Re: Pointing to a different structure
From: Joe Gabriele
Date: Thu, 13 Apr 2006 23:20
Date: Thu, 13 Apr 2006 23:20
43 lines
2896 bytes
2896 bytes
Hello Marc, Thanks for your patience. I was trying to write an audio recorder and player that would create and play two language audio on a quad audio card. To that end, I was trying to replace the WaveFormatEx section of the DirectSound BufferDescription with a WaveFormatExtensible structure thinking I needed 3D sound (one language from the front speakers and the other from the back speakers). After some more studying, it turns out I don't have to go this route. I was able accomplish my task with a single stereo channel (English audio on the right channel and French audio on the left channel) using Managed DirectSound. I simply record each language in stereo and play both files back simultaneously. On playback, the player configures the English stream (right channel) to have the left channel volume set to 0 whereas the French stream (left channel) has the right channel volume set to 0. The outcome is one language on one side and the second language on the other. Again, thanks for your patience and help. I am closing this thread but will be opening another on text to speech. Regards... Joe Gabriele "Marc Rohloff [TeamB]" <"on request"> wrote in message news:l9eids1x5dc6.dlg@dlg.marcrohloff.com... > On Fri, 7 Apr 2006 20:50:21 -0400, Joe Gabriele wrote: > >> BufferDescription is the DirectX Sound structure into which you would >> load a >> WAV file in order to play it. The Format element of BufferDescription is >> the >> WaveFormatEx structure. I would like to replace it with a >> WaveFormatExtensible structure instead. > > Can you post the definition you're using or better yet a complete code > example. It might help if you post links to what you are trying to do. > > -- > Marc Rohloff [TeamB] > marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<443edcc1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<442a73c4@newsgroups.borland.com> <1bw2ghnadam3m$.dlg@dlg.marcrohloff.com> <443708cb$1@newsgroups.borland.com> <l9eids1x5dc6.dlg@dlg.marcrohloff.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 21671d,465a433e4cb87aef X-Google-Attributes: gid21671d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Joe Gabriele" <SORRY@TOO.MUCH.SPAM> Newsgroups: borland.public.csharpbuilder.multimedia References: <442a73c4@newsgroups.borland.com> <1bw2ghnadam3m$.dlg@dlg.marcrohloff.com> <443708cb$1@newsgroups.borland.com> <l9eids1x5dc6.dlg@dlg.marcrohloff.com> Subject: Re: Pointing to a different structure Date: Thu, 13 Apr 2006 19:20:35 -0400 Lines: 45 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 NNTP-Posting-Host: 64.229.211.174 Message-ID: <443edcc1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144970433 64.229.211.174 (13 Apr 2006 16:20:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail