mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: add to FIXMEs
This commit is contained in:
parent
4c29ba9c33
commit
8dd0d871a7
2 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ typedef enum pa_sink_input_state {
|
||||||
PA_SINK_INPUT_RUNNING, /*< The stream is alive and kicking */
|
PA_SINK_INPUT_RUNNING, /*< The stream is alive and kicking */
|
||||||
PA_SINK_INPUT_CORKED, /*< The stream was corked on user request */
|
PA_SINK_INPUT_CORKED, /*< The stream was corked on user request */
|
||||||
PA_SINK_INPUT_UNLINKED /*< The stream is dead */
|
PA_SINK_INPUT_UNLINKED /*< The stream is dead */
|
||||||
|
/* FIXME: we need a state for MOVING here */
|
||||||
} pa_sink_input_state_t;
|
} pa_sink_input_state_t;
|
||||||
|
|
||||||
static inline pa_bool_t PA_SINK_INPUT_IS_LINKED(pa_sink_input_state_t x) {
|
static inline pa_bool_t PA_SINK_INPUT_IS_LINKED(pa_sink_input_state_t x) {
|
||||||
|
|
|
||||||
|
|
@ -307,6 +307,7 @@ pa_sink* pa_sink_new(
|
||||||
s->thread_info.max_latency = ABSOLUTE_MAX_LATENCY;
|
s->thread_info.max_latency = ABSOLUTE_MAX_LATENCY;
|
||||||
s->thread_info.fixed_latency = flags & PA_SINK_DYNAMIC_LATENCY ? 0 : DEFAULT_FIXED_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);
|
pa_assert_se(pa_idxset_put(core->sinks, s, &s->index) >= 0);
|
||||||
|
|
||||||
if (s->card)
|
if (s->card)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue