diff --git a/src/port_audio_back_end.rs b/src/port_audio_back_end.rs index d9530d3..67a8baa 100644 --- a/src/port_audio_back_end.rs +++ b/src/port_audio_back_end.rs @@ -95,7 +95,7 @@ impl StreamPA { stream.audio_in(&in_buffer, settings); }, Err(err) => { - fail!(format!("Portaudio error read : {}", pa::get_error_text(err))); + panic!(format!("Portaudio error read : {}", pa::get_error_text(err))); } } }