Home
last modified time | relevance | path

Searched full:mixer (Results 1 – 25 of 157) sorted by relevance

1234567

/freebsd/usr.sbin/mixer/tests/
H A Dmixer_test.sh32 if ! mixer >/dev/null 2>&1; then
33 atf_skip "no mixer available"
39 atf_check -o save:test_mixer_conf mixer -o
45 test -r "test_mixer_conf" && mixer $(cat test_mixer_conf)
57 deflt_unit="$(mixer | grep ^pcm | cut -f1 -d:)"
58 dummy_unit="$(mixer -a | grep "Dummy Audio Device" | cut -f1 -d:)"
64 mixer -d ${dummy_unit}
70 mixer -d $(cat test_mixer_deflt_unit) || true
85 atf_check -o ignore -e empty mixer $(mixer -o)
106 atf_check -o ignore -e empty mixer -d ${dev}
[all …]
/freebsd/lib/libmixer/
H A Dmixer.351 Mixer library (libmixer, -lmixer)
57 .Fn mixer_close "struct mixer *m"
59 .Fn mixer_get_dev "struct mixer *m" "int devno"
61 .Fn mixer_get_dev_byname "struct mixer *m" "name"
75 .Fn mixer_set_vol "struct mixer *m" "mix_volume_t vol"
77 .Fn mixer_set_mute "struct mixer *m" "int opt"
79 .Fn mixer_mod_recsrc "struct mixer *m" "int opt"
83 .Fn mixer_set_dunit "struct mixer *m" "int unit"
91 .Fn MIX_ISDEV "struct mixer *m" "int devno"
93 .Fn MIX_ISMUTE "struct mixer *m" "int devno"
[all …]
H A DMakefile1 LIB= mixer
8 MLINKS+= mixer.3 mixer_open.3
9 MLINKS+= mixer.3 mixer_close.3
10 MLINKS+= mixer.3 mixer_get_dev.3
11 MLINKS+= mixer.3 mixer_get_dev_byname.3
12 MLINKS+= mixer.3 mixer_add_ctl.3
13 MLINKS+= mixer.3 mixer_add_ctl_s.3
14 MLINKS+= mixer.3 mixer_remove_ctl.3
15 MLINKS+= mixer.3 mixer_get_ctl.3
16 MLINKS+= mixer.3 mixer_get_ctl_byname.3
[all …]
H A Dmixer.c34 #include "mixer.h"
36 #define BASEPATH "/dev/mixer"
57 * Open a mixer device in `/dev/mixerN`, where N is the number of the mixer.
59 * mixer for pcm0, and so on.
61 * @param name path to mixer device. NULL or "/dev/mixer" for the
62 * the default mixer (i.e `hw.snd.default_unit`).
64 struct mixer *
67 struct mixer *m = NULL; in mixer_open()
72 if ((m = calloc(1, sizeof(struct mixer))) == NULL) in mixer_open()
76 /* `name` does not start with "/dev/mixer". */ in mixer_open()
[all …]
H A Dmixer.h39 struct mixer;
56 struct mixer *parent_mixer; /* parent mixer */
72 struct mixer { struct
75 oss_mixerinfo mi; /* mixer info */ argument
77 char name[NAME_MAX]; /* mixer name (e.g /dev/mixer0) */ argument
96 int f_default; /* default mixer flag */ argument
101 struct mixer *mixer_open(const char *);
102 int mixer_close(struct mixer *);
103 struct mix_dev *mixer_get_dev(struct mixer *, int);
104 struct mix_dev *mixer_get_dev_byname(struct mixer *, const char *);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/samsung/
H A Dsamsung,exynos-mixer.yaml4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-mixer.yaml#
7 title: Samsung Exynos SoC Mixer
16 Samsung Exynos SoC Mixer is responsible for mixing and blending multiple data
23 - samsung,exynos4210-mixer
24 - samsung,exynos4212-mixer
25 - samsung,exynos5250-mixer
26 - samsung,exynos5420-mixer
27 - const: samsung,exynos5-mixer
33 - description: Gate of Mixer IP bus clock.
36 mixer mu
[all...]
/freebsd/usr.sbin/mixer/
H A Dmixer.826 .Nm mixer
27 .Nd manipulate soundcard mixer controls
43 utility is used to set and display soundcard mixer device controls.
48 Print the values for all mixer devices available in the system
84 as the mixer device
89 Print mixer values in a format suitable for use inside scripts.
90 The mixer's header (name, audio card name, ...) will not be printed.
92 Print only the recording source(s) of the mixer device.
122 The list of mixer devices that may be modified are:
134 Not all mixer devices are available.
[all …]
H A Dmixer.c28 #include <mixer.h>
41 static void initctls(struct mixer *);
42 static void printall(struct mixer *, int);
43 static void printminfo(struct mixer *, int);
44 static void printdev(struct mixer *, int);
45 static void printrecsrc(struct mixer *, int); /* XXX: change name */
46 static int set_dunit(struct mixer *, int, char *);
58 struct mixer *m; in main()
123 errx(1, "%s: no such mixer", name); in main()
132 * Open current mixer since we changed the default in main()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/display/
H A Dallwinner,sun8i-a83t-de2-mixer.yaml4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-a83t-de2-mixer.yaml#
7 title: Allwinner Display Engine 2.0 Mixer
16 - allwinner,sun8i-a83t-de2-mixer-0
17 - allwinner,sun8i-a83t-de2-mixer-1
18 - allwinner,sun8i-h3-de2-mixer-0
19 - allwinner,sun8i-r40-de2-mixer-0
20 - allwinner,sun8i-r40-de2-mixer-1
21 - allwinner,sun8i-v3s-de2-mixer
22 - allwinner,sun20i-d1-de2-mixer-0
23 - allwinner,sun20i-d1-de2-mixer-1
[all …]
H A Dallwinner,sun4i-a10-display-engine.yaml39 The same rule also applies to DE 2.0 mixer-TCON connections:
41 Mixer 0 [0] ----------- [0] TCON 0
47 Mixer 1 [1] ----------- [1] TCON 1
/freebsd/sys/contrib/device-tree/Bindings/display/exynos/
H A Dexynos_mixer.txt1 Device-Tree bindings for mixer driver
5 1) "samsung,exynos5-mixer" <DEPRECATED>
6 2) "samsung,exynos4210-mixer"
7 3) "samsung,exynos4212-mixer"
8 4) "samsung,exynos5250-mixer"
9 5) "samsung,exynos5420-mixer"
11 - reg: physical base address of the mixer and length of memory mapped
15 a) mixer: Gate of Mixer IP bus clock.
17 mixer mux.
22 mixer {
[all …]
/freebsd/libexec/rc/rc.d/
H A Dmixer29 # PROVIDE: mixer
35 name="mixer"
36 desc="Save and restore soundcard mixer values"
44 # List current mixer devices to stdout.
48 ( cd /dev ; ls mixer* 2>/dev/null )
52 # Save state of an individual mixer specified as $1
60 /usr/sbin/mixer -f ${dev} -o > /var/db/${1}-state 2>/dev/null
65 # Restore the state of an individual mixer specified as $1
74 /usr/sbin/mixer -f ${dev} `cat ${file}` > /dev/null
83 local mixer
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dmixer.c40 static MALLOC_DEFINE(M_MIXER, "mixer", "mixer");
45 "control channel pcm/rec volume, bypassing real mixer device");
70 * mixer's controls. A change in value indicates that persistent
71 * mixer applications should update their displays.
105 .d_name = "mixer",
331 mixer_get(struct snd_mixer *mixer, int dev) in mixer_get() argument
333 if ((dev < SOUND_MIXER_NRDEVICES) && (mixer->devs & (1 << dev))) { in mixer_get()
334 if (mixer->mutedevs & (1 << dev)) in mixer_get()
335 return (mixer->level_muted[dev]); in mixer_get()
337 return (mixer->level[dev]); in mixer_get()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dnvidia,tegra210-mixer.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-mixer.yaml#
7 title: Tegra210 Mixer
10 The Mixer supports mixing of up to ten 7.1 audio input streams and
40 pattern: "^MIXER[1-9]$"
45 Mixer has ten inputs and five outputs. Accordingly ACIF (Audio
46 Client Interfaces) port nodes are defined to represent Mixer
54 description: Mixer ACIF input ports
58 description: Mixer ACIF output ports
H A Dfsl,audmix.txt1 NXP Audio Mixer (AUDMIX).
3 The Audio Mixer is a on-chip functional module that allows mixing of two
4 audio streams into a single audio stream. Audio Mixer has two input serial
7 frame in TDM manner. Mixer mixes audio samples of corresponding channels
10 Audio Mixer is also a serial audio interface. Like input interfaces it has
15 The output of Audio Mixer can be selected from any of the three streams
H A Daxentia,tse850-pcm5142.txt7 - axentia,add-gpios: gpio specifier that controls the mixer.
33 meaning that input and output are directly connected, or they are in mixer
34 position, meaning that the signal is passed through the 'Sum' mixer. Similarly
37 In the above, the 'loop1' relays are inactive, thus feeding IN1 to the mixer
38 (if 'add' is active) and feeding the mixer output to OUT1. The 'loop2' relays
/freebsd/sbin/devd/
H A Dasus.conf9 action "mixer vol.volume=0";
16 action "mixer vol.volume=-10%";
23 action "mixer vol.volume=+10%";
31 action "mixer vol.volume=0";
38 action "mixer vol.volume=-10%";
45 action "mixer vol.volume=+10%";
H A Dapple.conf46 action "mixer vol.mute=^";
54 action "mixer vol.volume=-10%";
62 action "mixer vol.volume=+10%";
/freebsd/usr.bin/usbhidaction/
H A Dusbhidaction.1141 Consumer:Volume_Increment 1 0 mixer -f $1 vol.volume=+1%
142 Consumer:Volume_Decrement 1 0 mixer -f $1 vol.volume=-1%
143 Consumer:Mute 1 0 mixer -f $1 vol.mute=^
144 Consumer:Channel_Top.Microsoft:Base_Up 1 0 mixer -f $1 bass.volume=+1%
145 Consumer:Channel_Top.Microsoft:Base_Down 1 0 mixer -f $1 bass.volume=-1%
152 The following example controls the mixer volume using a Logitech Wingman.
155 Button:Button_1 1 1 mixer vol.volume=+10%
156 Button:Button_2 1 1 mixer vol.volume=-10%
157 Generic_Desktop:Z * 5 mixer vol.volume=`echo $V | awk '{printf("%.02f", $$1/255)}'`
/freebsd/share/man/man4/
H A Dsnd_emu10kx.4176 .Sh OSS MIXER CONTROLS
179 .Xr mixer 8
182 On EMU10K1-based cards the OSS mixer directly controls the AC97 codec.
183 On newer cards the OSS mixer controls some parameters of the AC97 codec and
184 some DSP-based mixer controls.
187 mixer control for the overall sound volume.
189 mixer control for the PCM playback volume.
193 mixer control acts very differently on EMU10K1 and other cards.
215 Other OSS mixer controls control the inputs of the AC97 codec.
291 mixer).
H A Dacpi_panasonic.450 changing LCD brightness, controlling mixer volumes, entering sleep or
82 Turn the mixer volume down.
84 Turn the mixer volume up.
98 mixer control and showing battery status,
/freebsd/sys/contrib/device-tree/Bindings/display/mediatek/
H A Dmediatek,ethdr.yaml20 one video backend and a mixer. ETHDR has two DMA function blocks, DS and ADL.
37 - const: mixer
54 - description: mixer clock
70 - const: mixer
147 reg-names = "mixer", "vdo_fe0", "vdo_fe1", "gfx_fe0", "gfx_fe1",
169 clock-names = "mixer", "vdo_fe0", "vdo_fe1", "gfx_fe0", "gfx_fe1",
176 interrupts = <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH 0>; /* disp mixer */
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos5422-odroidxu3-audio.dtsi27 "I2S Playback", "Mixer DAI TX",
28 "HiFi Playback", "Mixer DAI TX",
29 "Mixer DAI RX", "HiFi Capture";
/freebsd/sys/contrib/device-tree/Bindings/iio/frequency/
H A Dadi,admv1014.yaml70 vcc-mixer-supply:
72 Mixer supply voltage regulator.
113 - vcc-mixer-supply
139 vcc-mixer-supply = <&vcc_mixer>;
/freebsd/sys/dev/sound/pci/
H A Dneomagic.h42 /* The base offset of the mixer in the second memory area. */
61 /* The AV's "mixer ready" status bit and location. */
74 /* The ZX's "mixer ready" status bit and location. */

1234567