mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
make gcc shut up
This commit is contained in:
parent
afbfd5d937
commit
72f520f93c
3 changed files with 5 additions and 3 deletions
|
|
@ -1257,7 +1257,9 @@ static pa_usec_t calc_time(pa_stream *s, pa_bool_t ignore_transport) {
|
|||
usec -= s->timing_info.sink_usec;
|
||||
}
|
||||
|
||||
} else if (s->direction == PA_STREAM_RECORD) {
|
||||
} else {
|
||||
pa_assert(s->direction == PA_STREAM_RECORD);
|
||||
|
||||
/* The last byte written into the server side queue had
|
||||
* this time value associated */
|
||||
usec = pa_bytes_to_usec(s->timing_info.write_index < 0 ? 0 : (uint64_t) s->timing_info.write_index, &s->sample_spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue