[gnome-devel-docs] platform-overview: Update guitar tuner source
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-overview: Update guitar tuner source
- Date: Sat, 23 Feb 2013 10:57:05 +0000 (UTC)
commit 24527395ac8e7949145d62450d2612262a3b51e6
Author: David King <amigadave amigadave com>
Date: Sat Feb 23 10:55:57 2013 +0000
platform-overview: Update guitar tuner source
Propogate the guitar tuner "E" note frequency change from bug 687628 to
the provided source file.
platform-demos/C/guitar-tuner/guitar-tuner.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/guitar-tuner/guitar-tuner.c b/platform-demos/C/guitar-tuner/guitar-tuner.c
index 98a97c9..e7725f9 100644
--- a/platform-demos/C/guitar-tuner/guitar-tuner.c
+++ b/platform-demos/C/guitar-tuner/guitar-tuner.c
@@ -10,7 +10,7 @@
#define UI_FILE "src/guitar_tuner.ui"
/* Frequencies of the tones */
-#define NOTE_E 369.23
+#define NOTE_E 329.63
#define NOTE_A 440
#define NOTE_D 587.33
#define NOTE_G 783.99
@@ -51,7 +51,7 @@ play_sound (gdouble frequency)
gst_element_set_state (pipeline, GST_STATE_PLAYING);
- /* stop it after 200ms */
+ /* stop it after 500ms */
g_timeout_add (LENGTH, (GSourceFunc) pipeline_stop, pipeline);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]