Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iecset(1) [suse man page]

iecset(1)						      General Commands Manual							 iecset(1)

NAME
iecset - Set or dump IEC958 status bits SYNOPSIS
iecset [options] [cmd arg...] DESCRIPTION
iecset is a small utility to set or dump the IEC958 (or so-called "S/PDIF") status bits of the specified sound card via ALSA control API. When iecset is started without arguments except for options, it will show the current IEC958 status in a human-readable form. When the commands are given in the arguments, they are parsed and the IEC958 status bits are updated. The resultant status is shown as well. The commands consist of the command directive and the argument. As the boolean argument, yes, no, true, false, or a digit number is allowed. EXAMPLES
iecset -Dhw:1 Displays the current IEC958 status bits on the second card. This is equivalent with -c 1. iecset -x Displays the current IEC958 status bits in a style of the arguments for the PCM stream. The output string can be passed to the iec958 (or spdif) PCM type as the optional argument. iecset pro off audio off Sets the current status to the consumer-mode and turns on the non-audio bit. The modified status will be shown, too. OPTIONS
-D device Specifies the device name of the control to open -c card Specifies the card index to open. Equivalent with -Dhw:x. -n index Specifies the IEC958 control element index, in case you have multiple IEC958 devices and need to choose one of them. -x Dumps the status in the form of AESx bytes. -i Reads the command sequences from stdin. Each line has single command. COMMANDS
professional <bool> The professional mode (true) or consumer mode (false). audio <bool> The audio mode (true) or non-audio mode (false). rate <int> The sample rate in Hz. emphasis <int> The emphasis: 0 = none, 1 = 50/15us, 2 = CCITT. lock <bool> Rate lock: locked (true), unlocked (false). This command is for the professional mode only. sbits <int> Sample bits: 2 = 20bit, 4 = 24bit, 6 = undefined. This command is for the professional mode only. wordlength <int> Wordlength: 0 = No, 2 = 22-18 bit, 4 = 23-19 bit, 5 = 24-20 bit, 6 = 20-16 bit. This command is for the professional mode only. category <int> Category: the value is from 0 to 0x7f. This command is for the consumer mode only. copyright <bool> Copyright: copyrighted (true), non-copyrighted (false). This command is for the consumer mode only. original <boo> Original flag: original (true), 1st generation (false). This command is for the consumer mode only. AUTHOR
Takashi Iwai <tiwai@suse.de> 23 Oct 2003 iecset(1)

Check Out this Related Man Page

mixerctl(1)							   User Commands						       mixerctl(1)

NAME
mixerctl - audio mixer control command line application SYNOPSIS
/usr/sbin/mixerctl [-a | -d dev] [-iv] [-e | -o] DESCRIPTION
Some audio devices support the audio mixer functionality. See mixer(7I) for a complete description of the audio mixer. The mixerctl command is used to control the mode of the audio mixer and to get information about the audio mixer and the audio device. See audio(7I) for details. OPTIONS
The following options are supported. If none are specified, option -i is assumed: -a The command applies to all audio devices. -d dev The dev argument specifies an alternate audio control device for the command to use. -e Enables the audio mixer function if the audio device supports it. If supported, the audio mixer may be enabled at any time. The command silently ignores the enable option if the audio mixer is already enabled. -i Prints the audio device type information for the device and indicates whether the audio device uses the audio mixer. If the device does use the audio mixer, this option displays the audio mixer's mode. -o Turns off the audio mixer function if the audio device supports it. If supported, the audio mixer may be turned off if only one process has the device opened with the O_RDWR flag, or, if two different processes have the device opened, one with the O_RDONLY flag and the other with the O_WRONLY flag. (See open(2).) The command silently ignores the disable option if the audio mixer function is already disabled. -v Verbose mode. Prints the audio_info_t structure for the device, along with the device type information. This option implies the -i option. ENVIRONMENT VARIABLES
AUDIODEV If the -d and -a options are not specified, the AUDIODEV environment variable is consulted. If set, AUDIODEV will contain the full path name of the user's default audio device. The default audio device will be converted into a control device, and then used. If the AUDIODEV variable is not set, /dev/audioctl is used. FILES
/dev/audioctl /dev/sound/{0...n}ctl ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC, x86 | +-----------------------------+-----------------------------+ |Availability |SUNWauda | +-----------------------------+-----------------------------+ |Stability Level |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
audioconvert(1), audioplay(1), audiorecord(1), open(2), attributes(5), usb_ac(7D), audio(7I), audio_support(7I), mixer(7I) SunOS 5.10 12 Mar 2001 mixerctl(1)
Man Page