I'm thinking about creating an engine for allowing people to load certain BGM (BackGround Music) to any BlitzMAX projects.
What I'm attempting to do is to support 3 different types of playback: play once, looping only, or intro and looping. The intro and looping part requires perfect timing to switch from the intro part of the song to the looping part of the song. That means, if I were attempt to create the engine using basic BlitzMAX coding, it may cause a small gap when switching. It may not be noticeable in a fastest computer, but noticeable when the application becomes inactive or very slow.
Would creating a module be the best way for running the engine in the "background" during the project's runtime?
What I'm attempting to do is to support 3 different types of playback: play once, looping only, or intro and looping. The intro and looping part requires perfect timing to switch from the intro part of the song to the looping part of the song. That means, if I were attempt to create the engine using basic BlitzMAX coding, it may cause a small gap when switching. It may not be noticeable in a fastest computer, but noticeable when the application becomes inactive or very slow.
Would creating a module be the best way for running the engine in the "background" during the project's runtime?