19cab9fdeSChristos Margiolis.\" 29cab9fdeSChristos Margiolis.\" Copyright (c) 2021-2022 Hans Petter Selasky <hselasky@freebsd.org> 39cab9fdeSChristos Margiolis.\" 49cab9fdeSChristos Margiolis.\" Redistribution and use in source and binary forms, with or without 59cab9fdeSChristos Margiolis.\" modification, are permitted provided that the following conditions 69cab9fdeSChristos Margiolis.\" are met: 79cab9fdeSChristos Margiolis.\" 1. Redistributions of source code must retain the above copyright 89cab9fdeSChristos Margiolis.\" notice, this list of conditions and the following disclaimer. 99cab9fdeSChristos Margiolis.\" 2. Redistributions in binary form must reproduce the above copyright 109cab9fdeSChristos Margiolis.\" notice, this list of conditions and the following disclaimer in the 119cab9fdeSChristos Margiolis.\" documentation and/or other materials provided with the distribution. 129cab9fdeSChristos Margiolis.\" 139cab9fdeSChristos Margiolis.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 149cab9fdeSChristos Margiolis.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 159cab9fdeSChristos Margiolis.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 169cab9fdeSChristos Margiolis.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 179cab9fdeSChristos Margiolis.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 189cab9fdeSChristos Margiolis.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 199cab9fdeSChristos Margiolis.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 209cab9fdeSChristos Margiolis.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 219cab9fdeSChristos Margiolis.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 229cab9fdeSChristos Margiolis.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 239cab9fdeSChristos Margiolis.\" SUCH DAMAGE. 249cab9fdeSChristos Margiolis.\" 259cab9fdeSChristos Margiolis.\" 269cab9fdeSChristos Margiolis.Dd February 12, 2025 279cab9fdeSChristos Margiolis.Dt VIRTUAL_OSS_CMD 8 289cab9fdeSChristos Margiolis.Os 299cab9fdeSChristos Margiolis.Sh NAME 309cab9fdeSChristos Margiolis.Nm virtual_oss_cmd 319cab9fdeSChristos Margiolis.Nd modify a running 329cab9fdeSChristos Margiolis.Xr virtual_oss 8 339cab9fdeSChristos Margiolisinstance's options 349cab9fdeSChristos Margiolis.Sh SYNOPSIS 359cab9fdeSChristos Margiolis.Nm 369cab9fdeSChristos Margiolis.Sh DESCRIPTION 379cab9fdeSChristos Margiolis.Nm 389cab9fdeSChristos Margiolispass additional command line arguments to a running 399cab9fdeSChristos Margiolis.Xr virtual_oss 8 409cab9fdeSChristos Margiolisinstance via its control device. 419cab9fdeSChristos MargiolisSupported command line arguments: 429cab9fdeSChristos Margiolis.Bl -tag -width indent 439cab9fdeSChristos Margiolis.It Fl E Ar xxx 449cab9fdeSChristos Margiolis.It Fl F Ar xxx 459cab9fdeSChristos Margiolis.It Fl G Ar xxx 469cab9fdeSChristos Margiolis.It Fl L Ar xxx 479cab9fdeSChristos Margiolis.It Fl M Ar xxx 489cab9fdeSChristos Margiolis.It Fl O Ar xxx 499cab9fdeSChristos Margiolis.It Fl P Ar xxx 509cab9fdeSChristos Margiolis.It Fl R Ar xxx 519cab9fdeSChristos Margiolis.It Fl a Ar xxx 529cab9fdeSChristos Margiolis.It Fl b Ar xxx 539cab9fdeSChristos Margiolis.It Fl c Ar xxx 549cab9fdeSChristos Margiolis.It Fl d Ar xxx 559cab9fdeSChristos Margiolis.It Fl e Ar xxx 569cab9fdeSChristos Margiolis.It Fl f Ar xxx 579cab9fdeSChristos Margiolis.It Fl l Ar xxx 589cab9fdeSChristos Margiolis.It Fl m Ar xxx 599cab9fdeSChristos Margiolis.It Fl p Ar xxx 609cab9fdeSChristos Margiolis.It Fl s Ar xxx 619cab9fdeSChristos Margiolis.It Fl w Ar xxx 629cab9fdeSChristos Margiolis.El 639cab9fdeSChristos Margiolis.Pp 649cab9fdeSChristos MargiolisRefer to 659cab9fdeSChristos Margiolis.Xr virtual_oss 8 669cab9fdeSChristos Margiolisfor a detailed description of the command line arguments. 679cab9fdeSChristos Margiolis.Sh EXAMPLES 689cab9fdeSChristos MargiolisTo change the recording device: 699cab9fdeSChristos Margiolis.Bd -literal -offset indent 709cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl -R /dev/dsp4 719cab9fdeSChristos Margiolis 729cab9fdeSChristos Margiolis.Ed 739cab9fdeSChristos MargiolisTo change the playback device: 749cab9fdeSChristos Margiolis.Bd -literal -offset indent 759cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl -P /dev/dsp4 769cab9fdeSChristos Margiolis 779cab9fdeSChristos Margiolis.Ed 789cab9fdeSChristos MargiolisTo enable recording: 799cab9fdeSChristos Margiolis.Bd -literal -offset indent 809cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl -E 1 819cab9fdeSChristos Margiolis 829cab9fdeSChristos Margiolis.Ed 839cab9fdeSChristos MargiolisTo disable recording: 849cab9fdeSChristos Margiolis.Bd -literal -offset indent 859cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl -E 0 869cab9fdeSChristos Margiolis 879cab9fdeSChristos Margiolis.Ed 889cab9fdeSChristos MargiolisTo create a new DSP device on the fly: 899cab9fdeSChristos Margiolis.Bd -literal -offset indent 909cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl -b 16 -c 2 -d dsp.new 919cab9fdeSChristos Margiolis 929cab9fdeSChristos Margiolis.Ed 939cab9fdeSChristos MargiolisTo show system information: 949cab9fdeSChristos Margiolis.Bd -literal -offset indent 959cab9fdeSChristos Margiolisvirtual_oss_cmd /dev/vdsp.ctl 969cab9fdeSChristos Margiolis 979cab9fdeSChristos Margiolis.Ed 989cab9fdeSChristos Margiolis.Sh SEE ALSO 999cab9fdeSChristos Margiolis.Xr virtual_oss 8 1009cab9fdeSChristos Margiolis.Sh AUTHORS 1019cab9fdeSChristos Margiolis.Nm 1029cab9fdeSChristos Margioliswas written by 1039cab9fdeSChristos Margiolis.An Hans Petter Selasky hselasky@freebsd.org . 104