rg351_m8c icon indicating copy to clipboard operation
rg351_m8c copied to clipboard

Audio troubles with rg353m

Open totoetlititi opened this issue 2 years ago • 2 comments

Thanks for your this great porting !

I'm looking to control the audio volume of the M8 with the hardware audio volume buttons on a rg353m, running Arkos.

  • M8.sh: works nicely, but the audio volume is at the maximum level, and the volume hardware buttons don't change the volume of the M8. I suspect alsaloop to bypass the volume control.

  • M8_pulse.sh: there is no sound at all. Modifying the sink/source index into pulseaudio_config.pa does not work. But it is not very clear for me what configuration is needed in alsamixer.

totoetlititi avatar Dec 29 '22 00:12 totoetlititi

with a correct pulseaudio_config.pa, M8_pulse.sh works ! (sorry) But the Audio hardware volume button still does not work.

Maybe a problem in the .asoundrc ?

# anbernic-audio alsa config
# dmix + softvol

pcm.!default {
        type            plug
        slave.pcm       "softvol"
}

ctl.!default {
        type            hw 
        card            0
}

pcm.ddmix {
        ipc_key         1024
        type            dmix
        slave {
                pcm         "hw:0,0"
                period_time 0
		period_size 1024
		buffer_size 4096
                rate 44100
        }
}

pcm.softvol {
        type            softvol
        slave {
                pcm         "ddmix"
        }
        control {
                name        "Master"
                card        0
        }
}

totoetlititi avatar Dec 29 '22 19:12 totoetlititi

Found a solution for M8.sh, change the playback device to "default" in alsaloop_wait: alsaloop -P default -C hw:2,0 -t 200000 -A 5 --rate 44100 --sync=0 -T -1 -d

totoetlititi avatar Dec 29 '22 21:12 totoetlititi