mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Use explicitly sized integers for the sample rates
This commit is contained in:
+2
-2
@@ -423,8 +423,8 @@ impl Drop for AudioCVT {
|
||||
}
|
||||
|
||||
impl AudioCVT {
|
||||
pub fn new(src_format: ll::SDL_AudioFormat, src_channels: u8, src_rate: int,
|
||||
dst_format: ll::SDL_AudioFormat, dst_channels: u8, dst_rate: int) -> SdlResult<AudioCVT> {
|
||||
pub fn new(src_format: ll::SDL_AudioFormat, src_channels: u8, src_rate: i32,
|
||||
dst_format: ll::SDL_AudioFormat, dst_channels: u8, dst_rate: i32) -> SdlResult<AudioCVT> {
|
||||
|
||||
use std::mem;
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user