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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37DA4C7EE24 for ; Tue, 6 Jun 2023 14:01:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237361AbjFFOBy (ORCPT ); Tue, 6 Jun 2023 10:01:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237768AbjFFOBj (ORCPT ); Tue, 6 Jun 2023 10:01:39 -0400 Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5420710C6; Tue, 6 Jun 2023 07:01:38 -0700 (PDT) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id 90FB51E3D; Tue, 6 Jun 2023 15:51:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz 90FB51E3D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1686059511; bh=dDuiJtC24VzdW+Dfhr7wI+sSeuZ/1y/CLCgGZYk1WFQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Y37Wc0IGEPj2SS76VZrwz5gyRGe+FVQFJw47RA36sbU94kvhIAwWA0QmdJero4UrL ZN15FvQkFg84cVKzgWO8IDnsMDFVtsSqoEFkED0lkGCCRxk1EzDBhguE3hsClVBkRW SFGicwNFTfAryhHQBaZW7foa4GfKafG/T0RveYVw= Received: from [192.168.100.98] (unknown [192.168.100.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 6 Jun 2023 15:51:39 +0200 (CEST) Message-ID: Date: Tue, 6 Jun 2023 15:51:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 3/3] selftests: ALSA: Add test for the 'pcmtest' driver Content-Language: en-US To: Ivan Orlov , tiwai@suse.com, corbet@lwn.net, broonie@kernel.org, skhan@linuxfoundation.org Cc: alsa-devel@alsa-project.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, gregkh@linuxfoundation.org, himadrispandya@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org References: <20230606133807.14089-1-ivan.orlov0322@gmail.com> <20230606133807.14089-3-ivan.orlov0322@gmail.com> From: Jaroslav Kysela In-Reply-To: <20230606133807.14089-3-ivan.orlov0322@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06. 06. 23 15:38, Ivan Orlov wrote: > This test covers the new Virtual PCM Test Driver, including the capturing, > playback and ioctl redefinition functionalities for both interleaved and > non-interleaved access modes. This test is also helpful as an usage example > of the 'pcmtest' driver. > > We have a lot of different virtual media drivers, which can be used for > testing of the userspace applications and media subsystem middle layer. > However, all of them are aimed at testing the video functionality and > simulating the video devices. For audio devices we have only snd-dummy > module, which is good in simulating the correct behavior of an ALSA device. > I decided to write a tool, which would help to test the userspace ALSA > programs (and the PCM middle layer as well) under unusual circumstances > to figure out how they would behave. So I came up with this Virtual PCM > Test Driver. Acked-by: Jaroslav Kysela -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.