0
0

I just don’t understand it. I’ve seen it in action, so I know it’s slow, but that doesn’t make the reasons any clearer. I mean, the Windows 95/98 CD Player used MCI to play CDs, and that had a track timer. I’d say maybe it was emulated with a Windows timer (or even GetTickCount) except for one minor detail–if you hit the CD-ROM drive, causing the CD to skip, the track time would update accordingly…

There must be a way to make it so it’s not so damned slow… I mean, if MS did it, FMOD can too, right?

  • You must to post comments
0
0

Ehm… Why is CD playback so important ?

Just rip de desired CD’s to MP3 320 kbp/s and burn all the the songs on 1 CD!

  • You must to post comments
0
0

[quote="Graduate Bruce 2002":1w5z1v02]if you hit the CD-ROM drive, causing the CD to skip, the track time would update accordingly…[/quote:1w5z1v02]
That is not a feature that I would like to test too much. :)

  • You must to post comments
0
0

[b:1bpaz52g]@djmaze[/b:1bpaz52g]
…and supposing someone wants to make a CD player application with FMOD? FMOD may have been designed for games, but it’s been applied in many other situations too. Besides, CD playback [i:1bpaz52g]isn’t[/i:1bpaz52g] very important to me at all–I just want to know the reason for some things.

[b:1bpaz52g]@Sly[/b:1bpaz52g]
You don’t have to hit a drive very hard to cause the CD to skip; they have absolutely no skip protection. However, that’s not the reason I brought that topic up. I stated that to make a point–how is it that Win95/Win98’s CD player can [i:1bpaz52g]always[/i:1bpaz52g] show the correct track time accurately, no matter what happens? It must use an MCI function similar to GetTrackTime… and in cdplayer.exe’s case, there’s no delay involved.

  • You must to post comments
0
0

Thanks for clearing that up for me, Brett. It doesn’t really matter to me, honestly; I was just curious. One thing though… about the code…

[quote:38v9s1yt]mciSendCommand(device->MciID, MCI_STATUS, MCI_STATUS_ITEM | MCI_NOTIFY, (DWORD)(LPVOID)&mciStatusParms)[/quote:38v9s1yt]

Why the double-typecast? It’s perfectly legal to just do b:38v9s1yt&mciStatusParms[/b:38v9s1yt]…

[b:38v9s1yt]@djmaze[/b:38v9s1yt]
Hmph. [b:38v9s1yt]You can get off my back now about having alternatives.[/b:38v9s1yt] I don’t personally need the CD commands, honestly. Eesh. Aren’t I entitled to my curiousity around here?

  • You must to post comments
0
0

Hehehe. Yeah, MS is weird with that. They seem to like nested typecasts–I’ve noticed it with all MS code examples. Don’t mind me; I don’t mean to judge coding styles, it’s just that multiple typecasts on one variable drive me up a wall so it stuck out like a sore thumb. :)

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.