Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ if [ "$OS" = "Darwin" ]; then
echo " installed + re-sealed: $BUNDLE_PLUGINS/$PLUGIN_DYLIB"
echo " (VLC.app is now ad-hoc signed; a future VLC reinstall restores the"
echo " original signature — just re-run ./install.sh afterward.)"

# Pre-warm: re-signing makes macOS re-verify the app and VLC rescan its plugins
# on the next launch, which can show up as a spinning beachball. Do it now with a
# headless run that loads + code-signature-checks the app and rebuilds the plugin
# scan, then quits cleanly on its own (~a few seconds) -- no window, no lingering
# instance to hog the audio device. Skipped if VLC is already running.
if ! pgrep -f "MacOS/VLC" >/dev/null 2>&1; then
echo " pre-warming (signature check + plugin scan) so first launch is snappy..."
"$VLC_APP/Contents/MacOS/VLC" -I dummy --quiet vlc://quit >/dev/null 2>&1 || true
fi
echo " NOTE: the very first launch after install may still spin for a couple"
echo " seconds while macOS finishes verifying the re-signed app. Normal."
else
echo " WARNING: $VLC_APP not found — skipping bundle install."
echo " Set VLC_APP=/path/to/VLC.app and re-run if VLC lives elsewhere."
Expand Down
10 changes: 8 additions & 2 deletions waveform.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "dix_pitch.h" /* pure pitch/chroma/key DSP (unit-tested standalone) */
#include "dix_lufs.h" /* ITU-R BS.1770 loudness (unit-tested standalone) */

#define DIX_VERSION "3.5.3"
#define DIX_VERSION "3.5.4"
#define DIX_W 1280
#define DIX_H 720
#define DIX_MAX_FFT 8192
Expand Down Expand Up @@ -387,8 +387,14 @@ static uint8_t glyph_row( char c, int row )
return (uint8_t[]){ 0x0a, 0x1f, 0x0a, 0x0a, 0x1f, 0x0a, 0x00 }[row];
case ':':
return ( row == 2 || row == 5 ) ? 0x04 : 0;
case '/':
case '/': /* forward slash: bottom-left -> top-right */
return (uint8_t)( 0x01 << ( row > 4 ? 4 : row ) );
case '\\': /* backslash: top-left -> bottom-right */
return (uint8_t)( 0x01 << ( 6 - row > 4 ? 4 : ( 6 - row < 0 ? 0 : 6 - row ) ) );
case '(':
return (uint8_t[]){ 0x02, 0x04, 0x08, 0x08, 0x08, 0x04, 0x02 }[row];
case ')':
return (uint8_t[]){ 0x08, 0x04, 0x02, 0x02, 0x02, 0x04, 0x08 }[row];
case '%':
return (uint8_t[]){ 0x19, 0x1a, 0x02, 0x04, 0x08, 0x0b, 0x13 }[row];
default:
Expand Down
Loading