From nobody Mon Oct 4 10:38:30 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 86ABD17F7834 for ; Mon, 4 Oct 2021 10:38:43 +0000 (UTC) (envelope-from webplication@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 4HNHJ25dLbz4X30 for ; Mon, 4 Oct 2021 10:38:42 +0000 (UTC) (envelope-from webplication@gmail.com) Received: by mail-il1-x12c.google.com with SMTP id b6so17775374ilv.0 for ; Mon, 04 Oct 2021 03:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tlEFI6PBpjc03Zzcyr888ORJDs59X1b6CjDeYT8XruU=; b=iSLGUzg56FWL5zly401j2TUGBLudeklM4qYUBTYKc4AMpVdX4b2piZwpFprq5M0d9B ceQLTtixV+GGtKN8X351U/B4FFcKFzXJzd8jJK+sgN5wpeRICxKwLj3LR+CTOGUAb9Jc KyJUaZ7vjoC5Hnbr0Di7/kRN9LPTkZo+8NR6O/3/ZZMb1UZZpDKQFhAvddalAnHRIS+J CL4uBkZO4A7tjocAf8DLaS8Xs4ORyghWiDqCI6JGna/CYX0S96Vdq5S9RlKEHbdTvBG/ RcEtqmRf5pBnY4Wrw9eI4cTxSrOpjl3owBk1FSxz95omiQSSvlcQHJqI1cBKiv5fUkIk 9ozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tlEFI6PBpjc03Zzcyr888ORJDs59X1b6CjDeYT8XruU=; b=LrUImep8E1sBJ14XoE45WIfDnJIjMk1BwwCJgrFtnX39UiyrF+D42cI6lA4/+2aesy 7aluGfIGIf7+0eK87Eybd9bvunhG0JXr7T3l/HMnJLGw7Xr4D6zrfsNufpLYvw/x4Jac eGdQJfAWITUSl5LXpMGqqb6pUg0UrmW4IO/zHoWEASDgAKemY7gYT7NzRAQM4sGew2iD fujnaorCF67j5Aae5YF/0IAqGQCI6G4jm82rFheqgSeC3V2vlUhEOxtttUxyDD+iKsIV EWZQqqp31QxH6dGroy7JMprnTlOT2967v/Y85CHK/PzH27Sm1rUZ6Pcp+kiUfHvQUufI mTKg== X-Gm-Message-State: AOAM533QrVunLYgM1sTVN0Y0U243Yqw/weOkhpSCqeB5nUv/Vu0mfyi6 I9+/k7zx458C0gMVD/7PkEzuIRF+0OTLPQfSt1+G/Kw4FKk= X-Google-Smtp-Source: ABdhPJx2H13T7AD6cdUP/mbQhf/4Gf/lFLFHoLjwH4QPBa1vJjgOpcQEbYK1/hBmLCbSWP0Ooo0qcwbtr61Xx3O/p9A= X-Received: by 2002:a05:6e02:1c0d:: with SMTP id l13mr9393213ilh.7.1633343922231; Mon, 04 Oct 2021 03:38:42 -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 References: <03103736-8052-5901-b5bf-288a313af874@selasky.org> <8ff167fe-51e7-2239-2fa6-69a935a5dc11@selasky.org> In-Reply-To: <8ff167fe-51e7-2239-2fa6-69a935a5dc11@selasky.org> From: J P Date: Mon, 4 Oct 2021 12:38:30 +0200 Message-ID: Subject: Re: tee-like function via virtual_oss To: freebsd-multimedia@freebsd.org Content-Type: multipart/alternative; boundary="00000000000047dfb705cd848469" X-Rspamd-Queue-Id: 4HNHJ25dLbz4X30 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=iSLGUzg5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of webplication@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=webplication@gmail.com X-Spamd-Result: default: False [-3.16 / 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::12c:from]; NEURAL_HAM_SHORT(-0.16)[-0.158]; 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 --00000000000047dfb705cd848469 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for your email. I think the use-case I am facing is different: the player is using /dev/dsp0.something, I have no control over it. Furthermore, since I installed virtual_oss all the audio devices have gone from PulseAudio, which is a little odd. On top of this, /dev/ is being populated with a lot of /dev/dsp0.x (now I have 14) and the number grows the more I use audio. Can my goal be achieved with virtual_oss or would you suggest some other tool? Thank you. El lun, 4 oct 2021 a las 9:21, Hans Petter Selasky () escribi=C3=B3: > Hi, > > On 10/3/21 11:33 PM, J P wrote: > > Hi, > > thank you. > > > > It does not seems to work. I get all null samples when recording. > > > > Which dsp device are you recording from? > > > Maybe it's a matter of gain? How do I control gain with virtual_oss? > > You can install virtual_oss_ctl to control the gain. > > I tested with SOX from ports and it works fine here: > > env AUDIODEV=3D/dev/dsp9 play somefile.wav & > > env AUDIODEV=3D/dev/dsp9 rec somerecording.wav > > --HPS > --00000000000047dfb705cd848469--