MusicTrack kSequenceTrackProperty_MuteStatus fails to work
MusicTrack kSequenceTrackProperty_MuteStatus fails to work
- Subject: MusicTrack kSequenceTrackProperty_MuteStatus fails to work
- From: Valentin Radu <email@hidden>
- Date: Sat, 25 May 2013 18:34:56 +0200
Hi everybody,
I'm pretty new with MIDIs and the AudioToolbox/MusicPlayer.h api and I have a rather annoying problem. I use MusicPlayer and a AUGraph to make a drum machine. The sound is looped and played on multiple tracks. It works to the point when I try to set individual tracks mute with:
`status = MusicTrackSetProperty(track, kSequenceTrackProperty_MuteStatus, &isMuted, sizeof(isMuted));
assert(checkOSStatus(status));`
Actually that works too first time I mute the track, however, when I try to unmute it, the device remains silent. I get no error, no nothing. I'm guessing this is not the normal behaviour? What could be causing this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden