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

Volume doesn't use RetroFW's volume #171

Open
jaredreich opened this issue Jul 7, 2021 · 12 comments
Open

Volume doesn't use RetroFW's volume #171

jaredreich opened this issue Jul 7, 2021 · 12 comments
Labels
enhancement New feature or request

Comments

@jaredreich
Copy link

Hey! Quick question, I noticed that on some devices, like the RG-300, the volume wheel is very hard to adjust on lower volume settings, so I set the "Audio volume" to 1 in the RetroFW settings, which fixes the issue when loading an emulator from the RetroFW interface. But if I go into SimpleMenu and start up a game, the volume is back to 100. Might this be because of these lines:

// /* Setting Volume to max, that will avoid issues, i think */
ioctl(soundDev, SOUND_MIXER_WRITE_VOLUME, &vol);
close(soundDev);

Is there any way we can make SimpleMenu inherit the "Audio volume" setting from RetroFW rather than forcing it to 100%?

Thanks very much for reading!!!

@fgl82
Copy link
Owner

fgl82 commented Jul 7, 2021 via email

@jaredreich
Copy link
Author

You are so kind and responsive! Please let me know if you need help, I am also a developer but sadly not with the C language 😛

@fgl82
Copy link
Owner

fgl82 commented Jul 7, 2021 via email

@jaredreich
Copy link
Author

jaredreich commented Jul 7, 2021

Very cool, thanks for your time in replying and trying this. I also hope you don't mind me bombarding your issues page with specific nitpicky stuff. My son and I are sooo enjoying SimpleMenu on our RG-300's and are just noticing these couple things. Cheers!!!

@fgl82
Copy link
Owner

fgl82 commented Jul 19, 2021

Haven't fixed this on the latest release (9.3), since it seems RFW initializes volume in 0, forcing me to define "something" or it won't have sound at all.
I will define a new config for the next one so you can set it manually like you do in gmenu

@jaredreich
Copy link
Author

Thanks so much for the follow up. That sounds like a great solution, really looking forward to using it!!

@fgl82 fgl82 added the enhancement New feature or request label Jul 22, 2021
@jaredreich
Copy link
Author

You've been doing awesome with simplemenu release lately man, great work! So excited for this volume config feature if you're able to find the solution. I think it's the last final piece to perfect the RG-300 device for me!

Cheers man! 🍻

@fgl82
Copy link
Owner

fgl82 commented Sep 13, 2021 via email

@jaredreich
Copy link
Author

Sir, you are wonderful.

@fgl82
Copy link
Owner

fgl82 commented Dec 21, 2021

Sorry, this is still pending, still planning to work on it eventually.

@jaredreich
Copy link
Author

No need to apologize. Thank you very much for the follow up response. Looking forward to it! Cheers!!!

@jgferrer
Copy link

jgferrer commented Aug 26, 2022

@jaredreich I have modified SimpleMenu to add the ability to change the volume on RG300 (new option for SimpleMenu on Settings Screen).
If you want to try you can download it at https://github.com/jgferrer/simplemenu/releases/tag/v.1.0
Create a backup of your SimpleMenu opk and replace it with the one in the link.
It should work... It works for me, putting for example 10 or 20, sounds much lower than before :-)

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

No branches or pull requests

3 participants