mozilla / cubeb-pulse-rs

ISC License
15 stars 17 forks source link

Have pulse::Stream::get_latency return enum #10

Closed djg closed 6 years ago

djg commented 7 years ago

It might be better (later) to have get_latency return an enum variant along the lines of:

enum StreamLatency {
    Positive(u64),
    Negative(u64),
 }

...but for now, we should probably keep the !negative assert from the C code.