Dshare Alsa Plugin Audio Garbled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m using openelec.

 

I'm trying to use my Asrock P45Xe motherboard internal 7.1 soundcard with ALC888 as a 5.1 soundcard + 1 channel device for infrared control of my Onkyo receiver via it`s "Remote Interactive" 3.5mm plug .

The solution seems to be to use the dshare alsa plugin.

I then created a new file at /storage/.config/asound.conf with the following content :

 

pcm.!default = pcm.surround51Kodi

pcm.hdaIntel {
    type hw
    card 0
    device 0
}


pcm_slave.hdaAnalogIntel {
    pcm "hdaIntel"
    channels 8
    rate 48000
    format S32_LE
    
    period_time 0
    buffer_time 0
    period_size
76800
    buffer_size
307200
    
}

pcm.surround51Kodi {
    type dshare
    ipc_key 47110815
    ipc_perm 0660
    slave hdaAnalogIntel
    bindings.0 0
    bindings.1 1
    bindings.2 6
    bindings.3 7
    bindings.4 4
    bindings.5 5
    
    #slowptr true
}

pcm.surround51KodiPlug {
    type plug
    slave.pcm "surround51Kodi"
    hint {
        show on
        description "Multichannel 5.1 output analog"    
    }
}

pcm.onkyoRI {
    type dshare
    ipc_key 47110815
    ipc_perm 0660
    slave hdaAnalogIntel
    bindings.0 3
    #slowptr true
}

pcm.onkyoRIPlug {
    type plug
    slave.pcm "onkyoRI"
    hint {
        show on
        description "1 channel output for controlling onkyo via RI"
    }
}

 

The sound is really strange, it’s all garbled.

 

Here’s the output of the speaker-test program :

 

# speaker-test -c6 -D plug:default

speaker-test 1.1.0

Playback device is plug:default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 2048
Period size range from 1024 to 1024
Using max buffer size 2048
Periods = 4
was set period_size = 1024
was set buffer_size = 2048
0 - Front Left
4 - Front Center
1 - Front Right
7 - Side Right
3 - Rear Right
Write error: -32,Broken pipe
Write error: -32,Broken pipe
Write error: -32,Broken pipe
2 - Rear Left
Write error: -32,Broken pipe
Time per period = 17.816881
0 - Front Left
4 - Front Center
1 - Front Right
7 - Side Right
3 - Rear Right
2 - Rear Left
Time per period = 17.919984
0 - Front Left
4 - Front Center
1 - Front Right
7 - Side Right
3 - Rear Right
2 - Rear Left
Time per period = 17.919974
0 - Front Left
4 - Front Center
1 - Front Right
Write error: -32,Broken pipe
7 - Side Right
3 - Rear Right

 

 

Is there additional log I should give for you to help me. Thank you

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux