git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29589 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcin Bukat 2011-03-14 23:14:07 +00:00
parent ae68278c8d
commit f056669dcd
2 changed files with 4 additions and 3 deletions

View file

@ -202,10 +202,11 @@ int sound_val2phys(int setting, int value)
result = value * 5;
break;
#endif
#ifdef AUDIOHW_HAVE_DEPTH_3D
case SOUND_DEPTH_3D:
result = (100 * value + 8) / 15;
break;
#endif
default:
result = value;
}

View file

@ -761,11 +761,11 @@ int sound_val2phys(int setting, int value)
result = value * 5;
break;
#endif
#ifdef AUDIOHW_HAVE_DEPTH_3D
case SOUND_DEPTH_3D:
result = (100 * value + 8) / 15;
break;
#endif
default:
result = value;
}