diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-14 00:54:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-14 00:54:38 +0100 |
commit | 587a08bae417d65f5b51da50706fe1c964275f1d (patch) | |
tree | 18dc42bb4c4d0824f50ac96fd61529a927c719fa /src/modules/module-sine-source.c | |
parent | df564040b5f0e530730b11d0ad04abae12edb06f (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.c | 4 |
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; |