Re: [PATCH v3 01/15] audio: replace open-coded buffer arithmetic

2022-03-01 Thread Akihiko Odaki
Reviewed-by: Akihiko Odaki On 2022/03/02 4:12, 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 --- audio/audio.c | 25 +++

[PATCH v3 01/15] audio: replace open-coded buffer arithmetic

2022-03-01 Thread Volker Rümelin
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 | 13 + audio/coreaudio.