- Package:
- meterbridge
- Source:
- meterbridge
- Description:
- Collection of Audio meters for the JACK audio server
- Submitter:
- Aaron Wyatt
- Date:
- 2025-05-21 18:45:01 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, After upgrading libsdl1.2debian to version 1.2.64-5 (which is now a compatability wrapper for SDL 2.0) the meter background is not properly redrawn between each render of the meter's needle for ppm and vu meters. Copying the entirety of the image to the working buffer by passing NULL as the source and destination rect to SDL_BlitSurface seems to fix the issue. (Even though on the surface of things it looks like the previously used buf_rect should be appropriately set.) Cheers, Aaron
Doing a little more testing, replacing SDL_BlitSurface with SDL_FillRect fills the appropriate area defined by buf_rect with a solid colour and wipes out all traces of the previous needle. So I suspect this is really a bug with how the compatibility library is wrapping SDL_BlitSurface. Maybe this is better fixed in libsdl1.2debian? (Although this patch does act as a workaround in the meantime...) Cheers, Aaron
tags -1 pending Thanks Erich Eickmeyer