write!(f,"Output streams are already redirected to 3dslink")
write!(f,"output streams are already redirected to 3dslink")
}
}
Self::BufferTooShort(provided,wanted)=>write!(f,"The provided buffer's length is too short (length = {provided}) to hold the wanted data (size = {wanted})")
Self::BufferTooShort(provided,wanted)=>write!(f,"the provided buffer's length is too short (length = {provided}) to hold the wanted data (size = {wanted})")
Self::InvalidChannel(id)=>write!(f,"Audio Channel with ID {id} doesn't exist. Valid channels have an ID between 0 and 23."),
Self::InvalidChannel(id)=>write!(f,"audio Channel with ID {id} doesn't exist. Valid channels have an ID between 0 and 23"),
Self::ChannelAlreadyInUse(id)=>write!(f,"Audio Channel with ID {id} is already being used. Drop the other instance if you want to use it here."),
Self::ChannelAlreadyInUse(id)=>write!(f,"audio Channel with ID {id} is already being used. Drop the other instance if you want to use it here"),
Self::WaveBusy(id)=>write!(f,"The selected WaveInfo is busy playing on channel {id}."),
Self::WaveBusy(id)=>write!(f,"the selected WaveInfo is busy playing on channel {id}"),
Self::SampleCountOutOfBounds(samples_requested,max_samples)=>write!(f,"The sample count requested is too big. Requested amount was {samples_requested} while the maximum sample count is {max_samples}."),
Self::SampleCountOutOfBounds(samples_requested,max_samples)=>write!(f,"the sample count requested is too big (requested = {samples_requested}, maximum = {max_samples})"),