Cosmetics

This commit is contained in:
Bertrand Songis
2016-01-20 15:19:53 +01:00
parent 3b3555df48
commit da76106465
6 changed files with 14 additions and 8 deletions
+7 -1
View File
@@ -459,7 +459,13 @@ bool audioPushBuffer(AudioBuffer * buffer)
}
#endif
#if defined(VOLUME_CHIP)
#if defined(PCBHORUS)
void audioConsumeCurrentBuffer()
{
}
#endif
#if defined(HARDWARE_VOLUME)
void setScaledVolume(uint8_t volume)
{
simuAudio.currentVolume = min<int>((volumeScale[min<uint8_t>(volume, VOLUME_LEVEL_MAX)] * simuAudio.volumeGain) / 10, 127);
+1 -1
View File
@@ -277,6 +277,6 @@ void setVolume(uint8_t volume)
int32_t getVolume()
{
return 0; // TODO
return -1; // TODO
}
#endif