aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_plugin.c b/src/pcm_plugin.c
index 8b633aa..15bfc80 100644
--- a/src/pcm_plugin.c
+++ b/src/pcm_plugin.c
@@ -570,7 +570,7 @@ static int pcm_plug_ttstamp(struct pcm_plug_data *plug_data,
{
struct pcm_plugin *plugin = plug_data->plugin;
- if (plugin->state != PCM_PLUG_STATE_RUNNING)
+ if (plugin->state < PCM_PLUG_STATE_SETUP)
return -EBADFD;
return plug_data->ops->ttstamp(plugin, tstamp);