From b31b5507fb8f4cb423eff9281a01cd2f6430e3cd Mon Sep 17 00:00:00 2001 From: Vasily Chekalkin Date: Tue, 23 Jul 2019 17:24:51 +1000 Subject: [PATCH] Add Send trait to resampling::Context --- src/software/resampling/context.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/software/resampling/context.rs b/src/software/resampling/context.rs index fc3902c..9b390db 100644 --- a/src/software/resampling/context.rs +++ b/src/software/resampling/context.rs @@ -20,6 +20,8 @@ pub struct Context { output: Definition, } +unsafe impl Send for Context {} + impl Context { #[doc(hidden)] pub unsafe fn as_ptr(&self) -> *const SwrContext {