home       vmx       vmdk        about this site        forum        downloads  

 

sound

VMX-file parameters

I hardly ever use sound in a VM - that's why this section is a little bit neglected ;-)

Related: pcisound-parameters

 

Drivers: 2k, XP and 2k3 use Soundblaster PCI 128 which is no longer supported by Creative. Last seen here ...

minimal (failsafe) example for a new VM
bad example
the parameters in details
advanced example


drivers for win9x
drivers for VISTA

 

 

minimal settings for a new VM

sound.autodetect = "TRUE"
sound.fileName = "-1"
sound.present = "TRUE"

only this 3 lines are required to enable sound in a VM.
Don't use additional entries unless you have to.

 

bad example

sound.present = TRUE
sound.virtualDev = sb16
sound.filename = -1
sound.autodetect = TRUE
sound.deviceNr = -1
sound.device = /dev/dsp

Warning: errors in sound related settings often result in hard to track down problems

 

do not use parameters just because they worked for someone else blindly !!!

 

Look at this example - it will very likely crash your VM without indicating an obvious reason in the logs!

 

 

the parameters

sound.present = "true"

main-switch to enable sound

sound.startConnected = "true"

enables sound at VM-start

sound.allowGuestConnectionControl = "true"

allow control via VMware-tools

sound.virtualDev = "sb16"
sound.virtualDev = "es1371"

all newer VMware-versions use the ES 1371 per default

sound.autodetect = "true"

VMware will detect the appropriate sound device automatically

sound.fileName = "Creative SB Live! Series"
sound.fileName = "Creative Sound Blaster PCI"
sound.fileName = "Crystal WDM Audio"
sound.fileName = "NVIDIA(R) nForce(TM) Audio"
sound.fileName = "SB Audigy 2 ZS Audio [A000]"
sound.fileName = "SoundMAX Digital Audio"
sound.fileName = "YAMAHA AC-XG WDM Audio"

sound.fileName = "-1"

If VMware finds a sound-device that can be used it sets appropriate value automatically

"-1" means assign automatically

sound.synth.operational = "true"

set to "true" to enable OPL3 / Yamaha synthesizer -
AFAIK this only works with "sb16"

sound.baseAddr = "0x220"
sound.dma16 = "7"
sound.dma8 = "1"
sound.irq = "5"
sound.mpu401baseAddr = "0x330"
sound.Opl3BaseAddr = "0x388"

try these settings to enable sound with
DOS 6.2.2

sound.maxLength = "value"
sound.smallBlockSize = "value"

use with values like 2 64 128 256 512 1024
see KB 617 for info

sound.disableMasterVolume

see KB 853

sound.highPriority

Linux - see KB 1219

sound.baseAddr = "0x220"
sound.dma16 = "7"
sound.dma8 = "1"
sound.irq = "5"
sound.mpu401baseAddr = "0x330"
sound.Opl3BaseAddr = "0x388"

try these settings to enable sound with
DOS 6.2.2

sound.buffering
sound.copyDelayFactor
sound.device
sound.deviceNr
sound.devNr
sound.directSound
sound.ignoreOverflows
sound.logFragmentSize
sound.mixer
sound.virtualrealcorrection

sorry ???

 

 

advanced example

sound.virtualdev = "sb16"
sound.present = "true"
sound.autodetect = "true"
sound.buffering = "10000000000.0"
sound.copyDelayFactor = "1000000.0"
sound.directSound = "false"
sound.highPriority = "true"
sound.ignoreOverflows = "true"
sound.maxLength = "2048"
sound.smallBlockSize = "1024"
sound.virtualrealcorrection = "10000000000.0"


pciSound.priorityBoost = "true"

advanced example posted by andremachado

 

  top

 


   home       vmx       vmdk        about this site        forum        downloads