From nobody Sun Oct 3 15:47:50 2021 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9F3C317E29A8 for ; Sun, 3 Oct 2021 15:48:03 +0000 (UTC) (envelope-from webplication@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HMpCQ45Wvz3N6C for ; Sun, 3 Oct 2021 15:48:02 +0000 (UTC) (envelope-from webplication@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id b78so17496045iof.2 for ; Sun, 03 Oct 2021 08:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=5q2v6UOn7mHrrM40bMDhu4ZJpcGyBDIhNfCIx3hU8JY=; b=Bmq4Bugfq7Rzh3xCSEsGUnKpg//fZ0tfHocCbv7eFCEz/KN/U3hYtdvMPwaYOgqEW4 sZIoL638WfNPJys04RAE9R8rzAuURyX0m7ijH8roOUtrSXKC5UMJ5YK4M5VeRaB+SvfI G/9GYwUdKRxVffUXJpXry3jOgLS31PrN8tfvCLeKjt7JLEF+3Fy10nd0K119sPesfriH 7VnRO6p57P/ojcKqkCXPNODFyjQU/ds7aMA1+R/vG64piJcCXA33TXlkZfDoIapDzFmX xkUN924mexSBIFZU94Zvn4dkeyVF7Ve/uiJtI1YZAOij2RW8tt1X7rdQ+m7PNWbGrn+x /6NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5q2v6UOn7mHrrM40bMDhu4ZJpcGyBDIhNfCIx3hU8JY=; b=gQlxeWByDHMSLswsQmdX6B1U3iiIi8QRU+820gWUtv+9ZghSDQCDLvkNR9frRMwfBY f2uhnOu1Si2JkgcnbgpRCcZJBswxnGkzgHGfrz4RPPK633/czNceTTbUm3RL7xzo+twP fnhUuB60bo+67onrQOx1uOFHPznanX0AR68m79ExoDPYfhLCNP/aUu+YEFRFWcYwBYXs 0nPoChHozqWpV1qeVxZoCQgS9uqG7mP040wJumro+0p0bjFi6Wx8g4iUT4em2BRaQELG 1l5wqDELh5FG6/3ZkoaaHb0jxzFMN6fu8FyXn3Dl4kshiNV86woPJerq8v2q/cenPpAY 7VgQ== X-Gm-Message-State: AOAM530mYAfd4vaNL223Ihk0t9RzyrYTi+qP9EO2BIL+HfBYayOiTNjS IEetRTU0lGtgwRFs0J4QSOeHBPOU+6qC+BpeM3pW3ASlJ9Cvlg== X-Google-Smtp-Source: ABdhPJyhhDs2NsD/EwRT7UaaWwzpIm1LkdoCffUAZNoscIvlzvl1F7qJna2O/M2QJZiSwhtfS4w5aiJxxv7/TJi8nf0= X-Received: by 2002:a02:3b5e:: with SMTP id i30mr4119141jaf.127.1633276081694; Sun, 03 Oct 2021 08:48:01 -0700 (PDT) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 From: J P Date: Sun, 3 Oct 2021 17:47:50 +0200 Message-ID: Subject: tee-like function via virtual_oss To: freebsd-multimedia@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ab69f405cd74b8cd" X-Rspamd-Queue-Id: 4HMpCQ45Wvz3N6C X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Bmq4Bugf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of webplication@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=webplication@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ab69f405cd74b8cd Content-Type: text/plain; charset="UTF-8" Hi, I need to record what is being played back from a play-only device: pcm0: (play) default I thought that virtual_oss might come at hand for this and function in a "tee-like" fashion but I am unable to have it work. My config is as follows: -T /dev/sndstat -C 2 -c 2 -r 48000 -b 24 -s 8.0ms -f /dev/null -d dsp5 -M x,0,5,0,0,0 What am I doing wrong? It seems that this configuration connects the input of dsp5 to the output of dsp0, but I actually need the other way around. Thank you. --000000000000ab69f405cd74b8cd--