• 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: kAudioUnitID_DLSSynth and Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAudioUnitID_DLSSynth and Snow Leopard


  • Subject: Re: kAudioUnitID_DLSSynth and Snow Leopard
  • From: William Stewart <email@hidden>
  • Date: Tue, 8 Sep 2009 10:48:11 -0700

There have been several responses. See below:

On Sep 5, 2009, at 12:00 AM, E. Tejkowski wrote:

I never saw a response to Rolf's questions below. Can anyone shed some light on this? I have the same exact problem.

Thanks,
Erick

On Aug 16, 2009, at 9:31 AM, Roni Music wrote:

The code snippet below fails with kAUGraphErr_InvalidAudioUnit = -10864
on Snow Leopard. I has worked OK since OS X 10.2 up to 10.5.8



ComponentDescription description;

	// Create the graph
	XThrowIfError(NewAUGraph(&m_graph), "NewAUGraph() failed");

	// The DLS Synth
	description.componentType		= kAudioUnitComponentType;

this is the type for a V1 audio unit. It is declared in <AudioUnit/ AUNTComponent.h> (this file is also not included in the framework include, so you really have to go to special lengths to still be compiling with this usage).


This has bee deprecated since 10.3. We finally removed support for this in SL.

You need to use the types that are defined in <AudioUnit/AUComponent.h>

the type becomes kAudioUnitType_MusicDevice, subtype DLS, manu appl

The version 2 audio units have been available since 10.2 I think.

Bill

	description.componentSubType		= kAudioUnitSubType_MusicDevice;
	description.componentManufacturer	= kAudioUnitID_DLSSynth;
	description.componentFlags		= 0;
	description.componentFlagsMask		= 0;

XThrowIfError(AUGraphNewNode(m_graph, &description, 0, NULL, &m_synthNode), "AUGraphNewNode() for synth node failed");


Is this a bug in Snow Leopard or do we need to do something else on Snow Leopard?
I assume kAudioUnitID_DLSSynth is still supported.


Thanks, Rolf _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:

_______________________________________________ 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

_______________________________________________ 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
References: 
 >Re: kAudioUnitID_DLSSynth and Snow Leopard (From: "E. Tejkowski" <email@hidden>)

  • Prev by Date: Re: Device gone away notification?
  • Next by Date: Re: QTMediaTypeMusic
  • Previous by thread: Re: kAudioUnitID_DLSSynth and Snow Leopard
  • Next by thread: Re: Snow Leopard and AudioUnits?
  • Index(es):
    • Date
    • Thread