From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve deRosier Subject: Re: hw pause in USB Date: Tue, 03 Jan 2006 16:19:58 -0800 Message-ID: <43BB14AE.4030400@pianodisc.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alsa-Devel Cc: Takashi Iwai , Clemens Ladisch List-Id: alsa-devel@alsa-project.org We've got it licked. The most recent issue was a thread synchronization issue, where our pcm writing thread was putting data into the pcm AFTER we "paused" it and corrupting both the pcm and our "save" ring buffer. After inserting a mutex all was well. Thanks for your help in figuring out how to implement a software emulated pause. Now all I need is that time to write that high-level basic sound library. :) - Steve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click