diff options
author | Adrian Knoth <aknoth@google.com> | 2016-02-22 21:01:23 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:13:01 -0500 |
commit | 6fa88273aa779be36dbe17f5d6c8566fcf22366b (patch) | |
tree | cfdf68331401ee0b7317ea23fadd671b644539f2 /libs/audiographer | |
parent | 53f1981effd149c13f452e8122bca1992792df83 (diff) |
Spelling correction patch from Debian
Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>
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))); } |