Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: "john smith" <email@hidden>
- Date: Fri, 04 Nov 2005 17:21:44 +0100
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/
_______________________________________________
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