Archived

This topic is now archived and is closed to further replies.

Drilian

Seamless MP3 looping using DirectShow

Recommended Posts

I don''t know a whole lot about DirectShow (I haven''t done much with anything other than D3D, DSound, and DInput in DX), I was wondering if it were possible to seamlessly loop an MP3 using DIrectshow (or seamlessly mix from one MP3 to another). My idea was, for my music program, to have an "intro" sound, a "main loop" (the bulk of the song) sound and possibly an "ending" sound. When a background track starts, play the intro, then seamlessly cut straight into the main loop, and just loop that until it decides that the song is over. Is this potentially possible? If so, I assume I''d have to use multiple streams and some kind of event triggering. Anyway, I would like more of an "is this possible" than an actual "howto" but if you WANT to give me a howto, I''m all ears Thanks (in advance, of course). Josh

Share this post


Link to post
Share on other sites
yes possible, though difficult (not sure how quick directshow can rewind in a file, so it may require some other tricks).

Share this post


Link to post
Share on other sites