| OSSAUDIO(3) | NetBSD Library Functions Manual | OSSAUDIO(3) |
Use the native interface for new programs and the emulation library only for porting programs.
| Native Device Name | OSS Mixer Control |
| *.mic | SOUND_MIXER_MIC |
| *.line | SOUND_MIXER_LINE |
| *.cd | SOUND_MIXER_CD |
| *.dac | SOUND_MIXER_PCM |
| *.aux | SOUND_MIXER_LINE1 |
| *.record | SOUND_MIXER_IMIX |
| *.master | SOUND_MIXER_VOLUME |
| *.treble | SOUND_MIXER_TREBLE |
| *.bass | SOUND_MIXER_BASS |
| *.speaker | SOUND_MIXER_SPEAKER |
| *.output | SOUND_MIXER_OGAIN |
| *.input | SOUND_MIXER_IGAIN |
| *.fmsynth | SOUND_MIXER_SYNTH |
| *.midi | SOUND_MIXER_SYNTH |
The emulation is incomplete.
The emulation only covers ioctl(), there are other differences as well. E.g., on a write that would block in non-blocking mode Linux returns EINTR whereas NetBSD 1.3 returns EAGAIN.
| February 3, 2009 | NetBSD 5.99 |