List Info

Thread: jack dies on MacBook with headphones?




jack dies on MacBook with headphones?
user name
2006-06-03 18:41:06
Hi everyone,

I'm currently using Stephane's build of JackDMP on a
MacBook Pro.  
When I plug in a set of headphones, the Jack server stops
being  
recognized as the sound device. The computer switches back
to the  
Aggregate Device. If I stop and restart Jack with the
JackPilot, it  
comes right back up without a problem. Unplug the
headphones, and the  
same thing happens.

jackdmp doesn't seem to crash (it still shows up in top,
and even has  
a little CPU spike when the headphones are plugged or
unplugged).  
Since there is no crash, I don't have a crash log to
send... if there  
are any other diagnostics that may help, please let me know.

Any ideas?

Thanks,

Josh

******************************************
Joshua Parmenter
joshpu.washington.edu
Post-Doctoral Research Associate - Center for Digital Arts
and  
Experimental Media
Raitt Hall - University of Washington
Seattle, Washington 98195

http://www.dxarts.wa
shington.edu
http://www.realize
dsound.net/josh/




_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
jack dies on MacBook with headphones?
user name
2006-06-05 19:33:39
Le 3 juin 06 à 20:41, Joshua Parmenter a écrit :

> Hi everyone,
>
> I'm currently using Stephane's build of JackDMP on a
MacBook Pro.
> When I plug in a set of headphones, the Jack server
stops being
> recognized as the sound device.
> The computer switches back to the
> Aggregate Device.


How do you see that?

Do you plug the headphones while the jack server is running?


> If I stop and restart Jack with the JackPilot, it
> comes right back up without a problem. Unplug the
headphones, and the
> same thing happens.

Can you open the "Audio/Midi setup" tool while
you're pluging/ 
unpluging? and see if the default input/output device
changes when  
you plug/unplug?

>
> jackdmp doesn't seem to crash (it still shows up in
top, and even has
> a little CPU spike when the headphones are plugged or
unplugged).
> Since there is no crash, I don't have a crash log to
send... if there
> are any other diagnostics that may help, please let me
know.


Can you try the activate the "verbose logging"
mode and see if what  
messages are printed in the console?

Thanks

Stephane


>
> Any ideas?
>
> Thanks,
>
> Josh
>
> ******************************************
> Joshua Parmenter
> joshpu.washington.edu
> Post-Doctoral Research Associate - Center for Digital
Arts and
> Experimental Media
> Raitt Hall - University of Washington
> Seattle, Washington 98195
>
> http://www.dxarts.wa
shington.edu
> http://www.realize
dsound.net/josh/
>
>
>
>
> _______________________________________________
> Jackit-devel mailing list
> Jackit-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jackit-dev
el



_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
jack dies on MacBook with headphones?
user name
2006-06-06 02:49:07
On Jun 5, 2006, at 12:33 PM, Stéphane LETZ wrote:


How do you see that?

The software I am using (SuperCollider) stops picking up Jack as the default device. I then go to SystemPrefs, and Jack doesn't appear anymore

Do you plug the headphones while the jack server is running?

Yes.

Can you open the "Audio/Midi setup" tool while you're pluging/unpluging? and see if the default input/output device changes when you plug/unplug?

The Defaults remain as Jack... but then everything I start up (SuperCollider, iTunes... anything audio) stops using Jack (and nothing appears in the Jack Router.

Can you try the activate the "verbose logging" mode and see if what messages are printed in the console?

When I sent the original bug mail, I sent a second message with this Console output:

Looking under the Console log, these error pop up:

pthread_cond_timedwait error usec = 5000000 err = Operation timed out
JackMachServerNotifyChannel::ClientNotify: ref = -1 notify = 2 err = (ipc/send) timed out
Cannot create new client
Cannot open CA::373776192 client
JackMachServerNotifyChannel::ClientNotify: ref = -1 notify = 2 err = (ipc/send) timed out
JackMachServerNotifyChannel::ClientNotify: ref = -1 notify = 2 err = (ipc/send) timed out
JackMachServerNotifyChannel::ClientNotify: ref = -1 notify = 2 err = (ipc/send) timed out

... the above line then appears hundreds of times before the whole thing appears again and again ...

While answering Stephane's questions (before entering verbose mode) I was still abel to get it to crash... but once I switched to verbose mode, I can't get it to crash anymore!  I kept it in verbose mode, and even did a restart to test it with starting programs and removing the headphones to try and get the behavior to reproduce, and no matter what, Jack seems to keep up (though I did notice a little hiccup in the scsynth app when the headphones came out... )... So... for some reason verbose mode may seem to take care of it?

Below is the Console output anyways. I added in comments (marked with  ---------> ) as I started jackdmp, started scsynth as a test app, and removed the headphones. Since Jack keeps working, not sure if this will help out... and if the 'solution' is leaving things in verbose mode, then that's fine with me (unless there are reasons why this is bad?)

Thanks,

josh

-------> started jackdmp through Jack pilot

===== Monday, June 5, 2006 7:40:27 PM US/Pacific =====
JP: number of audio devices: 4
JP: /usr/local/bin/./jackdmp -R -d coreaudio -r 44100 -p 512 -o 2 -i 2 -n "~:Aggregate:0"
jackdmp 0.54
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2006 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JAR: Reading Preferences fInputChannels: 2 fOutputChannels: 2 fAutoConnect: 1
JAR: Reading Preferences fDefaultInput: 2 fDefaultOutput: 2 fDefaultSystem: 1 fDeviceID: 0
JAR: Blacklisted client Xquartz
JAR: Blacklisted client Terminal
JAR: Blacklisted client loginwindow
JAR: Initialize [inSelf, name] : 5279472 jackdmp
JAR: Rejected client : jackdmp

----->; started scsynth

JAR: Reading Preferences fInputChannels: 2 fOutputChannels: 2 fAutoConnect: 1
JAR: Reading Preferences fDefaultInput: 2 fDefaultOutput: 2 fDefaultSystem: 1 fDeviceID: 0
JAR: Blacklisted client Xquartz
JAR: Blacklisted client Terminal
JAR: Blacklisted client loginwindow
JAR: Initialize [inSelf, name] : 17865504 scsynth
JAR: kAudioHardwarePropertyProcessIsMaster err theSize 0 4
JAR: kAudioHardwarePropertyProcessIsMaster err outData 0 0
JAR: CheckServer TJackClient::fBufferSizer 512
JAR: CheckServer TJackClient::fSampleRate  44100.000000
JAR: CheckServer kAudioDevicePropertyBufferSize err 560947818
JAR: CheckServer kAudioDevicePropertyBufferFrameSize err 560947818
JAR: CheckServer kAudioDevicePropertyNominalSampleRate err 560947818
JAR: CheckServer kAudioDevicePropertyActualSampleRate err 560947818
JAR: CheckServer kAudioDevicePropertyIsRunning err 560947818
JAR: fInputChannels 2
JAR: fOutputChannels 2
JAR: AudioHardwareClaimAudioDeviceID 257
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty ' diu'
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'nart'
JAR: AudioHardwareClaimAudioStreamID 258
JAR: AudioHardwareClaimAudioStreamID 259
JAR: AudioHardwareClaimAudioStreamID 260
JAR: AudioHardwareClaimAudioStreamID 261
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: StreamGetProperty 'rids'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: StreamGetProperty 'rids'
JAR: StreamGetProperty FOUND INPUT 259
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: StreamGetProperty 'rids'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 0
JAR: error code : kAudioHardwareNoError
JAR: StreamGetProperty 'rids'
JAR: StreamGetProperty FOUND OUTPUT 261
JAR: CheckRunning fCoreAudioDriverUID ~:Aggregate:0 err =  0 fCoreAudioDriver = 263
JAR: error code : kAudioHardwareNoError
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 1
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 0
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 1
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 0
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 1
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 0
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 -1073743668 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'eman'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'zisb'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'zisb'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'tmfs'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tmfs'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 0 0
JAR: DeviceGetPropertyInfo 'tmfs'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tmfs'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 0 0
JAR: DeviceGetPropertyInfo 'tmfs'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tmfs'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 -1073743668 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'eman'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 -1073743668 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: DeviceGetPropertyInfo::kAudioDevicePropertyStreamConfiguration 28
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 -1073743617
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'yals'
JAR: DeviceGetProperty::kAudioDevicePropertyStreamConfiguration 28
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 -1073743668 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 0 0 0
JAR: DeviceGetPropertyInfo 'eman'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'eman'
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 0 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 -1073743668 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: DeviceGetPropertyInfo::kAudioDevicePropertyStreamConfiguration 28
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 0 -1073743617
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: --------------------------------------------------------
JAR: DeviceGetPropertyInfo inSelf inDevice inChannel isInput  17865504 257 0 1 0 0
JAR: DeviceGetPropertyInfo 'yals'
JAR: DeviceGetPropertyInfo received NULL outSize pointer
JAR: DeviceGetPropertyInfo received NULL outWritable pointer
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'yals'
JAR: DeviceGetProperty::kAudioDevicePropertyStreamConfiguration 28
JAR: --------------------------------------------------------
JAR: DeviceAddIOProc called inSelf, proc 17865504 2272c
JAR: --------------------------------------------------------
JAR: GetJackClient
JAR: TJackClient constructor
JAR: JackClient::Open id 251 name scsynth
JAR: DeviceAddIOProc : add a new proc
JAR: AddIOProc fAudioIOProcList.size 1
JAR: IncRefInternal : 1
JAR: AllocatePorts fInputChannels 2 fOutputChannels 2
JAR: Activate
JAR: First activate
JAR: ports[i] coreaudio:Aggregate Device:out1
JAR: jack_port_name(fInputPortList[i]) scsynth:in1
JAR: ports[i] coreaudio:Aggregate Device:out2
JAR: jack_port_name(fInputPortList[i]) scsynth:in2
JAR: ports[i] coreaudio:Aggregate Device:in1
JAR: jack_port_name(fOutputPortList[i]) scsynth:out1
JAR: ports[i] coreaudio:Aggregate Device:in2
JAR: jack_port_name(fOutputPortList[i]) scsynth:out2
JAR: --------------------------------------------------------
JAR: DeviceStart called inSelf, proc 17865504 2272c
JAR: DeviceStart fProcRunning 1

----->; removed head phones

===== Monday, June 5, 2006 7:41:40 PM US/Pacific =====
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 1
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 0
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 1 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 1
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND INPUT 258
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'tlfd'
JAR: DeviceGetProperty::kAudioDevicePropertyDeviceCanBeDefaultDevice 0
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'mret'
JAR: StreamGetProperty FOUND OUTPUT 260
JAR: --------------------------------------------------------
JAR: StreamGetProperty inSelf 17865504
JAR: StreamGetProperty 'tmfs'
JAR: StreamGetProperty : GET kAudioDevicePropertyStreamFormat 40
JAR: --------------------------------------------------------
JAR: DeviceGetProperty inSelf isInput inDevice 17865504 0 257
JAR: DeviceGetProperty 'knio'

jack dies on MacBook with headphones?
user name
2006-06-06 08:17:16
Le 6 juin 06 à 04:49, Joshua Parmenter a écrit :

> On Jun 5, 2006, at 12:33 PM, Stéphane LETZ wrote:
>
>>
>> How do you see that?
>>
> The software I am using (SuperCollider) stops picking
up Jack as  
> the default device. I then go to SystemPrefs, and Jack
doesn't  
> appear anymore
>>
>> Do you plug the headphones while the jack server is
running?
>
> Yes.
>
>> Can you open the "Audio/Midi setup"
tool while you're pluging/ 
>> unpluging? and see if the default input/output
device changes when  
>> you plug/unplug?
>
> The Defaults remain as Jack... but then everything I
start up  
> (SuperCollider, iTunes... anything audio) stops using
Jack (and  
> nothing appears in the Jack Router.
>
>> Can you try the activate the "verbose
logging" mode and see if  
>> what messages are printed in the console?
>
> When I sent the original bug mail, I sent a second
message with  
> this Console output:
>
> Looking under the Console log, these error pop up:
>
> pthread_cond_timedwait error usec = 5000000 err =
Operation timed out
> JackMachServerNotifyChannel::ClientNotify: ref = -1
notify = 2 err  
> = (ipc/send) timed out
> Cannot create new client
> Cannot open CA::373776192 client
> JackMachServerNotifyChannel::ClientNotify: ref = -1
notify = 2 err  
> = (ipc/send) timed out
> JackMachServerNotifyChannel::ClientNotify: ref = -1
notify = 2 err  
> = (ipc/send) timed out
> JackMachServerNotifyChannel::ClientNotify: ref = -1
notify = 2 err  
> = (ipc/send) timed out
>
> ... the above line then appears hundreds of times
before the whole  
> thing appears again and again ...
>
> While answering Stephane's questions (before entering
verbose mode)  
> I was still abel to get it to crash... but once I
switched to  
> verbose mode, I can't get it to crash anymore!  I kept
it in  
> verbose mode, and even did a restart to test it with
starting  
> programs and removing the headphones to try and get the
behavior to  
> reproduce, and no matter what, Jack seems to keep up
(though I did  
> notice a little hiccup in the scsynth app when the
headphones came  
> out... )... So... for some reason verbose mode may seem
to take  
> care of it?
>
> Below is the Console output anyways. I added in
comments (marked  
> with  ---------> ) as I started jackdmp, started
scsynth as a test  
> app, and removed the headphones. Since Jack keeps
working, not sure  
> if this will help out... and if the 'solution' is
leaving things in  
> verbose mode, then that's fine with me (unless there
are reasons  
> why this is bad?)
>
> Thanks,
>
> josh
>
>

Hi Joshua,

I cannot reproduce the problem here on the Mac Mini. My
guess is that  
on the MacBook plugin/unplugin headphones change the audio
context in  
a way that disturb either the jack_coreaudio driver loaded
in the  
jack server, or the JackRouter Jack/Coreaudio bridge.  Thus
the  
problem is not related to jackdmp itself but to coreaudio
part, and i  
think you would have the same issue when using the regular
jackd  
(JackOSX 0.74 package at www.jackosx.cm) Can you possibly
confirm  
this hypothesis?

I'll try to get more info on the issue on the CoreAudio dev
list.

Thanks

Stephane



_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )