Re: Alesis Protrack for Line Outs
Re: Alesis Protrack for Line Outs
- Subject: Re: Alesis Protrack for Line Outs
- From: Hamilton Feltman <email@hidden>
- Date: Mon, 16 Nov 2009 16:26:58 -0800
Hi Tony,
I'm using play and record, because the app is a multitrack recorder. I
just tried to use MediaPlayback, and it works, with
"NewDeviceAvailable" comes "LineOut". Of course this doesn't solve my
problem, but it's one step closer I hope? This explains why the ipod
player works through the lineout, but it doesn't explain why
iProRecorder works (iProRecorder must use PlayAndRecord). (I checked
the log when running iProRecorder, it throws the same exceptions)
Thanks,
Hamilton
Here is my apps log for using the MediaPlayback category:
Mon Nov 16 15:15:38 unknown iapd[1628] <Warning>: Microphone arrived
Mon Nov 16 15:15:39 unknown mediaserverd[17] <Notice>: 15:15:39.340
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:15:39 unknown mediaserverd[17] <Notice>: 15:15:39.342
<vad> EXCEPTION: VirtualAudio_Device.cpp[2498]:
GetActiveNonQuiesceablePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:15:39 unknown mediaserverd[17] <Notice>: 15:15:39.344
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
----------------------------- PropertyListener
-----------------------------
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: AudioRouteChange
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: Reason:
NewDeviceAvailable
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: Old
AudioRoute: Speaker
Mon Nov 16 15:15:39 unknown mediaserverd[17] <Notice>: 15:15:39.459
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: New
AudioRoute: LineOut
Mon Nov 16 15:15:39 unknown mediaserverd[17] <Notice>: 15:15:39.559
<vad> ERROR: Device_Codec_Aspen.cpp[558]: SetPropertyData():
Illegal call to set property kAudioDevicePropertyVolumeDecibels.
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
(AudioComponentInstanceDispose)
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: Getting Input
Availability: (kAudioSessionNoError)
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>: AudioCategory -
> MediaPlayback: (kAudioSessionNoError)
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
AudioSessionSetActive(true): (kAudioSessionNoError)
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
----------------------------- initializeRIO
-----------------------------
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
----------------------------- setBufferSize
-----------------------------
Mon Nov 16 15:15:39 unknown MultiTrack[1630] <Warning>:
----------------------------- SetRecordingAvailabilityMessage
-----------------------------
...
Mon Nov 16 15:16:20 unknown iapd[1628] <Warning>: Microphone left
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>:
----------------------------- PropertyListener
-----------------------------
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: AudioRouteChange
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: Reason:
OldDeviceUnavailable
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: Old
AudioRoute: LineOut
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: New
AudioRoute: Speaker
Mon Nov 16 15:16:20 unknown mediaserverd[17] <Notice>: 15:16:20.513
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:16:20 unknown mediaserverd[17] <Notice>: 15:16:20.515
<vad> EXCEPTION: VirtualAudio_Device.cpp[2498]:
GetActiveNonQuiesceablePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:16:20 unknown mediaserverd[17] <Notice>: 15:16:20.516
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:16:20 unknown mediaserverd[17] <Notice>: 15:16:20.570
<vad> EXCEPTION: VirtualAudio_Device.cpp[2415]: GetActivePortCount():
kVirtualAudioObjectRoutingNotSupportedError: "routing not supported."
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>:
(AudioComponentInstanceDispose)
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: Getting Input
Availability: (kAudioSessionNoError)
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>: AudioCategory -
> MediaPlayback: (kAudioSessionNoError)
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>:
AudioSessionSetActive(true): (kAudioSessionNoError)
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>:
----------------------------- initializeRIO
-----------------------------
Mon Nov 16 15:16:20 unknown MultiTrack[1630] <Warning>:
----------------------------- SetRecordingAvailabilityMessage
-----------------------------
...
On Nov 16, 2009, at 3:02 PM, Tony Guetta wrote:
Hi Hamilton,
Which Audio Session category is your application using? If it's
kAudioSessionCategory_PlayAndRecord, what happens if you try a
playback-only category, e.g. kAudioSessionCategory_MediaPlayback?
Does the line-out of the device function then?
Tony
_______________________________________________
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