Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio troubles with rg353m #10

Open
totoetlititi opened this issue Dec 29, 2022 · 2 comments
Open

Audio troubles with rg353m #10

totoetlititi opened this issue Dec 29, 2022 · 2 comments

Comments

@totoetlititi
Copy link

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
Copy link
Author

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
Copy link
Author

totoetlititi commented Dec 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant