Hi Greg, I've combed through some of Apple's developer mailing lists, and from what I can tell, this error suggest that either chuck is unexpectedly running in PPC mode, or chuck is running in i386 mode (as expected) but AppleHDAHALPlugIn is somehow a PPC-only executable. The 'file' command can print out what architectures a given executable has been built for. so running 'file chuck' should print: chuck: Mach-O fat file with 2 architectures chuck (for architecture ppc): Mach-O executable ppc chuck (for architecture i386): Mach-O executable i386 Similarly, 'file /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn' should indicate that that file contains i386 code. If chuck or AppleHDAHALPlugIn do not contain i386 executable code, that might be a part the problem. Please let us know either way... hope this helps, spencer On Oct 1, 2006, at 8:07 AM, Gregory Brown wrote:
I am also getting strange [new] messages on my new MacBookPro running 1.2.0.7. The script ran without any problems running 1.2.0.6 on my old laptop, but has started giving the following on the new machine:
[~>chuck myfile.ck] 2006-09-30 16:38:44.706 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:44.730 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.049 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 2006-09-30 16:38:45.054 chuck[2194] CFLog (21): dyld returns 2 when trying to load /System/Library/Extensions/AppleHDA.kext/Contents/ PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn [expected output]
I don't know if it is related, but it is new with the new system. I do eventually get the expected output after a short wait. Perhaps Apple moved a system resource?
- greg
On Sep 25, 2006, at 11:19 PM, Manj Benning wrote:
hi
i am running chuck 1.2.0.7 for the first time on my mac intel.And i keep getting the following problem when i try running the code below ------------------------ error msg:
[chuck]: (via rtaudio): unable to open specified device(s) with given stream parameters: ... RtApiCore: unable to find OS-X audio stream on device (Apple: Built-in Microphone) for requested channels (2).
[chuck]: cannot initialize audio device (try using --silent/-s) --------------------- code: --------------------- adc => dac;
while( true ) { 100::ms => now; } ----------------------
when i do chuck --probe (output shown below) all devices, regardless if they are input (adc) or output (dac) are shown as dacs. With inputs channels set to 2 when the imic and line in are single channel devices. Whats up with this? And the built in mic on my laptop is working just fine when i check through the system prefs.
thanks Manj ------------------------------- Macintosh-4:~/Documents/Development/chuck/code manj$ chuck --probe [chuck]: found 4 device(s) ... [chuck]: ------( chuck -- dac1 )--------------- [chuck]: device name = "Apple: Built-in Microphone" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac2 )--------------- [chuck]: device name = "Apple: Built-in Input" [chuck]: probe [success] ... [chuck]: # output channels = 0 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 0 [chuck]: default device = NO [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac3 )--------------- [chuck]: device name = "Apple: Built-in Output" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 0 [chuck]: # duplex Channels = 0 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- dac4 )--------------- [chuck]: device name = "Apple Computer, Inc.: Aggregate Device" [chuck]: probe [success] ... [chuck]: # output channels = 2 [chuck]: # input channels = 2 [chuck]: # duplex Channels = 2 [chuck]: default device = YES [chuck]: natively supported data formats: [chuck]: 8-bit int [chuck]: 16-bit int [chuck]: 24-bit int [chuck]: 32-bit int [chuck]: 32-bit float [chuck]: 64-bit float [chuck]: supported sample rates: [chuck]: 44100 Hz [chuck]: 48000 Hz [chuck]: 88200 Hz [chuck]: 96000 Hz [chuck]: [chuck]: ------( chuck -- 0 MIDI inputs )------ [chuck]: [chuck]: ------( chuck -- 0 MIDI outputs )----- [chuck]: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users