[gnome-devel-docs] Fixed typo
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Fixed typo
- Date: Thu, 8 Sep 2011 14:14:33 +0000 (UTC)
commit 78e6413e4f7c63ebd04626c2482c59069a641d48
Author: dmustieles <daniel mustieles gmail com>
Date: Thu Sep 8 16:14:28 2011 +0200
Fixed typo
platform-demos/C/guitar-tuner.vala.page | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/guitar-tuner.vala.page b/platform-demos/C/guitar-tuner.vala.page
index 522be5f..7013c43 100644
--- a/platform-demos/C/guitar-tuner.vala.page
+++ b/platform-demos/C/guitar-tuner.vala.page
@@ -189,7 +189,7 @@ private void play_sound(double frequency)
<p>Next, <code>sink.link</code> is used to connect the elements together, so the output of source (a tone) goes into the input of sink (which is then output to the sound card). <code>pipeline.set_state</code> is then used to start playback, by setting the state of the pipeline to playing (<code>Gst.State.PLAYING</code>).</p>
</item>
<item>
- <p>We don't want to play an annoying tone forever, so the last thing <code>play_sound</code> does is to add
+ <p>We don't want to play an annoying tone forever, so the last thing <code>play_sound</code> does is to
add a <code>TimeoutSource</code>. This sets a timeout for stopping the sound; it waits for 200 milliseconds before
calling a signal handler defined inline that stops and destroys the pipeline. It returns <code>false</code> to
remove itself from the timeout, otherwise it would continue to be called every 200 ms.</p>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]