Alesis Protrack for Line Outs
Alesis Protrack for Line Outs
- Subject: Alesis Protrack for Line Outs
- From: Hamilton Feltman <email@hidden>
- Date: Fri, 13 Nov 2009 15:48:22 -0800
I'm trying to debug why the Alesis ProTrack for iPod and iPhone can't
play through the line outputs. It's a bit hard to debug because the
protrack doesn't have a USB port, so I have to log everything. When I
plug the iPod touch 3rd Gen into the protrack, it seems the Property
Listener is called twice in succession, first with
"NewDeviceAvailable" and "Speaker" as the old and new route, and then
immediately again with "CategoryChange" and "LineOut" as the old route
and "Speaker" as the new route. I never get "LineOut" as the new
route. The log is below. Does it have anything to do with the
exceptions thrown after the microphone arrives? Happens on iPods and
iPhones alike. Thanks for any input.
Hamilton
email@hidden
http://www.harmonicdog.com
Fri Nov 13 15:16:13 unknown iapd[46] <Warning>: Microphone arrived
Fri Nov 13 15:16:14 unknown mediaserverd[14906] <Notice>: 15:16:14.292
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Fri Nov 13 15:16:14 unknown mediaserverd[14906] <Notice>: 15:16:14.295
<vad> EXCEPTION: VirtualAudio_Device.cpp[2498]:
GetActiveNonQuiesceablePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Fri Nov 13 15:16:14 unknown mediaserverd[14906] <Notice>: 15:16:14.297
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Fri Nov 13 15:16:14 unknown mediaserverd[14906] <Notice>: 15:16:14.320
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Fri Nov 13 15:16:14 unknown mediaserverd[14906] <Notice>: 15:16:14.324
<vad> EXCEPTION: VirtualAudio_Device.cpp[2498]:
GetActiveNonQuiesceablePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
----------------------------- PropertyListener
-----------------------------
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
AudioRouteChange
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: Reason:
NewDeviceAvailable
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: Old
AudioRoute: Speaker
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: New
AudioRoute: Speaker
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioComponentInstanceDispose)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: Getting Input
Availability: (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: AudioCategory
-> PlayAndRecord: (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
AudioSessionSetActive(true): (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: Getting Input
NumberChannels: 2 (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
----------------------------- initializeRIO
-----------------------------
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioComponentInstanceNew)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus recording 1)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus playback 1)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus StreamFormat)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
AudioStreamBasicDescription 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-
bit little-endian signed integer
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus StreamFormat)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
AudioStreamBasicDescription 2 ch, 44100 Hz, 'lpcm' (0x0000002C) 16-
bit little-endian signed integer, deinterleaved
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus SetInputCallback)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus SetRenderCallback)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus ShouldAllocateBuffer flag = 0)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
(AudioUnitInitialize)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>:
----------------------------- setBufferSize
-----------------------------
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: Setting
PreferredHardwareSampleRate to: 44100.000000 (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: 0 - Setting
PreferredHardwareIOBufferDuration to: 0.011610 (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: 0 - Getting
CurrentHardwareIOBufferDuration (kAudioSessionNoError)
Fri Nov 13 15:16:14 unknown MultiTrack[15770] <Warning>: 0 - GOT IT!
Hardware Sample Rate (44100.000000) Buffer Duration (0.011610)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioOutputUnitStart)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
----------------------------- PropertyListener
-----------------------------
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
AudioRouteChange
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: Reason:
CategoryChange
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: Old
AudioRoute: LineOut
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: New
AudioRoute: Speaker
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioComponentInstanceDispose)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: Getting Input
Availability: (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: AudioCategory
-> PlayAndRecord: (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
AudioSessionSetActive(true): (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: Getting Input
NumberChannels: 2 (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
----------------------------- initializeRIO
-----------------------------
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioComponentInstanceNew)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus recording 1)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus playback 1)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus StreamFormat)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
AudioStreamBasicDescription 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 16-
bit little-endian signed integer
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus StreamFormat)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
AudioStreamBasicDescription 2 ch, 44100 Hz, 'lpcm' (0x0000002C) 16-
bit little-endian signed integer, deinterleaved
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus SetInputCallback)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kOutputBus SetRenderCallback)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitSetProperty kInputBus ShouldAllocateBuffer flag = 0)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioUnitInitialize)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
----------------------------- setBufferSize
-----------------------------
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: Setting
PreferredHardwareSampleRate to: 44100.000000 (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: 0 - Setting
PreferredHardwareIOBufferDuration to: 0.011610 (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: 0 - Getting
CurrentHardwareIOBufferDuration (kAudioSessionNoError)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>: 0 - GOT IT!
Hardware Sample Rate (44100.000000) Buffer Duration (0.011610)
Fri Nov 13 15:16:15 unknown MultiTrack[15770] <Warning>:
(AudioOutputUnitStart)
Fri Nov 13 15:16:18 unknown MultiTrack[15770] <Warning>:
----------------------------- AUAudio3 start
-----------------------------
Fri Nov 13 15:16:18 unknown MultiTrack[15770] <Warning>:
AudioSessionSetActive(true): (kAudioSessionNoError)
Fri Nov 13 15:16:18 unknown MultiTrack[15770] <Warning>:
(AudioOutputUnitStart)
Fri Nov 13 15:16:18 unknown MultiTrack[15770] <Warning>:
moveAndPlayRequestFilled
_______________________________________________
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