mikebrady/dacquery

By mikebrady

Updated about 1 month ago

Image
Internet of Things
Operating Systems
Developer Tools

148

Overview

Dacquery is a command-line utility that scans a Linux system's ALSA audio cards for Digital to Analog Converters -- "DACs" -- and queries their bit-perfect interfaces (i.e. those that begin with hw:, hdmi: or iec958:, for example hw:speaker, hdmi:vc4hdmi1).

Dacquery summarizes and lists the combinations of rates, sample formats and channels (with channel maps if available) accepted by those interfaces. Audio is assumed to be interleaved.

Dacquery also lists the mixers attached to the cards, listing their ranges, decibel-denominated ranges if provided and, if so, whether they accept a special decibel "volume" that causes them to mute.

The option -e adds some extra information, including a structured description of cards, devices, subdevices and interfaces.

Sample Usage

Standard use:

$ docker run --device /dev/snd mikebrady/dacquery

Extended information use:

$ docker run --device /dev/snd mikebrady/dacquery -e

Docker Pull Command

docker pull mikebrady/dacquery