osscore(7)
β¨ osscore(7) β OSS Devices β¨
okay bestie, pull up a chair because we're talking about osscore, the literal main character of the Open Sound System π
πΈ NAME πΈ
osscore β the Open Sound System core audio framework. yes she's the blueprint, the blueprint, the moment. π
π¦ DESCRIPTION π¦
So osscore is the Open Sound System core audio support pseudo driver (yes, the original page spells it "psudo", we love a typo, it's iconic, no cap). This driver is the one that implements the core Open Sound System API for audio, midi, mixer and synth functions. She does it all, she's booked and busy. π
And that's not even the whole rΓ©sumΓ©: this driver also implements the OS driver interface, plus device configuration and setup. Basically she runs the whole group chat. π«Ά
Want more tea on programming with the OSS API? It's all over here: http://manuals.opensound.com/
π OPTIONS π
okay so these are the config options, and bestie, some of them are not to be touched. read carefully, i'm serious π
ac97_recselectβ set this to1and you get independent recording source selection for the left and the right channel on AC97 devices. which means you can record a stream where (for example) the left channel signal comes from the microphone and the right channel signal comes from line-in. iconic, right? BUT β when this option is enabled you can only pick the recording source using a fully OSS 4.0 compatible mixer program likeossxmix. that's the whole vibe. Default:0β recording source is common to both channels.ac97_amplifierβ set to1and it enables the speaker power amplifier feature of the AC97 codec (if available). some boards have this inverted, so you can turn the feature off by setting this option to0. affects all AC97 based audio devices in the system. Default:-1= autodetect correct setting β¨cooked_enableβ by default OSS lets applications use sampling rates and formats that the hardware literally does not support, and instead OSS does the necessary format conversions in software. applications that don't tolerate this kind of conversion usually disable them using features of the OSS API (SNDCTL_DSP_COOKEDMODE). if this option is set to0then the format conversions are disabled for all applications and devices unless the application explicitly enables them. Default:1β conversions are enabled.
π¨ bestie do NOT change this option without very strong reasons. very strong. like, i'm not kidding.
detect_traceβ internal debugging. do not change. Default:0dma_buffsizeβ by default OSS allocates audio DMA buffers with some system dependent default size (usually64kbut sometimes smaller). you can change that default allocation with this option. a value of0means the default size gets used. a value between16and128(kilobytes) can be used if the default size isn't suitable for some reason. Default:0β system dependent buffsize.
π this option mustn't be changed unless it's absolutely necessary. absolutely. necessary.
max_intrateβ sets the maximum number of interrupts per second. a value of0means the number is unlimited. Default:100interrupts per second, which equals to about10 msecminimum latencies. slay. βvmix_disabledβ the virtual mixer subsystem can be disabled by setting this configuration option to1. Default:0β virtual mixer is enabled.vmix_loopdevsβ optionally the virtual mixer subsystem can create special loopback audio devices that can be used to record the output mix sent to the device. this option tells how many loopback devices get created (0,1or2). if there are multiple audio devices in the system then all of them will have the same number of loopback devices. Default:0β no loopback devices are created.
π leave this at 0 unless there are specific reasons to enable the loopback devices. specific reasons. we said what we said.
vmix_no_autoattachβ by default (0) the low level drivers for most sound cards will automatically attach virtual mixer (vmix) to the primary audio devices of the cards. in some situations it may be necessary to attach virtual mixer using nonstandard parameters. ifvmix_no_autoattachis set to1then user can usevmixctl attachcommand to attach virtual mixer manually to the device(s). Default:0β Automatically attach virtual mixer.excl_policyβ theO_EXCLopen()flag can be used by programs to bypass the virtual mixer. settingexcl_policyto1or2makes OSS ignoreO_EXCL. a setting of1ignoresO_EXCLfrom all but root processes, while a setting of2always ignoresO_EXCL. Default:0β Do not ignoreO_EXCL.mixer_mutedβ by default OSS sets most volume controls to audible level. if that causes problems then it's possible to ask OSS to set the levels to zero when the drivers are loaded. however the levels saved with thesavemixerutility will get loaded a few moments later when all OSS drivers have been started. note that just some of the OSS drivers honor this setting. Values:0(default) β Use audible volumes,1β Set volumes to low.
π FILES π
/usr/lib/oss/conf/osscore.confβ Device configuration file. that's the one, that's the home of all your settings bestie π
π AUTHOR π
4Front Technologies
and that's the whole page!! π
this little masterpiece is from the OSS Devices corner of the manual world, dated 11 February 2015, and it's osscore(7) β that's the source, the version, and the date all wrapped up in a bow π go forth and configure responsibly, bestie, and remember: don't touch detect_trace, don't touch dma_buffsize, and don't touch cooked_enable without a very strong reason. iykyk πβ¨π¦
π¦ where this page comes from
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3
- ubuntu noble: oss4-base 4.2-build2020-1ubuntu3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms