Skip to content

Commit

Permalink
Audio: Volume: Fix some typos in comment texts
Browse files Browse the repository at this point in the history
Changed adsress -> address, also the comments are edited to avoid
to be mistaken as Doxygen.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu committed Oct 29, 2024
1 parent 256b68c commit 1050ffc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/audio/volume/volume_hifi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea
const int inc = sizeof(ae_f32x2);
int samples = channels_count * frames;

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -219,7 +219,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea
ae_f32x2 *out = (ae_f32x2 *)audio_stream_wrap(sink, (char *)audio_stream_get_wptr(sink)
+ bsink->size);

/** to ensure the address is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -361,7 +361,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu
const int inc = sizeof(ae_f32x2);
int samples = channels_count * frames;

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down
6 changes: 3 additions & 3 deletions src/audio/volume/volume_hifi4.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea
const int inc = sizeof(ae_f32x2);
int samples = channels_count * frames;

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -219,7 +219,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea
ae_f32x2 *out = (ae_f32x2 *)audio_stream_wrap(sink, (char *)audio_stream_get_wptr(sink)
+ bsink->size);

/** to ensure the address is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -360,7 +360,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu
const int inc = sizeof(ae_f32x2);
int samples = channels_count * frames;

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down
6 changes: 3 additions & 3 deletions src/audio/volume/volume_hifi4_with_peakvol.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void vol_s24_to_s24_s32(struct processing_module *mod, struct input_strea
AE_SETCBEGIN1(cd->peak_vol);
AE_SETCEND1(cd->peak_vol + channels_count * 2);

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -244,7 +244,7 @@ static void vol_s32_to_s24_s32(struct processing_module *mod, struct input_strea
AE_SETCBEGIN1(cd->peak_vol);
AE_SETCEND1(cd->peak_vol + channels_count * 2);

/** to ensure the address is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down Expand Up @@ -413,7 +413,7 @@ static void vol_s16_to_s16(struct processing_module *mod, struct input_stream_bu
AE_SETCBEGIN1(cd->peak_vol);
AE_SETCEND1(cd->peak_vol + channels_count * 4);

/** to ensure the adsress is 8-byte aligned and avoid risk of
/* to ensure the address is 8-byte aligned and avoid risk of
* error loading of volume gain while the cd->vol would be set
* as circular buffer
*/
Expand Down

0 comments on commit 1050ffc

Please sign in to comment.