• 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: Channels and frames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Channels and frames


  • Subject: Re: Channels and frames
  • From: William Stewart <email@hidden>
  • Date: Fri, 4 Nov 2005 11:45:49 -0800

This is the auval tool - from the command line you can easily run this yourself:

% auval -v aufx EFFT KJAU

The error is simple I think:

You published supported num channels of { 1, 1 }; yet your default configuration for you input and output bus is stereo. Your AU is saying it doesn't support stereo.

We've already discussed this - in your constructor you have to call CreateElements() and set the formats on the input and elements, and this is the example (exactly actually as it only supports mono in/ out) that the Pulse Detector AU uses in the SDK (which you said you didn't want to download).

Bill

On 04/11/2005, at 8:21 AM, john smith wrote:


Argh, just when I thought I understood this channel business, it appears I didn't understand anything at all.


Logics AU manager is giving me this text:

_____

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
AU Validation Tool
Version: 1.1.1b11
Copyright 2003-4, Apple Computer, Inc.


Specify -h (-help) for command options
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'EFFT' - 'KJAU'
--------------------------------------------------
Manufacturer String: Kjaerhus Audio
AudioUnit name: Classic Chorus
Component Info: AU AU
Component Version: 1.0.0 (0x10000)

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit:           35.041ms
WARM:
Time to open AudioUnit:           0.424ms

* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved


Output Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved


ERROR: Default Format of unit does not match reported Channel handling capabilities
* * FAIL
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:
VERIFYING PROPERTY: Sample Rate
PASS
VERIFYING PROPERTY: Stream Format
PASS
VERIFYING PROPERTY: Maximum Frames Per Slice
PASS
VERIFYING PROPERTY: Last Render Error
PASS


* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
 VERIFYING PROPERTY: Latency
   PASS
 VERIFYING PROPERTY: Tail Time
WARNING: Recommended Property is not supported

 VERIFYING PROPERTY: Bypass Effect
   PASS

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

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Carbon View Components Available: 1
 Component 'auvw' - 'EFFT' - 'KJAU'
   PASS

Cocoa Views Available: 0

VERIFYING CLASS INFO
   PASS

TESTING HOST CALLBACKS
   PASS

* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:

# # # 8 Global Scope Parameters:
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
WARNING: PARAMETER SHOULD PUBLISH NAME AS CFString
ERROR: -10868 IN CALL AudioUnitInitialize

* * FAIL
--------------------------------------------------
FORMAT TESTS:

Input/Output Channel Handling:
1-1 1-2 1-4 1-5 2-2 2-4 2-5 4-4 4-5 5-5 5-2 6-6 8-8
X
ERROR: Unit now reports it cannot support default channel configuration (it previously reported that it did): in:2, out:2
ERROR: -10868 IN CALL Cannot Initialize Unit to valid num channels:InputChan:2, OutputChan:2
ERROR: Unit incorrectly set to InputChans:3 OutputChans:1


* * FAIL
--------------------------------------------------
RENDER TESTS:
ERROR:   Format errors. Cannot perform render tests


* * FAIL -------------------------------------------------- AU VALIDATION FAILED: CORRECT THE ERRORS ABOVE. --------------------------------------------------

_____

How is this error possible? The only change I made was that I now override GetNumChannels, and return 1 configuration, which is 1,1.
From what I gathered on this list, that was all I needed to do. Gosh, now I'm really confused.



Thanks,

Michael Olsen

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http:// search.msn.com/



--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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:
    • Side-chain detection
      • From: "john smith" <email@hidden>
    • Re: Channels and frames
      • From: "john smith" <email@hidden>
References: 
 >Re: Channels and frames (From: "john smith" <email@hidden>)

  • Prev by Date: Preset problem
  • Next by Date: AudioFileOpen
  • Previous by thread: Re: Channels and frames
  • Next by thread: Re: Channels and frames
  • Index(es):
    • Date
    • Thread