Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 27 Mar 2006 15:37:53 -0700,    group: microsoft.public.win32.programmer.directx.sdk        back       


Directx 9 audio question   
I have an application that sequences WAV files, it is written using VB .NET 
2003. I am using the AudioVideoPlayback Audio class to play the WAV files 
and it does pretty much everything I need in a very simple way. The only 
issue I have is that some of the files need to loop seemlessly and using the 
"Ending" event and resetting the current position seems to have a glitch or 
a delay that causes a glitch in the sound played back. I have searched but 
can not find any samples, other than the ones that do exactley what I am 
doing, for avoiding this problem. I think the issue may be that the files 
being looped are quite large (running around 3 minutes) and that this simple 
looping technique is just not fast enough.

One idea is to have two audio objects for these looped sounds, each set up 
ready to go when the sound starts but playing them one after the other, 
hopefully avoiding the "seek" delay. Before I expend effort on this new 
approach can anyone advise if it is the way to go, or is there a better 
approach?

Many thanks,
Sid.
date: Mon, 27 Mar 2006 15:37:53 -0700   author:   Sid Price

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us