On Wed, Jun 16, 2021 at 11:14:11PM +0900, Akihiko Odaki wrote:
> Signed-off-by: Akihiko Odaki <akihiko.od...@gmail.com>
> ---
>  audio/audio.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/audio/audio.c b/audio/audio.c
> index 534278edfed..6eba208cdba 100644
> --- a/audio/audio.c
> +++ b/audio/audio.c
> @@ -704,7 +704,7 @@ static size_t audio_pcm_sw_write(SWVoiceOut *sw, void 
> *buf, size_t size)
>  
>      if (live == hwsamples) {
>  #ifdef DEBUG_OUT
> -        dolog ("%s is full %d\n", sw->name, live);
> +        dolog ("%s is full %zu\n", sw->name, live);
>  #endif
>          return 0;
>      }
> @@ -994,7 +994,7 @@ static size_t audio_get_avail (SWVoiceIn *sw)
>      }
>  
>      ldebug (
> -        "%s: get_avail live %d ret %" PRId64 "\n",
> +        "%s: get_avail live %zu ret %" PRId64 "\n",
>          SW_NAME (sw),
>          live, (((int64_t) live << 32) / sw->ratio) * sw->info.bytes_per_frame
>          );
> @@ -1021,7 +1021,7 @@ static size_t audio_get_free(SWVoiceOut *sw)
>      dead = sw->hw->mix_buf->size - live;
>  
>  #ifdef DEBUG_OUT
> -    dolog ("%s: get_free live %d dead %d ret %" PRId64 "\n",
> +    dolog ("%s: get_free live %zu dead %zu ret %" PRId64 "\n",
>             SW_NAME (sw),
>             live, dead, (((int64_t) dead << 32) / sw->ratio) *
>             sw->info.bytes_per_frame);

Added to audio queue.

thanks,
  Gerd


Reply via email to