core: add priority field to pa_sink/pa_source

This commit is contained in:
Lennart Poettering 2009-08-28 23:30:41 +02:00
parent ca2c0f22d8
commit 3b54849a08
5 changed files with 10 additions and 0 deletions

View file

@ -236,6 +236,7 @@ pa_sink* pa_sink_new(
s->core = core;
s->state = PA_SINK_INIT;
s->flags = flags;
s->priority = 0;
s->suspend_cause = 0;
s->name = pa_xstrdup(name);
s->proplist = pa_proplist_copy(data->proplist);