To all the FMOD pros:
I am working in VB and have resolved most of my own questions, but still having a problem with the duration of an Internet stream. I want to record individual tracks, and the Record function requires a value for recordtime… but when I use FMOD.StreamGetDuration(lngCurChan) with the FMOD User Control it always returns 12174. Is there any way to obtain the remaining time of the current Track [i.e. song] playing? Do I need to know in advance the time of each tracK to record? Should I be using the Loop value when I call RecordStart?
One other minor issue, using the Stream_Net_SetMetadataCallback I can get the Artist and Title for a new track when a song ends and a new one starts, but not for the current track in progress when I opened the stream. Is there a way to obtain these values initially? I noticed in an example on the Forum that the stream was opened in Pause mode, have I somehow missed the Artist and Title by the time I invoke the Callback? I can get all the Tag fields at any time, but the only example for Artist and Title I found was to wait for the Callback to notify me the values had changed.
Hope someone out there has a few minutes to share any tips, my deepest thanks in advance. DK
- DKNY asked 11 years ago
- You must login to post comments