This commit is contained in:
Brandon Taylor 2021-06-30 18:50:16 -04:00
parent b3da824629
commit bbd238dbfe

View file

@ -803,8 +803,8 @@ end
# If we had multiple inheritance, then PortAudioStreams could be both a sink and source # If we had multiple inheritance, then PortAudioStreams could be both a sink and source
# Since we don't, we have to make wrappers instead # Since we don't, we have to make wrappers instead
for (TypeName, Super) in ((:PortAudioSink, :SampleSink), (:PortAudioSource, :SampleSource)) for (TypeName, Super) in ((:PortAudioSink, :SampleSink), (:PortAudioSource, :SampleSource))
@eval struct $TypeName{Sample, InputMessager, OutputBuffer} <: $Super @eval struct $TypeName{Sample, InputBuffer, OutputBuffer} <: $Super
stream::PortAudioStream{Sample, InputMessager, OutputBuffer} stream::PortAudioStream{Sample, InputBuffer, OutputBuffer}
end end
end end