Multich (vmix) causes garbled/crackling sound

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Multich (vmix) causes garbled/crackling sound

Postby thestinger » Tue Jun 29, 2010 4:40 pm

Hey guys, I've just switched to OSS from ALSA and I'm loving the sound quality :D. However, I'm unable to get surround sound (5.1) to work.

My front/center speakers work out of the box, but the rear ones are silent. I read that I had to enable Multich in vmix to get it to work, but then I get garbled/crackling sound in everything other than osstest (osstest is garbled too when something else is using sound). I've tried mplayer, flash, and various wine apps, and they work perfectly with channels set to Stereo, but not in Multich.

Here's what I tried:
Code: Select all
[root ~]# ossmix vmix0-channels Multich
Value of mixer control vmix0-channels set to Multich


My motherboard is an Asus a8n32-sli deluxe, and I'm using Arch Linux (64bit), with oss 4.2_2002-2.

Even if I can't get this working, this is a huge improvement over ALSA :wink:. Thanks!

Output of ossinfo -v3 and ossmix (without Multich enabled):
Code: Select all
[root ~]# ossinfo -v3
Version info: OSS 4.2 (b 2002/200912291752) (0x00040100) GPL
Platform: Linux/x86_64 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 00:07:49 CEST 2010 (arch)

Number of audio devices:   2
Number of audio engines:   7
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_ich0 Nvidia nForce4 interrupts=103989 (103989)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: ICH AC97 Mixer (ALC850) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_ich0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCI812a1043-0000:00:0d.0-mx01
    Device priority: 10


Audio devices
Nvidia nForce4                    /dev/oss/oss_ich0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/Nvidia nForce4
                     Available for use
      Engine      2: 1/Nvidia nForce4 (vmix)
                     Available for use
      Engine      3: 2/Nvidia nForce4 (vmix)
                     Available for use
      Engine      4: 3/Nvidia nForce4 (vmix)
                     Available for use
      Engine      5: 4/Nvidia nForce4 (vmix)
                     Available for use
      Engine      6: 5/Nvidia nForce4
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI812a1043-0000:00:0d.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

Nvidia nForce4 S/PDIF out         /dev/oss/oss_ich0/spdout  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 6/Nvidia nForce4 S/PDIF out
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI812a1043-0000:00:0d.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_in -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_out -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_ich0/pcm0


Code: Select all
[root ~]# ossmix
Selected mixer 0/ICH AC97 Mixer (ALC850)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 0)
line [<leftvol>:<rightvol>] (currently 0:0)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 0:0)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 50:50)
center [<leftvol>:<rightvol>] (currently 50:50)
micboost ON|OFF (currently OFF)
mixext.centervol [<leftvol>:<rightvol>] (currently 50:50)
mixext.rearvol [<leftvol>:<rightvol>] (currently 50:50)
mixext.sidevol [<leftvol>:<rightvol>] (currently 50:50)
mixext.rear2linejack ON|OFF (currently OFF)
mixext.center2micjack ON|OFF (currently OFF)
mixext.spkmode <FRONT|SPREAD> (currently SPREAD)
mixext.mix-lfe2front ON|OFF (currently OFF)
mixext.mix-rear2front ON|OFF (currently OFF)
spdout.enable ON|OFF (currently ON)
spdout.adc/dac ON|OFF (currently OFF)
spdout.pro <Consumer|Professional> (currently Consumer)
spdout.audio <AUDIO|DATA> (currently AUDIO)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.rate <48000|44100|32000> (currently 48000)
spdout.vbit ON|OFF (currently OFF)
spdin.enable ON|OFF (currently OFF)
spdin.monitor ON|OFF (currently OFF)
spdin.pro <decimal value> (currently 0) (Read-only)
spdin.audio <decimal value> (currently 0) (Read-only)
spdin.copy <decimal value> (currently 0) (Read-only)
spdin.pre-emph <decimal value> (currently 0) (Read-only)
spdin.mode <decimal value> (currently 0) (Read-only)
spdin.category <decimal value> (currently 0) (Read-only)
spdin.genlevel <decimal value> (currently 0) (Read-only)
spdin.source <decimal value> (currently 0) (Read-only)
spdin.channel <decimal value> (currently 0) (Read-only)
spdin.rate <decimal value> (currently 44100) (Read-only)
spdin.clock <decimal value> (currently 0) (Read-only)
spdin.signal <decimal value> (currently 0) (Read-only)
spdin.vbit <decimal value> (currently 0) (Read-only)
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 24.8 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0: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)
thestinger
New Member
 
Posts: 2
Joined: Tue Jun 29, 2010 4:10 pm

Re: Multich (vmix) causes garbled/crackling sound

Postby cesium » Tue Jun 29, 2010 8:58 pm

Hmm.. Does outputing via spdout work? You can also try updating to b2003.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Multich (vmix) causes garbled/crackling sound

Postby thestinger » Thu Jul 01, 2010 3:23 pm

cesium wrote:Hmm.. Does outputing via spdout work? You can also try updating to b2003.


outputting to spdout doesn't produce any sound (might be the optical audio output, I've using the coloured speaker jacks)

I tried using the newest revision, but I get the same issue, so I just switched back to the stable one in the repos for now
thestinger
New Member
 
Posts: 2
Joined: Tue Jun 29, 2010 4:10 pm


Return to Linux

Who is online

Users browsing this forum: Bing [Bot] and 1 guest