default latency
This commit is contained in:
parent
c18963ac53
commit
03a32623e9
1 changed files with 1 additions and 3 deletions
|
@ -103,9 +103,7 @@ mutable struct PortAudioStream{T}
|
|||
end
|
||||
end
|
||||
|
||||
function defaultlatency(devices...)
|
||||
return maximum(d -> d.highoutputlatency, devices) #TODO(jakubwro): add in/out and high/low logic
|
||||
end
|
||||
defaultlatency(f, devices...) = maximum(d -> max(d.highoutputlatency, d.highinputlatency), devices)
|
||||
|
||||
# this is the top-level outer constructor that all the other outer constructors end up calling
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue