aboutsummaryrefslogtreecommitdiffstats
path: root/tests/audiogen.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-04 21:18:13 +0200
committerDiego Biurrun <diego@biurrun.de>2013-07-25 19:43:32 +0200
commit03039f4c8cdb4f8e5dc69905f3d73e2a531157e8 (patch)
tree3ade6239dadc080b6d9c0d2dfb234fcf14ea48cc /tests/audiogen.c
parent93a51984a27f3ba84d4e6f13d0c704ee9891603e (diff)
downloadffmpeg-03039f4c8cdb4f8e5dc69905f3d73e2a531157e8.tar.gz
miscellaneous typo fixes
Diffstat (limited to 'tests/audiogen.c')
-rw-r--r--tests/audiogen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/audiogen.c b/tests/audiogen.c
index 4fa465638a..ce6f7854ea 100644
--- a/tests/audiogen.c
+++ b/tests/audiogen.c
@@ -48,7 +48,7 @@ static unsigned int myrnd(unsigned int *seed_ptr, int n)
#define COS_TABLE_BITS 7
-/* integer cosinus */
+/* integer cosine */
static const unsigned short cos_table[(1 << COS_TABLE_BITS) + 2] = {
0x8000, 0x7ffe, 0x7ff6, 0x7fea, 0x7fd9, 0x7fc2, 0x7fa7, 0x7f87,
0x7f62, 0x7f38, 0x7f0a, 0x7ed6, 0x7e9d, 0x7e60, 0x7e1e, 0x7dd6,
@@ -180,7 +180,7 @@ int main(int argc, char **argv)
if ((ext = strrchr(argv[1], '.')) != NULL && !strcmp(ext, ".wav"))
put_wav_header(sample_rate, nb_channels, 6 * sample_rate);
- /* 1 second of single freq sinus at 1000 Hz */
+ /* 1 second of single freq sine at 1000 Hz */
a = 0;
for (i = 0; i < 1 * sample_rate; i++) {
v = (int_cos(a) * 10000) >> FRAC_BITS;