MusicTrack SoloStatus not working?
MusicTrack SoloStatus not working?
- Subject: MusicTrack SoloStatus not working?
- From: Scott Ruda <email@hidden>
- Date: Mon, 21 Jul 2003 14:05:53 -0700
I have not been able to get the SoloStatus property setting to work in
a MusicTrack. Has anyone else had success with this, or am I doing
something wrong?
Note I am doing this with the Java CA API. My problem may be unique to
the Java implementation, but I thought I'd ask here first to find out
if this particular property works correctly in any environment. I know
Bill wrote some nice Java CA examples (Dave is way cool!), so I know
that the Java code won't throw him off ;-)
I have the following utility function:
void setByteProperty(MusicTrack track, int id, byte val) {
try {
CAMemoryObject mo = new CAMemoryObject(1, false);
mo.setByteAt(0, val);
track.setProperty(id, mo);
}
catch (CAException cae) {
System.err.println(cae);
}
}
I pass in ATConstants.kSequenceTrackProperty_SoloStatus for the id. I
pass as the value 1 for solo on and 0 for solo off. Note this same
method works correctly for setting the
kSequenceTrackProperty_MuteStatus property.
If it's truly a bug I'd be glad to file a bug report.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.