View Single Post
Old 08 June 2021, 06:44   #7
CaptFuture
Registered User
 
CaptFuture's Avatar
 
Join Date: Aug 2020
Location: Netherlands
Posts: 31
Quote:
Originally Posted by ImmortalA1000 View Post
Thanks to all the replies

Imagine trying to write a CD audio player inside Blitz (my preferred choice for performance) or Amos with the ability to set start and end points in minutes:seconds within the program to play a CDDA track. If I can do that with some sort of patch/library we're good to go with a test game
The CD Audio standard actually supports indices within tracks, which allows you to start playback somewhere in a track other than just the beginning. So basically it allows you to subdivide a track further for more fine grained random access. Sample CDs back in the day often used this index feature to overcome the 99 track limit of CD, although very few consumer CD players supported it.

The good news is that cdtv.device supports it. The CDTV_PLAYTRACK command allows you to specify start and stop track numbers AND index if you want. (Doing this in AMOS Pro is possible, although very messy.)
CaptFuture is offline  
 
Page generated in 0.04492 seconds with 11 queries