mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
nwz/alsa: various improvements
Also audiohw driver to specific device name, rewrite alsa controls code to cache more data, thus making the code easier and use less stack. Avoid using short/long in pcm alsa code since it's the wrong size on 64-bit (simulator for example) Change-Id: Ibc1ec44396e37b6cbdedbcf37300878638e5d2d3
This commit is contained in:
parent
ce9e7e7122
commit
dd82f13fa1
10 changed files with 122 additions and 93 deletions
|
|
@ -369,7 +369,7 @@ bool dbg_hw_info_audio(void)
|
|||
{
|
||||
case VOL:
|
||||
vol += inc ? 1 : -1;
|
||||
pcm_alsa_set_digital_volume(vol, vol);
|
||||
pcm_set_mixer_volume(vol, vol);
|
||||
break;
|
||||
case ACOUSTIC:
|
||||
audiohw_enable_acoustic(!audiohw_acoustic_enabled());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue