• 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
Re: MusicTrack SoloStatus not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicTrack SoloStatus not working?


  • Subject: Re: MusicTrack SoloStatus not working?
  • From: Christopher Corbell <email@hidden>
  • Date: Tue, 22 Jul 2003 17:49:03 -0700

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.

I had problems with the solo setting as well. I'm addressing separate
DLS units with each track and thought this was the cause of failure.
However I don't recall for certain if I ever got it to work with a single DLS unit.
Mute also works fine for me.


If it's truly a bug I'd be glad to file a bug report.

Please do!

- Christopher
_______________________________________________
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.

References: 
 >MusicTrack SoloStatus not working? (From: Scott Ruda <email@hidden>)

  • Prev by Date: Re: kAudioUnitProperty_FactoryPresets
  • Next by Date: Re: MusicTrack SoloStatus not working?
  • Previous by thread: MusicTrack SoloStatus not working?
  • Next by thread: Re: MusicTrack SoloStatus not working?
  • Index(es):
    • Date
    • Thread