Mixer controls explanation

OSS related discussion in general (i.e. not limited to Linux/Solaris/BSD)

Moderators: hannu, dev, cesium

kosproger
Member
Posts: 11
Joined: Thu Aug 09, 2012 8:40 pm
Location: Vitebsk, Belarus

Mixer controls explanation

Postby kosproger » Wed Apr 09, 2014 10:33 pm

Hi, all!
There are some mixer controlls on my laptop, and I can't understand their meanings and generally what for are they. Changing their values doesn't make any effect either.
Here is my configuration:
ossmix:

Code: Select all

Selected mixer 0/High Definition Audio 0x14f15069
Known controls are:
codec2.jack.black.mode1 <pcm1|pcm2> (currently pcm1)
codec2.jack.black.mode2 <pcm1|pcm2|input> (currently pcm2)
codec2.jack.int-speaker.mode <pcm1|pcm2> (currently pcm2)
codec2.record.rec1 [<leftvol>:<rightvol>] (currently 79.9:79.9 dB)
codec2.record.rec1.rec1 <select1|select2|mix> (currently select1)
codec2.record.rec2 [<leftvol>:<rightvol>] (currently 79.9:79.9 dB)
codec2.record.rec2.rec2 <select1|select2|mix> (currently select1)
codec2.record.rec3 [<leftvol>:<rightvol>] (currently 79.9:79.9 dB)
codec2.record.rec3.rec3 <select1|select2|mix> (currently select1)
codec2.misc.pcm11 [<leftvol>:<rightvol>] (currently 43.9:43.9 dB)
codec2.misc.pcm21 [<leftvol>:<rightvol>] (currently 73.9:73.9 dB)
codec2.misc.beep <monovol> (currently 0.0 dB)
codec2.misc.select11 [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
codec2.misc.select12 <int-mic|mic> (currently int-mic)
codec2.misc.select21 [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
codec2.misc.select22 <int-mic|mic> (currently int-mic)
codec2.misc.pcm12 [<leftvol>:<rightvol>] (currently 73.9:73.9 dB)
codec2.misc.pcm22 [<leftvol>:<rightvol>] (currently 73.9:73.9 dB)
codec2.misc.mix <pcm1|pcm2> (currently pcm1)
codec4.jack.int-digout.mode <spdifout1|spdifout2> (currently spdifout1)
codec4.jack.int-digout.mute ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 44100) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 23.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("audacious")
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

ossinfo -v3:

Code: Select all

Version info: OSS 4.2 (b 2008/201312302054) (0x00040100) OSS_HG
Platform: Linux/i686 3.13-1-686-pae #1 SMP Debian 3.13.4-1 (2014-02-22)

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


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 Intel HD Audio interrupts=20942146 (20942146)
    HD Audio controller Intel HD Audio
    Vendor ID    0x80863b56
    Subvendor ID 0x17aa38af
     Codec  1: Unknown (0x14f15069/0x17aac00b)
     Codec  3: Unknown (0x80862804/0x80860101)
 2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
 0: High Definition Audio 0x14f1506 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCI38af17aa-0000:00:1b.0-mx01
    Device priority: 10


Audio devices
HD Audio play pcm1                /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 0/HD Audio play pcm1
                     Busy (OUT) label 'VMIX'
      Engine      2: 7/HD Audio play pcm1 (vmix)
                     Busy (OUT) by PID 24733 / audacious label 'audacious'
      Engine      3: 8/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 9/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 10/HD Audio play pcm1 (vmix)
                     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: PCI38af17aa-0000:00:1b.0-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 pcm2                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/HD Audio play pcm2
                     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: PCI38af17aa-0000:00:1b.0-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 spdifout1           /dev/oss/oss_hdaudio0/spdout0  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/HD Audio play spdifout1
                     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: PCI38af17aa-0000:00:1b.0-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): 32000 - 192000 (32000,44100,48000,88200,96000,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdifout2           /dev/oss/oss_hdaudio0/spdout1  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/HD Audio play spdifout2
                     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: PCI38af17aa-0000:00:1b.0-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): 32000 - 192000 (32000,44100,48000,88200,96000,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec rec1                 /dev/oss/oss_hdaudio0/pcmin0  (device index 4)
    Legacy device /dev/dsp4
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 4/HD Audio rec rec1
                     Busy (IN) label 'VMIX_IN'
      Engine      2: 7/HD Audio play pcm1 (vmix)
                     Busy (OUT) by PID 24733 / audacious label 'audacious'
      Engine      3: 8/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      4: 9/HD Audio play pcm1 (vmix)
                     Available for use
      Engine      5: 10/HD Audio play pcm1 (vmix)
                     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: PCI38af17aa-0000:00:1b.0-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 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec rec2                 /dev/oss/oss_hdaudio0/pcmin1  (device index 5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 5/HD Audio rec rec2
                     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: PCI38af17aa-0000:00:1b.0-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 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec rec3                 /dev/oss/oss_hdaudio0/pcmin2  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 6/HD Audio rec rec3
                     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: PCI38af17aa-0000:00:1b.0-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


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


So, I'm talking about such controlls as:
codec2.jack.black.mode2 (Why there are two jack modes?)
codec2.record.rec3 (Where is it from? I've got just internal microphone and microphone line-in)
codec2.misc.pcm12, codec2.misc.pcm22, codec2.misc.mix (I have no idea what is that).

Could you, please, tell me, where can I find any information about controlls meaning and what are they for?

Thank you in advance!

igorzwx
Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: Mixer controls explanation

Postby igorzwx » Fri Apr 25, 2014 11:03 am

kosproger wrote:Hi, all!
There are some mixer controlls on my laptop, and I can't understand their meanings and generally what for are they. Changing their values doesn't make any effect either...
Could you, please, tell me, where can I find any information about controlls meaning and what are they for?


The meaning of the mixer controlls is explained in the OSS4 manual: _http://manuals.opensound.com/usersguide/oss_hdaudio.html

However, in this particular case, the OSS4 manual might be of little help for you, simply because your HDA codec is "unknown to OSS4". In short, your "mixer controlls" are not likely to work:

kosproger wrote:ossmix:

Code: Select all

Selected mixer 0/High Definition Audio 0x14f15069


ossinfo -v3:

Code: Select all

     Codec  1: Unknown (0x14f15069/0x17aac00b)
     Codec  3: Unknown (0x80862804/0x80860101)



You may want to read this thread: _http://www.opensound.com/forum/viewtopic.php?f=3&t=5689

kosproger
Member
Posts: 11
Joined: Thu Aug 09, 2012 8:40 pm
Location: Vitebsk, Belarus

Re: Mixer controls explanation

Postby kosproger » Tue May 06, 2014 9:54 pm

Thanks a lot!


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 12 guests