From: Chris B. <ch...@cn...> - 2011-10-09 16:04:57
|
On Sat, Oct 8, 2011 at 8:13 AM, Jan Stary <ha...@st...> wrote: > On Sep 21 16:26:39, Schumacher Marlon wrote: >> I am the only one developing SoX on OSX right now and I can not >> reproduce the issue myself and ran out of ideas to fix. >> Hopefully, some one that has hardware issues will some day also be >> able to debug it. > > I take that as a gentle nod to finally submit a gdb trace > of my problematic session :-) You've provided tons of good enough in the past. I'm not sure if a new gdb trace will help things but maybe it will. If you have time with latest git, please try. > On Sep 29 21:41:11, Chris Bagwell wrote: >> I've fixed the bug below but can't test it very well since I only have >> 3 audio devices (why I never saw the problem before I guess). > > Rebuilding from the current git tree, this is what my SoX sees: > > $ sox -V6 -n -t coreaudio junkname > sox: SoX v14.4.0 > time: Oct 8 2011 14:25:29 > uname: Darwin mac.stare.cz 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul > 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 > compiler: gcc 4.0.1 (Apple Inc. build 5493) > arch: 1248 48 44 L > sox INFO nulfile: sample rate not specified; using 48000 > > Input File : '' (null) > Channels : 1 > Sample Rate : 48000 > Precision : 32-bit > > fCoreAudioDriverUID AppleHDAEngineInput:1 > sox INFO coreaudio: Found Audio Device "Built-in Microp" > > sox INFO coreaudio: Found Audio Device "Built-in Input" > > sox INFO coreaudio: Found Audio Device "Built-in Outpu" > > sox INFO coreaudio: Found Audio Device "M-Audio Mobile" > > sox FAIL formats: can't open output file `junkname': can not open audio > device > Cool. I submitted it hoping it would work but I only have 3 built in devices so couldn't verify. > (I guess the device name is limited to be a char[16] including the \0.) > Yeah, the function to get a list of devices truncates for some reason. Probably there is another function call to get full name but I think its good enough for our purposes. Chris |