Bad sound quality

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, kodachi, cesium

Bad sound quality

Postby Zodox » Sat Nov 01, 2008 10:22 pm

Hello I just installed OSS on my FreeBSD box. I'm using digital sound output using a coaxial cable. The sound works, but the sound quality is really poor. I don't want any resampling or whataver just a bit-perfect pcm signal to my stereo.

ossmix:
Code: Select all
Selected mixer 0/High Definition Audio ALC888
Known controls are:
jack.green.mode <front> (currently front)
jack.green <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front> (currently center/LFE)
jack.black <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)
jack.orange.mode <front> (currently rear)
jack.orange <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)
jack.gray.mode <front> (currently pcm4)
jack.gray <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)
jack.pink.mode <front> (currently front)
jack.pink <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front> (currently front)
jack.fp-pink <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front> (currently input)
jack.blue <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front> (currently front)
jack.fp-green <both>[:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 <both>[:<rightvol>] (currently 43.4:43.4 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.mic <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.fp-mic <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.linein <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.fp-headphone <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.green <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.black <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.orange <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.gray <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.input-mix <mic> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.front2 <front> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.rear2 <rear> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.center/lfe2 <center> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.side2 <side> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 <both>[:<rightvol>] (currently 43.4:43.4 dB)
misc.pcm42 <pcm4> (currently pcm4)
vmix0-channels <Stereo> (currently Stereo)
vmix0-src <Fast> (currently OFF)
vmix0-vol <monovol> (currently 4.0 dB)
vmix0-out1 <leftVU>:<rightVU>] (currently 0:0)
vmix0-in <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.pcm9 <both>[:<rightvol>] (currently 0.0:0.0 dB)
vmix0-out2 <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.pcm10 <both>[:<rightvol>] (currently 0.0:0.0 dB)
vmix0-out3 <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.pcm11 <both>[:<rightvol>] (currently 0.0:0.0 dB)
vmix0-out4 <leftVU>:<rightVU>] (currently 0:0)
vmix0-out.pcm12 <both>[:<rightvol>] (currently 0.0:0.0 dB)
vmix0-out5 <leftVU>:<rightVU>] (currently 0:0)



/dev/sndstat
Code: Select all
OSS 4.0 (b1016/200811011703) BSD (C) 4Front Technologies 1996-2008
Kernel: FreeBSD 7.0-RELEASE #0: Fri Oct 31 21:52:47 CET 2008


Audio devices:
0: HD Audio play front (OUTPUT)
   Engine 1 opened OUT by mpd/31514 @ 44100/44100 Hz Fragment: 2048/176400 (11.6 msec)
1: HD Audio play rear (OUTPUT)
2: HD Audio play center/LFE (OUTPUT)
3: HD Audio play side (OUTPUT)
4: HD Audio play pcm4 (OUTPUT)
5: HD Audio play spdif-out (OUTPUT)
6: HD Audio rec mix (INPUT)
7: HD Audio rec mix (INPUT)
8: HD Audio rec spdifin (INPUT)
9: HD Audio play front (VMIX0) (DUPLEX)
10: HD Audio play front (VMIX0) (DUPLEX)
11: HD Audio play front (VMIX0) (DUPLEX)
12: HD Audio play front (VMIX0) (DUPLEX)

Mixers:
0: High Definition Audio ALC888

History:
/dev/oss/hdaudio0/pcm0.00: pid 15559 cmd 'mpg123' OUT
/dev/oss/hdaudio0/pcm0.00: pid 15559 cmd 'mpg123' OUT
/dev/oss/hdaudio0/pcm0.00: pid 15559 cmd 'mpg123' OUT
/dev/oss/hdaudio0/pcm0.00: pid 31514 cmd 'mpd' OUT
/dev/oss/hdaudio0/pcm0.00: pid 31514 cmd 'mpd' OUT


ossinfo:
Code: Select all
Platform: FreeBSD/i386 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Oct 31 21:52:47 CET 2008   

Number of audio devices:   13
Number of audio engines:   13
Number of mixer devices:   1


Device objects
0: hdaudio0 Intel HD Audio
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086284b
    Subvendor ID 0x1458a002
     Codec  2: ALC888 (0x10ec0888/0x1458e601)


Mixer devices
0: High Definition Audio ALC888 (Mixer 0 of device object 0)
    Device file /dev/oss/hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: OSS-PCI-mx01
    Device priority: 10


Audio devices
HD Audio play front               /dev/oss/hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 0/HD Audio play front
                     Busy (OUT) by PID 31514 / mpd label 'mpd'
      Engine      2: 9/HD Audio play front (VMIX0)
                     Available for use
      Engine      3: 10/HD Audio play front (VMIX0)
                     Available for use
      Engine      4: 11/HD Audio play front (VMIX0)
                     Available for use
      Engine      5: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play rear                /dev/oss/hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/HD Audio play rear
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play center/LFE          /dev/oss/hdaudio0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/HD Audio play center/LFE
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play side                /dev/oss/hdaudio0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/HD Audio play side
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/hdaudio0/pcm4  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 4/HD Audio play pcm4
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdif-out           /dev/oss/hdaudio0/spdout0  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/HD Audio play spdif-out
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au06
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/hdaudio0/pcmin0  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 6/HD Audio rec mix
                     Available for use
      Engine      2: 9/HD Audio play front (VMIX0)
                     Available for use
      Engine      3: 10/HD Audio play front (VMIX0)
                     Available for use
      Engine      4: 11/HD Audio play front (VMIX0)
                     Available for use
      Engine      5: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au07
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/hdaudio0/pcmin1  (device index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 7/HD Audio rec mix
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au08
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec spdifin              /dev/oss/hdaudio0/spdin0  (device index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 8/HD Audio rec spdifin
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE   - 32 bit signed little endian
    Device handle: OSS-PCI-au09
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play front (VMIX0)       /dev/oss/hdaudio0/pcm5  (device index 9)
    Legacy device /dev/dsp9
    Caps: DUPLEX TRIGGER MMAP VIRTUAL
    Modes: IN/OUT
      Engine      1: 9/HD Audio play front (VMIX0)
                     Available for use
      Engine      2: 10/HD Audio play front (VMIX0)
                     Available for use
      Engine      3: 11/HD Audio play front (VMIX0)
                     Available for use
      Engine      4: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: OSS-PCI-au10
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play front (VMIX0)       /dev/oss/hdaudio0/pcm6  (device index 10)
    Legacy device /dev/dsp10
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 10/HD Audio play front (VMIX0)
                     Available for use
      Engine      2: 11/HD Audio play front (VMIX0)
                     Available for use
      Engine      3: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: OSS-PCI-au11
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play front (VMIX0)       /dev/oss/hdaudio0/pcm7  (device index 11)
    Legacy device /dev/dsp11
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 11/HD Audio play front (VMIX0)
                     Available for use
      Engine      2: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: OSS-PCI-au12
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play front (VMIX0)       /dev/oss/hdaudio0/pcm8  (device index 12)
    Legacy device /dev/dsp12
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 12/HD Audio play front (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: OSS-PCI-au13
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

Zodox
 
Posts: 4
Joined: Sat Nov 01, 2008 9:55 pm

Postby cesium » Sat Nov 01, 2008 10:29 pm

Try setting vmix0-src to "Production" or "OFF" in the ossxmix mixer. Also try setting vmix0-channels to "Multich".
Lastly, you may wish to build OSS from the latest Mercurial source, since there are some FreeBSD improvements (e.g. you can disable vmix entirely by editing /usr/lib/oss/conf/osscore.conf).
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Postby Zodox » Sun Nov 02, 2008 2:01 am

Is it not possible to disable vmix in the OSS version from ports?
Zodox
 
Posts: 4
Joined: Sat Nov 01, 2008 9:55 pm

Postby cesium » Sun Nov 02, 2008 2:09 am

Yes. Older builds didn't support giving parameters to osscore so that vmix can be disabled... But setting vmix0-src to OFF is close as you can get on this OSS/FreeBSD version... Maybe you can test with "osstest" (or some other program that uses O_EXCL to bypass vmix) and see if vmix really affects sound quality. Anyway, upgrading may (or may not) bring other benefits...

P.S. test your cable too. It may be too long/otherwise unfine.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Postby Zodox » Sun Nov 02, 2008 10:24 am

Ok will do. The cable and everything is all good. I get alot better sound quality when I use Linux.
Zodox
 
Posts: 4
Joined: Sat Nov 01, 2008 9:55 pm

Postby Zodox » Tue Nov 04, 2008 1:33 pm

I have compiled OSS 4.1 (b rc2/200811041220) now. I disabled vmix in the configure script. The sound is better now, but I don't think I'm quite there yet . The highs can still sound a bit broken. I'm only playing CD quality flacs, using Music player daemon. Is it possible to see some details on what OSS does with the current playing audio signal?

/dev/sndstat
Code: Select all
Version info: OSS 4.1 (b rc2/200811041220) (0x00040090) BSD
Platform: FreeBSD/i386 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Oct 31 21:52:47 CET 2008     

Number of audio devices:        9
Number of audio engines:        9
Number of mixer devices:        1


Device objects
0: oss_hdaudio0 Intel HD Audio interrupts=224017 (224017)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086284b
    Subvendor ID 0x1458a002
     Codec  2: ALC888 (0x10ec0888/0x1458e601)


Mixer devices
0: High Definition Audio ALC888 (Mixer 0 of device object 0)

Audio devices
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 2)
HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 4)
HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 5)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 6)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 7)
HD Audio rec spdifin              /dev/oss/oss_hdaudio0/spdin0  (device index 8)
[root@Orchid /home/puser]# cat /dev/sndstat
OSS 4.1 (b rc2/200811041220) BSD (C) 4Front Technologies 1996-2008

