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)
|