core: add to FIXMEs

This commit is contained in:
Lennart Poettering 2009-08-16 00:45:56 +02:00
parent 4c29ba9c33
commit 8dd0d871a7
2 changed files with 2 additions and 0 deletions

View file

@ -307,6 +307,7 @@ pa_sink* pa_sink_new(
s->thread_info.max_latency = ABSOLUTE_MAX_LATENCY;
s->thread_info.fixed_latency = flags & PA_SINK_DYNAMIC_LATENCY ? 0 : DEFAULT_FIXED_LATENCY;
/* FIXME: This should probably be moved to pa_sink_put() */
pa_assert_se(pa_idxset_put(core->sinks, s, &s->index) >= 0);
if (s->card)