set request/rewind sizes only via accessor functions

This commit is contained in:
Lennart Poettering 2009-03-24 21:13:41 +01:00
parent aa92ff408c
commit 2f9a784167
9 changed files with 52 additions and 17 deletions

View file

@ -756,7 +756,7 @@ static int update_sw_params(struct userdata *u) {
return err;
}
pa_sink_set_max_request(u->sink, u->hwbuf_size - u->hwbuf_unused);
pa_sink_set_max_request_within_thread(u->sink, u->hwbuf_size - u->hwbuf_unused);
return 0;
}