mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Compile warning fixes
Trivial compile warning fixes.
This commit is contained in:
parent
aa89f27de4
commit
999609f7e0
1 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ static void snd_pcm_rate_expand(const snd_pcm_channel_area_t *dst_areas,
|
||||||
const char *src;
|
const char *src;
|
||||||
char *dst;
|
char *dst;
|
||||||
int src_step, dst_step;
|
int src_step, dst_step;
|
||||||
int16_t old_sample;
|
int16_t old_sample = 0;
|
||||||
int16_t new_sample;
|
int16_t new_sample;
|
||||||
int old_weight, new_weight;
|
int old_weight, new_weight;
|
||||||
src = snd_pcm_channel_area_addr(src_area, src_offset);
|
src = snd_pcm_channel_area_addr(src_area, src_offset);
|
||||||
|
|
@ -175,7 +175,7 @@ static void snd_pcm_rate_expand_s16(const snd_pcm_channel_area_t *dst_areas,
|
||||||
const int16_t *src;
|
const int16_t *src;
|
||||||
int16_t *dst;
|
int16_t *dst;
|
||||||
int src_step, dst_step;
|
int src_step, dst_step;
|
||||||
int16_t old_sample;
|
int16_t old_sample = 0;
|
||||||
int16_t new_sample;
|
int16_t new_sample;
|
||||||
int old_weight, new_weight;
|
int old_weight, new_weight;
|
||||||
src = snd_pcm_channel_area_addr(src_area, src_offset);
|
src = snd_pcm_channel_area_addr(src_area, src_offset);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue