diff options
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/src/general/sr_converter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/audiographer/src/general/sr_converter.cc b/libs/audiographer/src/general/sr_converter.cc index 9b5fa801fe..74da2ae6a7 100644 --- a/libs/audiographer/src/general/sr_converter.cc +++ b/libs/audiographer/src/general/sr_converter.cc @@ -89,7 +89,7 @@ SampleRateConverter::allocate_buffers (framecnt_t max_frames) max_leftover_frames = 4 * max_frames; leftover_data = (float *) realloc (leftover_data, max_leftover_frames * sizeof (float)); if (throw_level (ThrowObject) && !leftover_data) { - throw Exception (*this, "A memory allocation error occured"); + throw Exception (*this, "A memory allocation error occurred"); } max_frames_in = max_frames; @@ -164,7 +164,7 @@ SampleRateConverter::process (ProcessContext<float> const & c) err = src_process (src_state, &src_data); if (throw_level (ThrowProcess) && err) { throw Exception (*this, str (format - ("An error occured during sample rate conversion: %1%") + ("An error occurred during sample rate conversion: %1%") % src_strerror (err))); } |