ae.utils.sound.asound

Play waves using ALSA command-line tools

Members

Functions

playWave
void playWave(Wave wave, int sampleRate)

Play a wave (range of samples) using aplay.

Templates

aSoundFormat
template aSoundFormat(T)

Return the ALSA format name corresponding to the given type.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>