File: 1001-fix_envy24control_poll.patch

package info (click to toggle)
mudita24 1.0.3%2Bsvn13-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 604 kB
  • ctags: 626
  • sloc: ansic: 8,577; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Attempt to make meters work again.
From: http://lists.linuxaudio.org/pipermail/linux-audio-dev/2012-January/032645.html
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655708
---
 envy24control.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- mudita24.orig/envy24control.c	2012-01-23 18:31:07.636108791 +0100
+++ mudita24/envy24control.c	2012-01-23 18:31:17.248156462 +0100
@@ -2404,7 +2404,7 @@
 /* NPM for efficiency&power-savings, replaced multiple 40ms&100ms timeouts
    for each of the callbacks contained here, with a single 100ms one which
    calls gtk_timeout_add(100, (GtkFunction)envy24control_poll, ...) */
-void envy24control_poll() {
+gboolean envy24control_poll() {
   level_meters_timeout_callback(NULL);
   master_clock_status_timeout_callback(NULL);
   internal_clock_status_timeout_callback(NULL);
@@ -2412,6 +2412,8 @@
   rate_reset_status_timeout_callback(NULL);
   if (card_has_delta_iec958_input_status)
     iec958_input_status_timeout_callback(NULL); /* NPM */
+
+  return TRUE;
 }
 
 int main(int argc, char **argv)