• 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: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout


  • Subject: Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout
  • From: Stefan Gretscher <email@hidden>
  • Date: Tue, 23 Sep 2008 16:15:36 +0200

Am 16.09.2008 um 16:22 schrieb Motti Shneor:
I've implemented support of kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout to the best of my knowledge,
and auval approves my AU's.


In addition, I verified that my AU is being called and responds to the Properties, and that It responds with valid data.

However, when I test my AU's in LogicAudio Pro 8.0.2, I see that my AU's are NOT being called for Set/Get of kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout.
I guess you're being tricked by Logic's caching of AU properties. In order to avoid having to open all AUs at each launch to query its I/O capabilities in order to build its plug-in insert menus, Logic caches this information and only updates it if either the version number of the AU changes or the user manually rescans the AU from the AU Manager (found in the preferences menu). For development, you can temporarily set the version number to zero to force a rescan upon each launch of Logic (make sure to switch back to the correct version number for release..).

Best,
Stefan



Of course, my AU's default to some internal channel order on input and output, and so my AU's work on the wrong channels.

Is this a known issue? Am I still missing something in the complete implementation?

Following is an excerpt from auval test-log:

        AU Validation Tool
        Version: 1.2.0a11

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'RVX6' - 'ksWV'
--------------------------------------------------
Manufacturer String: Waves
AudioUnit name: C360 (6->6)
Component Info: SubComponentDescription>
	<SubComponentType Name="C360">RVX6
Component Version: 6.0.0 (0x60000)
Component's Bundle Version: 6.0.0

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 6 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Has Channel Layouts: 0x790006 0x7A0006 0x7B0006 0x7C0006
Default Layout:
Tag=0x790006, Num Chan Descs=6
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]


Output Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 6 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Has Channel Layouts: 0x790006 0x7A0006 0x7B0006 0x7C0006
Default Layout:
Tag=0x790006, Num Chan Descs=6
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]


* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:
* * PASS
VERIFYING RECOMMENDED PROPERTIES:
* * PASS
VERIFYING OPTIONAL PROPERTIES:
 VERIFYING PROPERTY Supported Number of Channels
   PASS
 VERIFYING PROPERTY Host Callbacks
   PASS

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:
* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:
* * PASS
--------------------------------------------------
FORMAT TESTS:

Reported Channel Capabilities (explicit):
     [6, 6]

Input/Output Channel Handling:
1-1 1-2 1-4 1-5 1-6 1-7 1-8 2-2 2-4 2-5 2-6 2-7 2-8 4-4 4-5 5-5 6-6 7-7 8-8
X


# # AudioChannelLayouts (4), Input Scope:
ChannelLayout is Writable: T
The Unit publishes the following Channel Layouts:
 0x790006, 0x7A0006, 0x7B0006, 0x7C0006,

Is Audio Channel Layout Available:
Mono Stereo Binau. AU_4 Ambi. AU_5 AU_5_0 AU_6 AU_6_0 AU_7_0 AU_7_0F AU_8 AU_5_1 AU_6_1 AU_7_1 AU_7_1F
X


Current Format:AudioStreamBasicDescription: 6 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Current Format Tag = 0x790006, New Format Tag = 0x790006, Input Channel Layout Set:121
Successsful


# # AudioChannelLayouts (4), Output Scope:
ChannelLayout is Writable: T
The Unit publishes the following Channel Layouts:
 0x790006, 0x7A0006, 0x7B0006, 0x7C0006,

Is Audio Channel Layout Available:
Mono Stereo Binau. AU_4 Ambi. AU_5 AU_5_0 AU_6 AU_6_0 AU_7_0 AU_7_0F AU_8 AU_5_1 AU_6_1 AU_7_1 AU_7_1F
X


Current Format:AudioStreamBasicDescription: 6 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Current Format Tag = 0x790006, New Format Tag = 0x790006, Output Channel Layout Set:121
Successsful


* * PASS
--------------------------------------------------




------------------------------------ Stefan Gretscher plug-in development & 3rd party developer support

phone: (+49)-4101-495-586 (Central European Time)
AU developer support: email@hidden
TDM developer support: email@hidden

Apple GmbH
Geschäftsführung: Georges Guyon de Chemilly
Sitz der Gesellschaft: München
Amtsgericht München, HRB 66158



_______________________________________________
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: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout (From: Motti Shneor <email@hidden>)
 >Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout (From: William Stewart <email@hidden>)
 >Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout (From: Motti Shneor <email@hidden>)

  • Prev by Date: Re: Logic 8 lost my plug-in
  • Next by Date: support for two's complement 24 bit audio
  • Previous by thread: Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout
  • Next by thread: Reading SDII file regions with AudioFileGetProperty
  • Index(es):
    • Date
    • Thread