summaryrefslogtreecommitdiff
path: root/src/modules/module-sine-source.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-14 00:54:38 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-14 00:54:38 +0100
commit587a08bae417d65f5b51da50706fe1c964275f1d (patch)
tree18dc42bb4c4d0824f50ac96fd61529a927c719fa /src/modules/module-sine-source.c
parentdf564040b5f0e530730b11d0ad04abae12edb06f (diff)
Fix a typo I know owe Marc-Andre a beer for.
Diffstat (limited to 'src/modules/module-sine-source.c')
-rw-r--r--src/modules/module-sine-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-sine-source.c b/src/modules/module-sine-source.c
index 1b8e7b3c7..79d3b1378 100644
--- a/src/modules/module-sine-source.c
+++ b/src/modules/module-sine-source.c
@@ -96,9 +96,9 @@ static int source_process_msg(
switch (code) {
- case PA_SINK_MESSAGE_SET_STATE:
+ case PA_SOURCE_MESSAGE_SET_STATE:
- if (PA_PTR_TO_UINT(data) == PA_SINK_RUNNING)
+ if (PA_PTR_TO_UINT(data) == PA_SOURCE_RUNNING)
u->timestamp = pa_rtclock_usec();
break;