mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
fix buffer defaults
This commit is contained in:
parent
76c44d104d
commit
4e8ceae064
1 changed files with 3 additions and 3 deletions
|
|
@ -1926,11 +1926,11 @@ int pa__init(pa_module*m) {
|
||||||
|
|
||||||
u->time_event = NULL;
|
u->time_event = NULL;
|
||||||
|
|
||||||
u->maxlength = 0;
|
u->maxlength = (uint32_t) -1;
|
||||||
#ifdef TUNNEL_SINK
|
#ifdef TUNNEL_SINK
|
||||||
u->tlength = u->minreq = u->prebuf = 0;
|
u->tlength = u->minreq = u->prebuf = (uint32_t) -1;
|
||||||
#else
|
#else
|
||||||
u->fragsize = 0;
|
u->fragsize = (uint32_t) -1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pa_smoother_set_time_offset(u->smoother, pa_rtclock_usec());
|
pa_smoother_set_time_offset(u->smoother, pa_rtclock_usec());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue