From: Giuliano Pochini Subject: Unusual pcm contraint Date: Mon, 28 Apr 2003 17:47:38 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel List-Id: alsa-devel@alsa-project.org My card can manage substreams of 1, 2, 4, 6, 8 channels. Pcm_open() returns min=1, max=8, but it's not entirely true because 3, 5 and 7 channels are not allowed. In such cases wh_params() returns -EINVAL. Is it ok or is there a cleaner way ? Bye. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf