AOSS(1)

✨ AOSS ✨ (aoss β€” Wrapper script to facilitate use of the ALSA OSS compatibility library) πŸ¦‹

Okay so bestie, let me tell you about aoss, the wrapper script that makes the ALSA OSS compatibility library work its magic on your commands πŸ’…. It's giving convenience, no cap 🫢.

🌸 SYNOPSIS 🌸

aoss osscommand [arguments]

πŸ’– DESCRIPTION πŸ’–

Okay so aoss is a simple wrapper script, and it is so chill. It just sets the right LD_PRELOAD path and then runs your command for you ✨. Literally that's the whole vibe.

This is lowkey essential when your routing settings (the ones you can make in your .asoundrc file) need to be applied to commands that use the OSS API πŸ”₯. Main character energy for audio routing, fr fr.

Here are some examples of asoundrc configuration πŸŽ€:

pcm.dsp0 {
    type plug
    slave.pcm "hw:0,0"
}

or

pcm.dsp0 {
    type plug
    slave.pcm "dmix"
}

In the configs above, the pcm.dsp0 definition is used to wrap calls to /dev/dsp0. You can also wrap usage of /dev/dsp1, /dev/dsp2, etc. by defining pcm.dsp1, pcm.dsp2, and so on 🧚.

The PCM name to open can also be given explicitly through the ALSA_OSS_PCM_DEVICE environment variable 🌈. This overrides the default dsp0, etc. Iconic override moment.

πŸ’€ Mmap heads-up: aoss mmap support might be buggy πŸ™ˆ. Your results may vary when you try to use an app that uses mmap'ing to access the OSS device files. Proceed with caution, bestie.

Arguments

osscommand

A command that uses the OSS API πŸ’œ.

arguments

The appropriate arguments and options for the OSS command πŸ“.

AUTHORS

The OSS compatibility library is by Abramo Bagnara <abramo@alsa-project.org>. The aoss script and this document are by James Tappin <james@xena.uklinux.net> πŸ‘‘. The real ones 🫢.


Bye bestie! πŸ’– This page was AOSS(1) from General Commands Manual, dated 3 October 2001 πŸ¦‹βœ¨