feat(ios,p0): iOS P0 platform, audio fixes, channel UX
This commit is contained in:
@@ -93,8 +93,7 @@ impl SdlOutput {
|
||||
output_gain: Arc<AtomicU32>,
|
||||
output_muted: Arc<AtomicBool>,
|
||||
) -> Result<Self, AudioError> {
|
||||
let sdl = sdl2::init()
|
||||
.map_err(|e| AudioError::Backend(format!("sdl init: {e}")))?;
|
||||
let sdl = sdl2::init().map_err(|e| AudioError::Backend(format!("sdl init: {e}")))?;
|
||||
let subsystem = sdl
|
||||
.audio()
|
||||
.map_err(|e| AudioError::Backend(format!("sdl audio subsystem: {e}")))?;
|
||||
|
||||
Reference in New Issue
Block a user