forked from mirrors/gstreamer-rs
audio: Cast fewer points to *mut pointers in pack/unpack func bindings
This commit is contained in:
parent
1c1533d076
commit
0147f03344
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ impl AudioFormatInfo {
|
||||||
self.0,
|
self.0,
|
||||||
flags.to_glib(),
|
flags.to_glib(),
|
||||||
dest.as_mut_ptr() as *mut _,
|
dest.as_mut_ptr() as *mut _,
|
||||||
src.as_ptr() as *mut _,
|
src.as_ptr() as *const _,
|
||||||
nsamples as i32,
|
nsamples as i32,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,7 @@ impl AudioFormatInfo {
|
||||||
(self.0.pack_func.as_ref().unwrap())(
|
(self.0.pack_func.as_ref().unwrap())(
|
||||||
self.0,
|
self.0,
|
||||||
flags.to_glib(),
|
flags.to_glib(),
|
||||||
src.as_ptr() as *mut _,
|
src.as_ptr() as *const _,
|
||||||
dest.as_mut_ptr() as *mut _,
|
dest.as_mut_ptr() as *mut _,
|
||||||
nsamples as i32,
|
nsamples as i32,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue