And the point of all this is?
Sincerely, The Constantly Barefooted Ray!!! Now a very proud and happy Mac user!!! Skype name: barefootedray Facebook: facebook.com/ray.foretjr.1 On Nov 11, 2011, at 10:56 AM, Doug Lee wrote: > On Fri, Nov 11, 2011 at 08:57:42AM -0600, Chris Bagwell wrote: >> On Thu, Nov 10, 2011 at 3:02 PM, Doug Lee <[email protected]> wrote: >>> Not sure if this is a MacOS problem, a SoX problem, or both. >>> >>> Tested on MacOS SnowLeopard (and Leopard I think, but I'm not sure of >>> that) with SoX 14.3.2 as installed via MacPorts. >>> >>> Problem: I can block all sounds on MacOS by suspending a SoX play. >>> >>> Steps to reproduce: >>> >>> Verify that system sounds work: Cause a beep by hitting an invalid >>> key, play a file with another program, etc.). >>> >>> Start playing a file (play file.wav) from a shell (I use tcsh). >>> >>> Suspend play with Ctrl+Z. >>> >>> Try to produce a sound with another program. >>> >>> Result: No program, even the system itself (or VoiceOver, for those of >>> us who use that) can produce a sound until play is resumed. >>> > >> That doesn't sound good. SoX doesn't have a SIGSTOP handler so >> probably a thread related to coreaudio gets stuck on a mutex. Scary a >> bad app locks down the whole audio subsystem. > >> I did a quick search for examples of other core audio apps source code >> and I didn't see anyone else doing anything special for this case. > >> An interesting test would be to use "kill -s SIGSTOP %pid" of some >> GUI-ish audio app and see if it locks up coreaudio the same way. > >> Anyways, it sounds like a SoX bug but I'm not quite sure how to fix it. > >> Chris > > Actually, someone on the Mac list I also sent this to confirmed just > now that the problem can be demonstrated with just MacOS software: > > Type this in Terminal, press Enter, then suspend with Ctrl+Z: > > say "Hello, this is a sound system test. Suspending this suspends all system > sound." > > Resume with "fg" to get system sound back. > > So this is not SoX' fault after all. > > -- > Doug Lee [email protected] http://www.dlee.org > SSB BART Group [email protected] > http://www.ssbbartgroup.com > "When your best-laid plans have turned to dust, vacuum!" > - Whoopi Goldberg > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en.
