Sign in to follow this  
pghTech

Difference between sound play functions in Directx?

Recommended Posts

I was curious if someone could point out the difference between the two DirectX9 functions: IDirectSoundBuffer8::Play IDirectMusicPerformance8::PlaySegmentEx()

Share this post


Link to post
Share on other sites
One seems to play a standard DirectSound buffer. The other plays a DirectMusic segment.

The DirectSound buffer is holding raw PCM data, while the segment is loaded with some sort of data (such as that microsoft midi wannabe format). Although, iirc, DirectMusic uses DirectSound behind-the-scenes anyways.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this