From 6fa88273aa779be36dbe17f5d6c8566fcf22366b Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Mon, 22 Feb 2016 21:01:23 +0100 Subject: Spelling correction patch from Debian Patch taken (and forward-ported to HEAD) from --- libs/audiographer/src/general/sr_converter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/audiographer') 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 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))); } -- cgit v1.2.3