• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MusicTrack SoloStatus not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: MusicTrack SoloStatus not working?
      • From: Bill Stewart <email@hidden>
    • Re: MusicTrack SoloStatus not working?
      • From: Christopher Corbell <email@hidden>
  • Prev by Date: Re: MultiTimbralSynth + Source Code
  • Next by Date: Re: Restarting MIDI
  • Previous by thread: Re: MultiTimbralSynth + Source Code
  • Next by thread: Re: MusicTrack SoloStatus not working?
  • Index(es):
    • Date
    • Thread