pub fn remove_sound(&mut self, id: impl Into<SoundId>) -> Result<(), RemoveSoundError> {
		let id = id.into();
		self.active_ids.remove_sound_id(id)?;
		self.command_producer
			.push(ResourceCommand::RemoveSound(id).into())?;
		Ok(())
	}
/// Removes a sound from the audio thread.
Removes a sound from the audio thread.
Removes a sound from the audio thread .
pub fn remove_sound(&mut self, id: impl Into<SoundId>) -> Result<(), RemoveSoundError> {
		let id = id.into();
		self.active_ids.remove_sound_id(id)?;
		self.command_producer
			.push(ResourceCommand::RemoveSound(id).into())?;
		Ok(())
	}
pub fn remove_sound ( & mut self , id : impl Into < SoundId > ) -> Result < ( ) , RemoveSoundError > { let id = id . into ( ) ; self . active_ids . remove_sound_id ( id ) ? ; self . command_producer . push ( ResourceCommand :: RemoveSound ( id ) . into ( ) ) ? ; Ok ( ( ) ) }
Removes a sound from the audio thread.
Removes a sound from the audio thread .
&mut self
id
impl Into<SoundId>
&mut self
id
impl Into<SoundId>