Source configration options: --config-vmix=NO
Kernel: FreeBSD 7.0-RELEASE #0: Fri Oct 31 21:52:47 CET 2008
    puser@Orchid:/usr/obj/usr/src/sys/GENERIC


Audio devices:
0: HD Audio play front (OUTPUT)
1: HD Audio play rear (OUTPUT)
2: HD Audio play center/LFE (OUTPUT)
3: HD Audio play side (OUTPUT)
4: HD Audio play pcm4 (OUTPUT)
5: HD Audio play spdif-out (OUTPUT)
   Opened OUT by mpd/20890 @ 44100/44100 Hz Fragment: 2048/176400 (11.6 msec)
6: HD Audio rec mix (INPUT)
7: HD Audio rec mix (INPUT)
8: HD Audio rec spdifin (INPUT)

Mixers:
0: High Definition Audio ALC888

History:
/dev/oss/oss_hdaudio0/spdout0.05: pid 20890 cmd 'mpd' OUT
/dev/oss/oss_hdaudio0/spdout0.05: pid 20890 cmd 'mpd' OUT
/dev/oss/oss_hdaudio0/spdout0.05: pid 20890 cmd 'mpd' OUT
/dev/oss/oss_hdaudio0/spdout0.05: pid 20890 cmd 'mpd' OUT
/dev/oss/oss_hdaudio0/spdout0.05: pid 20890 cmd 'mpd' OUT


NOTICE! Device numbers shown above may be wrong.
        Use the ossinfo command to find out the correct device names.


ossmix:

Code: Select all
Selected mixer 0/High Definition Audio ALC888
Known controls are:




jack.green.mode <front> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)

jack.black.mode <front> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)

jack.orange.mode <front> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)


jack.gray.mode <front> (currently pcm4)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)

jack.pink.mode <front> (currently front)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)

jack.fp-pink.mode <front> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)


jack.blue.mode <front> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)

jack.fp-green.mode <front> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)




record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)


record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)

misc.mic [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.linein [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.green [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.black [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.orange [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.gray [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.input-mix <mic> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.front2 <front> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.rear2 <rear> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.center/lfe2 <center> (currently center/LFE)

misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.side2 <side> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 43.4:43.4 dB)
misc.pcm42 <pcm4> (currently pcm4)

Zodox
 
Posts: 4
Joined: Sat Nov 01, 2008 9:55 pm


Return to BSD

Who is online

Users browsing this forum: No registered users and 4 guests