Skip to content

Commit 22bd06e

Browse files
uniontech-lilinjieevpobr
authored andcommitted
fix typo
Signed-off-by: lilinjie <[email protected]>
1 parent 215c75e commit 22bd06e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Diff for: ChangeLog

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@
749749

750750
* src/common.h
751751
Add fields saved_frames and saved_data to SF_PRIVATE struct for storing
752-
data between sucessive calls to src_callback_read().
752+
data between successive calls to src_callback_read().
753753
Also rearange the fields of SF_PRIVATE.
754754

755755
2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>

Diff for: docs/api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ libsamplerate, you need to add
1515
to the top of any function that call any of the following functions. You will
1616
also need to link you binary with the libsamplerate library.
1717

18-
The API allows three methods for accessing the capabilies of the library:
18+
The API allows three methods for accessing the capabilities of the library:
1919

2020
- A [simple interface](api_simple.md) which can sample rate convert a single
2121
block of samples (one or more channels) in one go. The simple API is less
@@ -39,7 +39,7 @@ The parts of the API which are common to all three interfaces are:
3939
- The [SRC_DATA](api_misc.md#src_data) struct.
4040

4141
All three versions of the API are restricted to operating on buffers of ISO C
42-
Standard **float** data. However, there are two [auxillary functions](api_misc.md#auxillary-functions)
42+
Standard **float** data. However, there are two [auxiliary functions](api_misc.md#auxiliary-functions)
4343
for converting arrays of float data to and from short data.
4444

4545
**Note:** The **tests/** and **examples/** directories of the source code

Diff for: docs/api_misc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ converter to inform the caller of the number of frames consumed from the
127127
**data_in** array and the number of frames generated in the **data_out** array
128128
respectively. These values are for the current call to **src_process** only.
129129

130-
## Auxillary Functions
130+
## Auxiliary Functions
131131

132-
There are four auxillary functions for converting arrays of float data to and
132+
There are four auxiliary functions for converting arrays of float data to and
133133
from short or int data. These functions are defined as:
134134

135135
```c

Diff for: tests/reset_test.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ process_reset_test (int converter)
9999
exit (1) ;
100100
} ;
101101

102-
/* Finally make sure that the output data is zero ie reset was sucessful. */
102+
/* Finally make sure that the output data is zero ie reset was successful. */
103103
for (k = 0 ; k < BUFFER_LEN / 2 ; k++)
104104
if (output [k] != 0.0)
105105
{ printf ("\n\nLine %d : output [%d] should be 0.0, is %f.\n", __LINE__, k, output [k]) ;
@@ -216,7 +216,7 @@ callback_reset_test (int converter)
216216
exit (1) ;
217217
} ;
218218

219-
/* Finally make sure that the output data is zero ie reset was sucessful. */
219+
/* Finally make sure that the output data is zero ie reset was successful. */
220220
for (k = 0 ; k < BUFFER_LEN / 2 ; k++)
221221
if (output [k] != 0.0)
222222
{ printf ("\n\nLine %d : output [%d] should be 0.0, is %f.\n\n", __LINE__, k, output [k]) ;

0 commit comments

Comments
 (0)