Advertisement

Alternative CD Audio functions other than MCI

Started by March 27, 2001 06:56 PM
3 comments, last by SikCiv 23 years, 10 months ago
Instead of using the out-dated, slow MCI commands to play an Audio CD, is there a new alternative? Maybe hidden in DirectX?

  Downloads:  ZeroOne Realm

By what standard do you consider MCI "out-dated"?

Advertisement
No,

The only other function I know that can control CD audio volume is using the mixerXXXX series of functions (and I think the auxXXXX series of functions can do it too).

I remember this topic way back when I was beta testing Quaternion.

Look up the function mixerGetNumDevs, in the Platform SDK and take it from there. Be warned though - it is not an easy task. You must enumerate all the devices, searching for the CD audio mixer, and then you can control the volume.

Dire Wolf
direwolf@digitalfiends.com

Dire Wolf
www.digitalfiends.com
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
Alrighty then ill stick with MCI I guess.

I read somewhere that MCI is slow, but hey, if it works, dont recode it.

  Downloads:  ZeroOne Realm

Maybe it''s slow if you play AVIs or so, but CD-Audio is only hardware-dependent. The only thing you need is the initial "start to play"-code, the rest takes next to none cpu-time.

This topic is closed to new replies.

Advertisement