• 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: DLSMusicDevice problems in Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLSMusicDevice problems in Leopard


  • Subject: Re: DLSMusicDevice problems in Leopard
  • From: "Roni Music" <email@hidden>
  • Date: Sun, 13 Jan 2008 21:33:53 +0100

Message: 7
Date: Sun, 13 Jan 2008 13:55:19 -0600
From: "E. Tejkowski" <email@hidden>
Subject: DLSMusicDevice problems in Leopard
To: CoreAudio <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

I've been experiencing some issues with loading SF2/DLS into a graph
on Leopard. In particular, AudioUnitSetProperty is failing
spectacularly.

    err = AudioUnitSetProperty (synthUnit,
kMusicDeviceProperty_SoundBankFSSpec, kAudioUnitScope_Global, 0,
&fsSpec, sizeof (fsSpec) );

I had the same problem

It seems that with Leopard one needs to stop the "synthUnit" (AUGraphStop)
before calling AudioUnitSetProperty (synthUnit, kMusicDeviceProperty_SoundBankFSSpec....),
then restart it


this wasn't needed with Tiger and below.
Either this is a bug (seems so since the app crashes) or we were lucky that it worked before without stoping?


btw, I also call AUGraphUninitialize() allthough this doesn't seem to be needed (maybe will be with OS X 10.6)?


Rolf





The identical code works flawlessly in Tiger. Is anyone else experiencing this? Is there a workaround or is it simply a known bug for which I must wait for a fix?

It appears that my code is not alone in having this problem. If you
download the SimpleSynth demo from Pete Yandell. (http://
pete.yandell.com/software/), you'll see that it crashes in a similar
fashion (with an identical crash log) on Leopard (PPC or Intel). What
is peculiar, however, is that an older version of my own app that was
compiled for PPC will still run in Leopard (on a PPC) without a
crash. Hmmm...

Any ideas out there?

Thanks much,
Erick


_______________________________________________
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


  • Follow-Ups:
    • Re: DLSMusicDevice problems in Leopard
      • From: "E. Tejkowski" <email@hidden>
  • Prev by Date: DLSMusicDevice problems in Leopard
  • Next by Date: Re: SMPTE parsing algorithm?
  • Previous by thread: DLSMusicDevice problems in Leopard
  • Next by thread: Re: DLSMusicDevice problems in Leopard
  • Index(es):
    • Date
    • Thread