@@ -198,7 +198,7 @@ void SoxEffectsChain::addInputTensor(TensorSignal* signal) {
198198  priv->signal  = signal;
199199  priv->index  = 0 ;
200200  if  (sox_add_effect (sec_, e, &interm_sig_, &in_sig_) != SOX_SUCCESS) {
201-     throw  std::runtime_error (" Failed to add effect: input_tensor" 
201+     throw  std::runtime_error (" Internal Error:  Failed to add effect: input_tensor" 
202202  }
203203}
204204
@@ -207,7 +207,7 @@ void SoxEffectsChain::addOutputBuffer(
207207  SoxEffect e (sox_create_effect (get_tensor_output_handler ()));
208208  static_cast <TensorOutputPriv*>(e->priv )->buffer  = output_buffer;
209209  if  (sox_add_effect (sec_, e, &interm_sig_, &in_sig_) != SOX_SUCCESS) {
210-     throw  std::runtime_error (" Failed to add effect: output_tensor" 
210+     throw  std::runtime_error (" Internal Error:  Failed to add effect: output_tensor" 
211211  }
212212}
213213
@@ -219,7 +219,7 @@ void SoxEffectsChain::addInputFile(sox_format_t* sf) {
219219  sox_effect_options (e, 1 , opts);
220220  if  (sox_add_effect (sec_, e, &interm_sig_, &in_sig_) != SOX_SUCCESS) {
221221    std::ostringstream stream;
222-     stream << " Failed to add effect: input " filename ;
222+     stream << " Internal Error:  Failed to add effect: input " filename ;
223223    throw  std::runtime_error (stream.str ());
224224  }
225225}
@@ -230,7 +230,7 @@ void SoxEffectsChain::addOutputFile(sox_format_t* sf) {
230230  static_cast <FileOutputPriv*>(e->priv )->sf  = sf;
231231  if  (sox_add_effect (sec_, e, &interm_sig_, &out_sig_) != SOX_SUCCESS) {
232232    std::ostringstream stream;
233-     stream << " Failed to add effect: output " filename ;
233+     stream << " Internal Error:  Failed to add effect: output " filename ;
234234    throw  std::runtime_error (stream.str ());
235235  }
236236}
@@ -266,7 +266,7 @@ void SoxEffectsChain::addEffect(const std::vector<std::string> effect) {
266266
267267  if  (sox_add_effect (sec_, e, &interm_sig_, &in_sig_) != SOX_SUCCESS) {
268268    std::ostringstream stream;
269-     stream << " Failed to add effect: \" " 
269+     stream << " Internal Error:  Failed to add effect: \" " 
270270    for  (size_t  i = 1 ; i < num_args; ++i) {
271271      stream << "  " 
272272    }
@@ -403,7 +403,7 @@ void SoxEffectsChain::addInputFileObj(
403403  priv->buffer  = buffer;
404404  priv->buffer_size  = buffer_size;
405405  if  (sox_add_effect (sec_, e, &interm_sig_, &in_sig_) != SOX_SUCCESS) {
406-     throw  std::runtime_error (" Failed to add effect: input fileobj" 
406+     throw  std::runtime_error (" Internal Error:  Failed to add effect: input fileobj" 
407407  }
408408}
409409
0 commit comments