r2818 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src
njp at sita.openmoko.org
njp at sita.openmoko.org
Thu Aug 23 17:40:46 CEST 2007
Author: njp
Date: 2007-08-23 17:40:44 +0200 (Thu, 23 Aug 2007)
New Revision: 2818
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
Log:
2007-08-23 Neil J. Patel <njp at o-hand.com>
* src/moko-notify.c: (on_sound_finished),
(moko_notify_start_ringtone):
Remove debugging printf's as everything works!
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-23 15:10:35 UTC (rev 2817)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-23 15:40:44 UTC (rev 2818)
@@ -2,6 +2,12 @@
* src/moko-notify.c: (on_sound_finished),
(moko_notify_start_ringtone):
+ Remove debugging printf's as everything works!
+
+2007-08-23 Neil J. Patel <njp at o-hand.com>
+
+ * src/moko-notify.c: (on_sound_finished),
+ (moko_notify_start_ringtone):
Add some printf's. Change the sample name to one we know is working.
2007-08-23 Neil J. Patel <njp at o-hand.com>
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-23 15:10:35 UTC (rev 2817)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-23 15:40:44 UTC (rev 2818)
@@ -119,10 +119,9 @@
if (!priv->pac)
return;
- g_print ("Tone finished");
-
+
if (priv->started)
- g_timeout_add (1000, (GSourceFunc)play_timeout, (gpointer)notify);
+ g_timeout_add (1500, (GSourceFunc)play_timeout, (gpointer)notify);
}
static void
@@ -135,10 +134,9 @@
if (!priv->pac)
return;
-
- g_print ("Playing tone");
+
pa_context_play_sample (priv->pac,
- "touchscreen",
+ "x11-bell",
NULL,
PA_VOLUME_NORM,
(gpointer)on_sound_finished,
More information about the commitlog
mailing list