mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user