Re: MusicTrack SoloStatus not working?
Re: MusicTrack SoloStatus not working?
- Subject: Re: MusicTrack SoloStatus not working?
- From: Bill Stewart <email@hidden>
- Date: Tue, 22 Jul 2003 18:22:22 -0700
please file a bug...
On Monday, July 21, 2003, at 02:05 PM, Scott Ruda wrote:
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.