Re: MP3 in VB does not loop seamlessly
- From: "Lloyd Sheen" <a@xxx>
- Date: Wed, 21 Feb 2007 18:04:25 -0500
<casManG@xxxxxxxxx> wrote in message news:1172097491.039413.275420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 20, 11:01 am, "Lloyd Sheen" <a...@xxx> wrote:If you want to get rid of this you can use DirectX (not that difficult).
Then you create your first stream, play it and when it gets near the end you
create another stream with next mp3. You can then start the second mp3 at
your own defined time before the end (crossover). The first will end and on
you go.
Lloyd Sheen<casM...@xxxxxxxxx> wrote in message
news:1171937295.576547.73660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have tried using both the Windows Media Player control as well as
> the mciSendString method for playing an MP3 within my Visual Basic
> 2003 app. The problem is that when the MP3 is looping there is always
> a small bit of silence between when the sound ends and begins again. I
> have verified that the sound I am testing with loops perfectly without
> any pause or silence at the end of the sound when looping. Does anyone
> know how to make it so that I can play an MP3 seemlessly without the
> audible pause when looping. (I have done it with a wav file using
> winmm.dll successfully without the audible pause between loops)
A coupld of questions if you don't mind:
1. Does this require me to install the DirectX SDK?
2. Does this require the person running the program to have DirectX
installed, or do most XP and Vista machines have the required DirectX
stuff already to run the app?
3. Is there any way with mciSendString or Windows Media Player control
to do the same thing you suggested above?
Thanks in advance
cas
Not that I know of. I just installed Vista and when I installed my app it worked as did the source code so I think the dll is installed.
D:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.AudioVideoPlayback.dll
Now that is the dll that I ended up referencing. Did nothing to cause it to happen on new install so that might be best way.
Lloyd
.
- Follow-Ups:
- Re: MP3 in VB does not loop seamlessly
- From: casManG@xxxxxxxxx
- Re: MP3 in VB does not loop seamlessly
- References:
- MP3 in VB does not loop seamlessly
- From: casManG
- Re: MP3 in VB does not loop seamlessly
- From: casManG@xxxxxxxxx
- MP3 in VB does not loop seamlessly
- Prev by Date: Re: MP3 in VB does not loop seamlessly
- Next by Date: Re: XML and Direct Pathing to a node
- Previous by thread: Re: MP3 in VB does not loop seamlessly
- Next by thread: Re: MP3 in VB does not loop seamlessly
- Index(es):
Relevant Pages
|