Sound quality from audio jack
#1
I have gotten sounds working using the instructions over here.
Thread Modes Use Audiojack instead of HDMI audio

The sound quality seems very poor though.  I'm using this to replace an RPiA that I just cant deal with anymore.

I'm trying to produce a low frequency sine sweep with the following command:

Code:
play -n synth 10 sine 30:45


I can hear it but there appears to be a lot of distortion, or perhaps the incorrect frequency.  Anything to check on how this is setup?

Here are my alsamixer settings:

Code:
root@DietPi:~# cat /var/lib/alsa/asound.state
state.sndhdmi {
        control.1 {
                iface MIXER
                name 'hdmi audio format Function'
                value pcm
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 null
                        item.1 pcm
                        item.2 AC3
                        item.3 MPEG1
                        item.4 MP3
                        item.5 MPEG2
                        item.6 AAC
                        item.7 DTS
                        item.8 ATRAC
                        item.9 ONE_BIT_AUDIO
                        item.10 DOLBY_DIGITAL_PLUS
                        item.11 DTS_HD
                        item.12 MAT
                        item.13 WMAPRO
                }
        }
}
state.audiocodec {
        control.1 {
                iface MIXER
                name 'AIF1 ADC timeslot 0 volume'
                value.0 166
                value.1 166
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 525
                        dbvalue.1 525
                }
        }
        control.2 {
                iface MIXER
                name 'AIF1 ADC timeslot 1 volume'
                value.0 160
                value.1 160
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 75
                        dbvalue.1 75
                }
        }
        control.3 {
                iface MIXER
                name 'AIF1 DAC timeslot 0 volume'
                value.0 160
                value.1 160
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 75
                        dbvalue.1 75
                }
        }
        control.4 {
                iface MIXER
                name 'AIF1 DAC timeslot 1 volume'
                value.0 160
                value.1 160
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 75
                        dbvalue.1 75
                }
        }
        control.5 {
                iface MIXER
                name 'AIF1 ADC timeslot 0 mixer gain'
                value.0 11
                value.1 11
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 15'
                        dbmin -600
                        dbmax 8400
                        dbvalue.0 6000
                        dbvalue.1 6000
                }
        }
        control.6 {
                iface MIXER
                name 'AIF1 ADC timeslot 1 mixer gain'
                value.0 2
                value.1 2
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 3'
                        dbmin -600
                        dbmax 1200
                        dbvalue.0 600
                        dbvalue.1 600
                }
        }
        control.7 {
                iface MIXER
                name 'AIF2 ADC volume'
                value.0 166
                value.1 166
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 525
                        dbvalue.1 525
                }
        }
        control.8 {
                iface MIXER
                name 'AIF2 DAC volume'
                value.0 160
                value.1 160
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 75
                        dbvalue.1 75
                }
        }
        control.9 {
                iface MIXER
                name 'AIF2 ADC mixer gain'
                value.0 11
                value.1 11
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 15'
                        dbmin -600
                        dbmax 8400
                        dbvalue.0 6000
                        dbvalue.1 6000
                }
        }
        control.10 {
                iface MIXER
                name 'ADC volume'
                value.0 160
                value.1 160
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 75
                        dbvalue.1 75
                }
        }
        control.11 {
                iface MIXER
                name 'DAC volume'
                value.0 0
                value.1 0
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 255'
                        dbmin -11925
                        dbmax 7200
                        dbvalue.0 -11925
                        dbvalue.1 -11925
                }
        }
        control.12 {
                iface MIXER
                name 'DAC mixer gain'
                value.0 11
                value.1 11
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 15'
                        dbmin -600
                        dbmax 8400
                        dbvalue.0 6000
                        dbvalue.1 6000
                }
        }
        control.13 {
                iface MIXER
                name 'digital volume'
                value 0
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 63'
                        dbmin -7308
                        dbmax 0
                        dbvalue.0 -7308
                }
        }
        control.14 {
                iface MIXER
                name 'earpiece volume'
                value 25
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 31'
                        dbmin -4350
                        dbmax 300
                        dbvalue.0 -600
                }
        }
        control.15 {
                iface MIXER
                name 'speaker volume'
                value 26
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 31'
                        dbmin -4800
                        dbmax -150
                        dbvalue.0 -900
                }
        }
        control.16 {
                iface MIXER
                name 'headphone volume'
                value 51
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 63'
                        dbmin -6300
                        dbmax 0
                        dbvalue.0 -1200
                }
        }
        control.17 {
                iface MIXER
                name 'MIC1_G boost stage output mixer control'
                value 3
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin -450
                        dbmax 600
                        dbvalue.0 0
                }
        }
        control.18 {
                iface MIXER
                name 'MIC1 boost AMP gain control'
                value 4
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin 0
                        dbmax 1400
                        dbvalue.0 800
                }
        }
        control.19 {
                iface MIXER
                name 'MIC2 BST stage to L_R outp mixer gain'
                value 3
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin -450
                        dbmax 600
                        dbvalue.0 0
                }
        }
        control.20 {
                iface MIXER
                name 'MIC2 boost AMP gain control'
                value 4
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin 0
                        dbmax 1400
                        dbvalue.0 800
                }
        }
        control.21 {
                iface MIXER
                name 'LINEINL/R to L_R output mixer gain'
                value 5
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin -450
                        dbmax 600
                        dbvalue.0 300
                }
        }
        control.22 {
                iface MIXER
                name 'ADC input gain control'
                value 3
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin -450
                        dbmax 600
                        dbvalue.0 0
                }
        }
        control.23 {
                iface MIXER
                name 'Phoneout gain control'
                value 5
                comment {
                        access 'read write'
                        type INTEGER
                        count 1
                        range '0 - 7'
                        dbmin -450
                        dbmax 600
                        dbvalue.0 300
                }
        }
        control.24 {
                iface MIXER
                name 'SRC FUCTION'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.25 {
                iface MIXER
                name 'I2S HUB FUNC'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.26 {
                iface MIXER
                name 'Phoneout Mixer MIC1 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.27 {
                iface MIXER
                name 'Phoneout Mixer MIC2 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.28 {
                iface MIXER
                name 'Phoneout Mixer Rout_Mixer_Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.29 {
                iface MIXER
                name 'Phoneout Mixer Lout_Mixer_Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.30 {
                iface MIXER
                name 'ADCR Mux'
                value DMIC
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 ADC
                        item.1 DMIC
                }
        }
        control.31 {
                iface MIXER
                name 'ADCL Mux'
                value DMIC
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 ADC
                        item.1 DMIC
                }
        }
        control.32 {
                iface MIXER
                name 'MIC2 SRC'
                value MIC2
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 MIC3
                        item.1 MIC2
                }
        }
        control.33 {
                iface MIXER
                name 'RADC input Mixer MIC1 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.34 {
                iface MIXER
                name 'RADC input Mixer MIC2 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.35 {
                iface MIXER
                name 'RADC input Mixer LINEINR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.36 {
                iface MIXER
                name 'RADC input Mixer r_output mixer Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.37 {
                iface MIXER
                name 'RADC input Mixer l_output mixer Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.38 {
                iface MIXER
                name 'RADC input Mixer PHONINN Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.39 {
                iface MIXER
                name 'RADC input Mixer PHONINN-PHONINP Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.40 {
                iface MIXER
                name 'LADC input Mixer MIC1 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.41 {
                iface MIXER
                name 'LADC input Mixer MIC2 boost Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.42 {
                iface MIXER
                name 'LADC input Mixer LINEINL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.43 {
                iface MIXER
                name 'LADC input Mixer l_output mixer Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.44 {
                iface MIXER
                name 'LADC input Mixer r_output mixer Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.45 {
                iface MIXER
                name 'LADC input Mixer PHONINP Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.46 {
                iface MIXER
                name 'LADC input Mixer PHONINP-PHONINN Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.47 {
                iface MIXER
                name 'AIF3OUT Mux'
                value 'AIF2 ADC left channel'
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 'AIF2 ADC left channel'
                        item.1 'AIF2 ADC right channel'
                }
        }
        control.48 {
                iface MIXER
                name 'AIF2 ADR Mixer AIF1 DA0R Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.49 {
                iface MIXER
                name 'AIF2 ADR Mixer AIF1 DA1R Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.50 {
                iface MIXER
                name 'AIF2 ADR Mixer AIF2 DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.51 {
                iface MIXER
                name 'AIF2 ADR Mixer ADCR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.52 {
                iface MIXER
                name 'AIF2 ADL Mixer AIF1 DA0L Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.53 {
                iface MIXER
                name 'AIF2 ADL Mixer AIF1 DA1L Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.54 {
                iface MIXER
                name 'AIF2 ADL Mixer AIF2 DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.55 {
                iface MIXER
                name 'AIF2 ADL Mixer ADCL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.56 {
                iface MIXER
                name 'AIF2INR Mux'
                value AIF2_DACR
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF2_DACR
                        item.1 AIF2_DACL
                        item.2 SUM_AIF2DACL_AIF2DACR
                        item.3 AVE_AIF2DACL_AIF2DACR
                }
        }
        control.57 {
                iface MIXER
                name 'AIF2INL Mux'
                value AIF2_DACL
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF2_DACL
                        item.1 AIF2_DACR
                        item.2 SUM_AIF2DACL_AIF2DACR
                        item.3 AVE_AIF2DACL_AIF2DACR
                }
        }
        control.58 {
                iface MIXER
                name 'AIF2OUTR Mux'
                value AIF2_ADCR
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF2_ADCR
                        item.1 AIF2_ADCL
                        item.2 SUM_AIF2_ADCL_AIF2_ADCR
                        item.3 AVE_AIF2_ADCL_AIF2_ADCR
                }
        }
        control.59 {
                iface MIXER
                name 'AIF2OUTL Mux'
                value AIF2_ADCL
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF2_ADCL
                        item.1 AIF2_ADCR
                        item.2 SUM_AIF2_ADCL_AIF2_ADCR
                        item.3 AVE_AIF2_ADCL_AIF2_ADCR
                }
        }
        control.60 {
                iface MIXER
                name 'EAR Mux'
                value DACR
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 DACR
                        item.1 DACL
                        item.2 'Right Analog Mixer'
                        item.3 'Left Analog Mixer'
                }
        }
        control.61 {
                iface MIXER
                name 'SPK_L Mux'
                value 'MIXEL Switch'
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 'MIXEL Switch'
                        item.1 'MIXL MIXR  Switch'
                }
        }
        control.62 {
                iface MIXER
                name 'SPK_R Mux'
                value 'MIXER Switch'
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 'MIXER Switch'
                        item.1 'MIXR MIXL Switch'
                }
        }
        control.63 {
                iface MIXER
                name 'HP_L Mux'
                value 'DACL HPL Switch'
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 'DACL HPL Switch'
                        item.1 'Left Analog Mixer HPL Switch'
                }
        }
        control.64 {
                iface MIXER
                name 'HP_R Mux'
                value 'DACR HPR Switch'
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 'DACR HPR Switch'
                        item.1 'Right Analog Mixer HPR Switch'
                }
        }
        control.65 {
                iface MIXER
                name 'Right Output Mixer DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.66 {
                iface MIXER
                name 'Right Output Mixer DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.67 {
                iface MIXER
                name 'Right Output Mixer LINEINR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.68 {
                iface MIXER
                name 'Right Output Mixer MIC2Booststage Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.69 {
                iface MIXER
                name 'Right Output Mixer MIC1Booststage Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.70 {
                iface MIXER
                name 'Right Output Mixer PHONEINN Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.71 {
                iface MIXER
                name 'Right Output Mixer PHONEINN-PHONEINP Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.72 {
                iface MIXER
                name 'Left Output Mixer DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.73 {
                iface MIXER
                name 'Left Output Mixer DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.74 {
                iface MIXER
                name 'Left Output Mixer LINEINL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.75 {
                iface MIXER
                name 'Left Output Mixer MIC2Booststage Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.76 {
                iface MIXER
                name 'Left Output Mixer MIC1Booststage Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.77 {
                iface MIXER
                name 'Left Output Mixer PHONEINP Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.78 {
                iface MIXER
                name 'Left Output Mixer PHONEINP-PHONEINN Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.79 {
                iface MIXER
                name 'DACR Mixer ADCR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.80 {
                iface MIXER
                name 'DACR Mixer AIF2DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.81 {
                iface MIXER
                name 'DACR Mixer AIF1DA1R Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.82 {
                iface MIXER
                name 'DACR Mixer AIF1DA0R Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.83 {
                iface MIXER
                name 'DACL Mixer ADCL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.84 {
                iface MIXER
                name 'DACL Mixer AIF2DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.85 {
                iface MIXER
                name 'DACL Mixer AIF1DA1L Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.86 {
                iface MIXER
                name 'DACL Mixer AIF1DA0L Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.87 {
                iface MIXER
                name 'AIF1 AD1R Mixer AIF2 DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.88 {
                iface MIXER
                name 'AIF1 AD1R Mixer ADCR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.89 {
                iface MIXER
                name 'AIF1 AD1L Mixer AIF2 DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.90 {
                iface MIXER
                name 'AIF1 AD1L Mixer ADCL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.91 {
                iface MIXER
                name 'AIF1 AD0R Mixer AIF1 DA0R Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.92 {
                iface MIXER
                name 'AIF1 AD0R Mixer AIF2 DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.93 {
                iface MIXER
                name 'AIF1 AD0R Mixer ADCR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.94 {
                iface MIXER
                name 'AIF1 AD0R Mixer AIF2 DACL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.95 {
                iface MIXER
                name 'AIF1 AD0L Mixer AIF1 DA0L Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.96 {
                iface MIXER
                name 'AIF1 AD0L Mixer AIF2 DACL Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.97 {
                iface MIXER
                name 'AIF1 AD0L Mixer ADCL Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.98 {
                iface MIXER
                name 'AIF1 AD0L Mixer AIF2 DACR Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.99 {
                iface MIXER
                name 'AIF1IN1R Mux'
                value AIF1_DA1R
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_DA1R
                        item.1 AIF1_DA1L
                        item.2 SUM_AIF1DA1L_AIF1DA1R
                        item.3 AVE_AIF1DA1L_AIF1DA1R
                }
        }
        control.100 {
                iface MIXER
                name 'AIF1IN1L Mux'
                value AIF1_DA1L
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_DA1L
                        item.1 AIF1_DA1R
                        item.2 SUM_AIF1DA1L_AIF1DA1R
                        item.3 AVE_AIF1DA1L_AIF1DA1R
                }
        }
        control.101 {
                iface MIXER
                name 'AIF1IN0R Mux'
                value AIF1_DA0R
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_DA0R
                        item.1 AIF1_DA0L
                        item.2 SUM_AIF1DA0L_AIF1DA0R
                        item.3 AVE_AIF1DA0L_AIF1DA0R
                }
        }
        control.102 {
                iface MIXER
                name 'AIF1IN0L Mux'
                value AIF1_DA0L
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_DA0L
                        item.1 AIF1_DA0R
                        item.2 SUM_AIF1DA0L_AIF1DA0R
                        item.3 AVE_AIF1DA0L_AIF1DA0R
                }
        }
        control.103 {
                iface MIXER
                name 'AIF1OUT1R Mux'
                value AIF1_AD1R
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_AD1R
                        item.1 AIF1_AD1L
                        item.2 SUM_AIF1ADC1L_AIF1ADC1R
                        item.3 AVE_AIF1ADC1L_AIF1ADC1R
                }
        }
        control.104 {
                iface MIXER
                name 'AIF1OUT1L Mux'
                value AIF1_AD1L
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_AD1L
                        item.1 AIF1_AD1R
                        item.2 SUM_AIF1ADC1L_AIF1ADC1R
                        item.3 AVE_AIF1ADC1L_AIF1ADC1R
                }
        }
        control.105 {
                iface MIXER
                name 'AIF1OUT0R Mux'
                value AIF1_AD0R
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_AD0R
                        item.1 AIF1_AD0L
                        item.2 SUM_AIF1AD0L_AIF1AD0R
                        item.3 AVE_AIF1AD0L_AIF1AD0R
                }
        }
        control.106 {
                iface MIXER
                name 'AIF1OUT0L Mux'
                value AIF1_AD0L
                comment {
                        access 'read write'
                        type ENUMERATED
                        count 1
                        item.0 AIF1_AD0L
                        item.1 AIF1_AD0R
                        item.2 SUM_AIF1AD0L_AIF1AD0R
                        item.3 AVE_AIF1AD0L_AIF1AD0R
                }
        }
        control.107 {
                iface MIXER
                name 'AIF2INR Mux VIR switch aif2inr aif3'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.108 {
                iface MIXER
                name 'AIF2INL Mux VIR switch aif2inl aif3'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.109 {
                iface MIXER
                name 'AIF2INR Mux switch aif2inr aif2'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.110 {
                iface MIXER
                name 'AIF2INL Mux switch aif2inl aif2'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.111 {
                iface MIXER
                name 'External Speaker Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.112 {
                iface MIXER
                name 'Headphone Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.113 {
                iface MIXER
                name 'Earpiece Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
}

thanks,
Devan


Possibly Related Threads…
Thread Author Replies Views Last Post
  +LTS/SOPINE Audio Jack Pinout Little_Johnny 0 2,982 12-29-2019, 08:44 AM
Last Post: Little_Johnny
  sound amp and speakers for the case Israeldelamo 4 7,030 12-29-2019, 08:38 AM
Last Post: Little_Johnny
  Pine64 (analog) Audio Jack Output w/ Kernel 4.19 ecolezen 0 3,057 01-24-2019, 07:00 AM
Last Post: ecolezen
  PINE64 STEREO AUDIO DAC POT jtgiroux 0 3,142 01-12-2019, 04:56 PM
Last Post: jtgiroux
  Enabling wolfson wm8960 i2c/i2s sound codec saro 5 14,479 06-01-2017, 03:04 AM
Last Post: saro
  Audio Extractor Ralck 1 4,452 05-25-2017, 12:25 PM
Last Post: dkryder
Sad Enable Mic on 3.5 jack port saro 14 37,071 03-29-2017, 02:06 AM
Last Post: saro
  Use Audiojack instead of HDMI audio pictus 55 127,480 12-24-2016, 06:03 PM
Last Post: Akiva

Forum Jump:


Users browsing this thread: 1 Guest(s)