mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libspark: fix cAudio::do_mute()
Origin commit data
------------------
Branch: master
Commit: 1cddb85070
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -75,6 +75,9 @@ int cAudio::do_mute(bool enable, bool remember)
|
||||
{
|
||||
f = open("/proc/stb/avs/0/volume", O_RDWR);
|
||||
read(f, str, 4);
|
||||
close(f);
|
||||
str[3] = '\0';
|
||||
f = open("/proc/stb/avs/0/volume", O_RDWR);
|
||||
write(f, str, strlen(str));
|
||||
close(f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user