I've been using OSS on this Ubuntu machine for a while but had problems when I "up"graded to 10.04. I had added the vmix_no_autoattach=1 to my config, and that works but I'd like to get multiple applications working. If I attach with
Code: Select all
sudo vmixctl attach /dev/oss/oss_hdaudio0/pcm0
I get no sound from various applications (flash, mpg321) although osstest still works. The mpg321 -o oss error message is:
Code: Select all
Can't find a suitable libao driver. (Is device in use?)
I've also tried removing the vmix_no_autoattach line and restarting oss - this brings the same situation as attaching manually.
If I use ossxmix to switch off vmix I get sound back, although obviously no multiple application usage. I've also seen some people attaching vmix to /dev/oss/hdaudio0/pcmin0 - I don't have that device:
Code: Select all
$ ls /dev/oss/oss_hdaudio0
mix0 pcm0
I've attached the output from ossinfo -v3. I couldn't attach ossmix because the it thinks it's a possible attack vector(!) so I've put it inline below:
Code: Select all
Selected mixer 0/High Definition Audio AD1984
Known controls are:
jack.fp-green.mute ON|OFF (currently OFF)
jack.fp-green.headphone [<leftvol>:<rightvol>] (currently 0.0:58.4 dB)
jack.fp-green.headphone-sel <headphone|front> (currently headphone)
jack.fp-green.headphone-sel-m ON|OFF (currently OFF)
jack.fp-green.input-mix-mute ON|OFF (currently OFF)
jack.green.mute ON|OFF (currently OFF)
jack.green.front [<leftvol>:<rightvol>] (currently 22.4:22.4 dB)
jack.green.front-mute ON|OFF (currently OFF)
jack.green.input-mix-mute ON|OFF (currently OFF)
jack.int-speaker.mono-mix <monovol> (currently 46.4 dB)
jack.int-speaker.mono-sel <headphone|front> (currently headphone)
jack.int-speaker.mono-sel-mute ON|OFF (currently OFF)
jack.int-speaker.input-mix-mute ON|OFF (currently OFF)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
misc.aux-sel-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.aux-mix <aux-sel|input-mix> (currently aux-sel)
misc.rec1-sel1 [<leftvol>:<rightvol>] (currently 67.4:67.4 dB)
misc.rec1-sel2 <fp-mic|linein|input-mix> (currently fp-mic)
misc.rec2-sel1 [<leftvol>:<rightvol>] (currently 64.4:64.4 dB)
misc.rec2-sel2 <fp-mic|linein|input-mix> (currently fp-mic)
misc.aux-sel <headphone|front> (currently headphone)
misc.beep <monovol> (currently 38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix1 <fp-mic|linein> (currently fp-mic)
misc.input-mix2 [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
misc.dock-sel <headphone|front> (currently headphone)
misc.dock-sel-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.dock-mix <dock-sel|input-mix> (currently dock-sel)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)