SoundConfiguration
From Mol
litaacelbo varcacnasi deleldar caliallisi actac4ttrra
Contents |
Sound Configuration
Note: Sound is currently slow and crackly due to kernel scheduling changes. It's being worked on.
Select a Sound Driver
Mac-On-Linux currently supports both ALSA and OSS audio. If you are using Mac-On-Linux on a 2.4 kernel, you will probably want OSS, otherwise, choose ALSA. Sound can also be disabled entirely for additional speed. To let Mac-On-Linux decide, use the any option.
| File: molrc.sound |
|
# Choose from: alsa, oss, nosound or any
|
Startup Chime
For a more Mac-like experience, the "start chime" may be enabled/disabled using the following configuration option:
| File: molrc.sound |
|
startboing.enabled: yes |
OSS
The Open Sound System (OSS) is an older sound API. ALSA also maintains an OSS API for backwards compatibility. The OSS device is selected by supplying a path as follows:
| File: molrc.sound |
|
oss.device: /dev/dsp |
Depending on the available RAM, free CPU cycles and latency required, changing the fragment size and number of buffers may improve the audio results, experiment until something works well:
| File: molrc.sound |
|
oss.fragsize: 256
|
ALSA
The Advanced Linux Sound Architecture is the replacement for OSS in modern kernels. The output device can be chosen as follows:
| File: molrc.sound |
|
# Some sample ALSA devices: "default", "tee:hw,'/tmp/out.raw',raw"
|
If the PCM mixer or default mixer device are not used, they may be changed as follows:
| File: molrc.sound |
|
alsa.mixer "PCM" 0
|
Depending on the available RAM, free CPU cycles and latency required, changing the fragment size may improve the audio results, experiment until something works well:
| File: molrc.sound |
|
alsa.fragsize: 512 |

