Update oboe to newest version. Fix support of input/output oboe streams
This commit is contained in:
parent
01c5ee600a
commit
bf766c1d5d
5 changed files with 38 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ pub fn to_stream_instant(duration: Duration) -> StreamInstant {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn stream_instant<T: oboe::AudioStream + ?Sized>(stream: &mut T) -> StreamInstant {
|
||||
pub fn stream_instant<T: oboe::AudioStreamSafe + ?Sized>(stream: &mut T) -> StreamInstant {
|
||||
const CLOCK_MONOTONIC: i32 = 1;
|
||||
let ts = stream
|
||||
.get_timestamp(CLOCK_MONOTONIC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue