Looking for suggestions
Looking for suggestions
- Subject: Looking for suggestions
- From: Stephen Shaw <email@hidden>
- Date: Wed, 11 Jan 2006 13:28:44 -0800
- Thread-topic: Looking for suggestions
I thought I'd throw this out and see if anyone has encountered something
similar before and if there were any suggestions as to what my problem might
be.
I recently converted my core audio sub-system from:
a simple audio output unit being fed by a callback and an audio converter
(using a call to AudioConverterFillComplexBuffer in the callback)
to:
An audio graph containing a
Audio Converter -> Stereo Mixer -> Output Unit
- I have an callback installed on the audio converter to feed the graph
- I'm only using bus 0 across the entire graph.
My problem is that now that I'm using a graph, my audio output is being
slowed down and has some slight breakup. (it sounds kind of like a dalek
from Dr. Who).
My input format hasn't changed, and the graph works in a standalone sample I
created so I'm not certain what's going wrong.
As always, Any suggestions will be greatly appreciated.
-Stephen
The input / output of the units are:
- - - - - - - - - - - - - - - - - - - -
: Converter Unit Input format is:
- - - - - - - - - - - - - - - - - - - -
Sample Rate:48000.000000
Format ID:lpcm
Format Flags:C
Float format: F
Big Endian format: F
Signed Int format: T
Packed format: T
Align High format: F
NonInterleave format: F
All Clear format: F
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:16
- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
: Converter Unit output format is:
- - - - - - - - - - - - - - - - - - - -
Sample Rate:44100.000000
Format ID:lpcm
Format Flags:2B
Float format: T
Big Endian format: T
Signed Int format: F
Packed format: T
Align High format: F
NonInterleave format: T
All Clear format: F
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32
- - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
: Mixer Unit Input format is:
- - - - - - - - - - - - - - - - - - - -
Sample Rate:44100.000000
Format ID:lpcm
Format Flags:2B
Float format: T
Big Endian format: T
Signed Int format: F
Packed format: T
Align High format: F
NonInterleave format: T
All Clear format: F
Bytes per Packet:4
Frames per Packet:1
Bytes per Frame:4
Channels per Frame:2
Bits per Channel:32
- - - - - - - - - - - - - - - - - - - -
AudioUnitGraph 0x2025C2C:
Member Nodes:
node 1: desc aufc conv appl, instance 0x890001 O
node 2: desc aumx smxr appl, instance 0x9D0008 O
node 3: desc auou def appl, instance 0x930009 O
Connections:
node 2 bus 0 => node 3 bus 0
node 1 bus 0 => node 2 bus 0
Events to be updated:
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isRunning=F
_______________________________________________
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