Am 26.01.22 um 09:48 schrieb Gerd Hoffmann:
Hi,
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -266,6 +266,12 @@ static inline size_t audio_ring_dist(size_t dst, size_t
src, size_t len)
return (dst >= src) ? (dst - src) : (len - src + dst);
}
You haven't touched this function
On Dienstag, 25. Januar 2022 19:57:59 CET Volker Rümelin wrote:
> > On Samstag, 22. Januar 2022 13:57:31 CET Volker Rümelin wrote:
> >> Replace open-coded buffer arithmetic with the new function
> >> audio_ring_posb(). That's the position in backward direction
> >> of a given point at a given dista
Hi,
> > > --- a/audio/audio_int.h
> > > +++ b/audio/audio_int.h
> > > @@ -266,6 +266,12 @@ static inline size_t audio_ring_dist(size_t dst,
> > > size_t src, size_t len)
> > > return (dst >= src) ? (dst - src) : (len - src + dst);
> > > }
> > You haven't touched this function, but while
On Samstag, 22. Januar 2022 13:57:31 CET Volker Rümelin wrote:
Replace open-coded buffer arithmetic with the new function
audio_ring_posb(). That's the position in backward direction
of a given point at a given distance.
Signed-off-by: Volker Rümelin
---
First of all, getting rid of all those r
On Samstag, 22. Januar 2022 13:57:31 CET Volker Rümelin wrote:
> Replace open-coded buffer arithmetic with the new function
> audio_ring_posb(). That's the position in backward direction
> of a given point at a given distance.
>
> Signed-off-by: Volker Rümelin
> ---
First of all, getting rid of
Replace open-coded buffer arithmetic with the new function
audio_ring_posb(). That's the position in backward direction
of a given point at a given distance.
Signed-off-by: Volker Rümelin
---
audio/audio.c | 25 +++--
audio/audio_int.h | 6 ++
audio/coreaudio.c | 10