From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Default behavior of opening devices Date: Fri, 13 Jan 2006 16:22:58 +0100 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: 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@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, per major requests, I added the code to change the default behavior of opening devices. In the former versions, the open call is blocked if a device is in use. In the current version, the open call is no longer blocked but returns EBUSY immediately. The default behavior can be controlled via the alsa config variable "defaults.pcm.nonblock". Currently, it's set to 1 in /usr/share/alsa/alsa.conf. This can be overridden in either /etc/asound.state or ~/.asoundrc if you would like to keep the old behavior. If anyone has objection to this change, please let me know. Takashi ------------------------------------------------------- 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