From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86038C432C3 for ; Fri, 15 Nov 2019 23:29:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71E022072B for ; Fri, 15 Nov 2019 23:29:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TN2/YNo/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="Co2QuJ7k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71E022072B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ieee.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 25AA91680; Sat, 16 Nov 2019 00:28:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 25AA91680 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573860560; bh=Znyy1AaRW+TNho9gP2SLgVBBD6RdmL8iW0k6o/YhfBk=; h=References:In-Reply-To:From:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TN2/YNo/3+xCE/8wcXbF3d2ahdgTXLPuUVrbYp+fsOU96r1huCfGqb9MNXdIQqUhW oqpi2GppCm7KqeUK8P0XAYp1EgmS4W81xnQIqkaDc3zB5RJTd0eH7jDqSuZtn0a2gx ARioA49wfhycldgTrt7f6MFn+6w2k+IXXxPxGsqo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 959E0F80103; Sat, 16 Nov 2019 00:28:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CB103F80104; Sat, 16 Nov 2019 00:28:25 +0100 (CET) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AE468F800CC for ; Sat, 16 Nov 2019 00:28:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AE468F800CC Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="Co2QuJ7k" Received: by mail-ot1-x332.google.com with SMTP id f10so9466793oto.3 for ; Fri, 15 Nov 2019 15:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1S+5AAijxPmowvKY3xdX13aSIUjpVHHhk9dA/hvM50Q=; b=Co2QuJ7km02YoRxq1SKwwezQbRTDaRmt2AT/+V3dm7GJCVC6tDpFn/Hg+Pl8IbQIen q9JXEgBIbs1nevjrRrpDeM3vhDnhzj4L+joUurXaVVSPqtAxVo/C+6HAL7XhTYcIbh1I m+qW83ur791d1vQ1UQWlsnOW3+IyyU1O0KlBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1S+5AAijxPmowvKY3xdX13aSIUjpVHHhk9dA/hvM50Q=; b=cDDRDNk4rd+H2NZDUSvNujEsrtQjoYdolrng4Z90UGVLs+Drjk35weVzzf7pWYnzOH 24tymJgyrf83GoCLXs7HJfzAh7/l7wK0QDXw9Sg104xUWm3wTaGP9tMWEIF7Nv1J/AXF m3JWQuhgKuxbdzGYKy1pHIcwBXaz7ml46LD17ciNniI7yt4gjClixMb2x3kooMU3sJSd jURd42RAnHxxlM5DWue7rUusM0EF9fBQvZFB4ZmWCvgfpMeMnDbYvR5ANHBQrNOxJ/nu pP/bpcZaJNgVPr2qUJ7ECJ/7bra1a5AxLngSBopOcWcMQAeGS8X51SZDRFPBMqV3rKZm W3Mg== X-Gm-Message-State: APjAAAV4R+r3zT2ov9T+DQ52EFbCkJDnb9pzpv8mZrG95e+nmlp1MQdL 07LfBux07sMV9FkQIKt/17RvfslRTPY= X-Google-Smtp-Source: APXvYqyaNSBWiFIaRCeTyVYTqDqSQPW6lT3G5I6VjqWaeBUxMpaIDu6dSy7MMv0zsE8zEo2k7WcIOg== X-Received: by 2002:a9d:d76:: with SMTP id 109mr12062247oti.73.1573860497530; Fri, 15 Nov 2019 15:28:17 -0800 (PST) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com. [209.85.210.41]) by smtp.gmail.com with ESMTPSA id b12sm3415448otl.34.2019.11.15.15.28.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Nov 2019 15:28:16 -0800 (PST) Received: by mail-ot1-f41.google.com with SMTP id w24so8980193otk.6 for ; Fri, 15 Nov 2019 15:28:16 -0800 (PST) X-Received: by 2002:a05:6830:1f28:: with SMTP id e8mr1655491oth.173.1573860495926; Fri, 15 Nov 2019 15:28:15 -0800 (PST) MIME-Version: 1.0 References: <20190904164706.gwjbcywbj7emnwvr@localhost> In-Reply-To: From: xinhui zhou Date: Fri, 15 Nov 2019 15:28:05 -0800 X-Gmail-Original-Message-ID: Message-ID: To: alsa-devel@alsa-project.org X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: alsa-user@lists.sourceforge.net Subject: [alsa-devel] Number of PCM instance (pcm device file) for one sound card X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Dear all , The tutorial below states that ""Each card device can have up to four pcm instances" https://www.kernel.org/doc/html/v4.19/sound/kernel-api/writing-an-alsa-driver.html#pcm-interface I am getting confused with the number '4' . I thought we can add 8 pcm device files by default. By setting 'CONFIG_SND_DYNAMIC_MINORS=y' , we can have more than 8 pcm device files. Does that tutorial mean only 4 pcm devices running at the same time ? Thanks a lot, Xinhui, _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel