K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-02-28T19:42:48.000000Z K 7 svn:log V 383 Lock channels only as necessary in dsp_ioctl(), and only lock one channel at a time unless it is actually necessary to lock both. This avoids problems with lock order reversal and malloc() calls with a mutex held when lower level code unlocks a channel, calls malloc(), and relocks the channel. This also avoids the cost of some unnecessary locking and unlocking. Tested by: matk END