Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpicirrusctl - single command instead of many scripts #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Cirrus Logic Audio Card config scripts

Config files and scripts needed to setup the Cirrus Logic Audio Card
## Supported devices:

## mixer-scripts
* [Wolfson Audio Card](http://www.element14.com/wolfson) for Raspberry Pi B,
* [Cirrus Logic Audio Card](http://www.element14.com/cirruslogic_ac) for Raspberry Pi B+/A+/2

Shell scripts to setup the mixer for common tasks:
## rpicirrusctl.sh

* `Reset_paths.sh` reset mixer, disable all inputs and outputs
* `Playback_to_...` configure for audio output
* `Record_from_...` configure for audio recording
* `Cirrus_listen.sh` route input signals directly to output
* `rpi-cirrus-functions.sh` common functions used to simplify above scripts
Shell script to setup the mixer for common tasks:

## alsa
* `rpicirrusctl.sh reset-paths` reset mixer, disable all inputs and outputs
* `rpicirrusctl.sh playback-to ...` configure for audio output
* `rpicirrusctl.sh record-from ...` configure for audio recording
* `rpicirrusctl.sh listen ...` route input signals directly to output

* `RPi-Cirrus.conf` ALSA card configuration for IEC958 (S/PDIF) output. Copy this file to `/usr/share/alsa/cards` to get S/PDIF AC3 and DTS passthrough in audio and video player applications like Kodi.
## ALSA

* [`RPiCirrus.conf`](alsa/RPiCirrus.conf) ALSA card configuration for IEC958 (S/PDiF) output. Copy this file to `/usr/share/alsa/cards` to get S/PDiF AC3 and DTS passthrough in audio and video player applications like *Kodi*.
96 changes: 0 additions & 96 deletions mixer-scripts/Cirrus_listen.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Playback_to_Headset.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Playback_to_Lineout.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Playback_to_SPDIF.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Playback_to_Speakers.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Record_from_DMIC.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Record_from_Headset.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Record_from_Linein.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Record_from_Linein_Micbias.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Record_from_SPDIF.sh

This file was deleted.

6 changes: 0 additions & 6 deletions mixer-scripts/Reset_paths.sh

This file was deleted.

Loading