Hi Gerd, On 5/5/20 3:25 PM, Philippe Mathieu-Daudé wrote: > Cleaning old branches, salvaging what seems worthwhile... > This series is from the time I wanted cleaner buffer handling > to avoid abuses, started with chardev/ but got lost with reviews. > audio/ is smaller, so easier. > > - Convert various prototypes to use const buffers > - Expose 'audio/audio.h' via public include directory.
You didn't commented on this series. We might use a LPVOID in dsound_get_buffer_in() as suggested by Volker but I don't like it much. What do you think otherwise? > > Philippe Mathieu-Daudé (7): > audio: Let audio_sample_to_uint64() use const samples argument > audio: Let capture_callback handler use const buffer argument > audio: Move advance() helper to 'audio_int.h' > audio: Split advance() helper as in() and out() > audio: Let HWVoice write() handlers take a const buffer > audio: Let AUD_write() use a const buffer argument > audio: Expose 'audio/audio.h' under the include/ directory
