rework VUPLUS defines

Origin commit data
------------------
Branch: master
Commit: 99de5b6be0
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-12 (Fri, 12 Jun 2020)

Origin message was:
------------------
- rework VUPLUS defines

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-06-12 22:27:03 +02:00
parent 6a772df307
commit dad33d0aee
4 changed files with 25 additions and 13 deletions

View File

@@ -96,7 +96,7 @@ int map_volume(const int volume)
vol = 63 - vol * 63 / 100;
// now range is 63..0, where 0 is loudest
#if BOXMODEL_VUPLUS4K
#if BOXMODEL_VUPLUS_ALL
if (vol == 63)
vol = 255;
#endif
@@ -343,7 +343,7 @@ int cAudio::StopClip()
hal_info("%s: clipfd not yet opened\n", __FUNCTION__);
return -1;
}
#if BOXMODEL_VUPLUS4K
#if BOXMODEL_VUPLUS_ARM
ioctl(clipfd, SNDCTL_DSP_RESET);
#endif
close(clipfd);