Skip to content

Instantly share code, notes, and snippets.

View caprica's full-sized avatar
🇬🇧
Saros

Mark Lee caprica

🇬🇧
Saros
View GitHub Profile
@caprica
caprica / equalizer.c
Created January 12, 2015 17:11
How to use the audio equalizer in LibVLC
/**
* A simple program to test the audio equalizer API in LibVLC.
*
* An example build command:
*
* $gcc -std=c99 -I/home/linux/vlc/vlc/include -o equalizer equalizer.c `pkg-config --cflags --libs libvlc`
*
* You may also need to set PKG_CONFIG_PATH first, for example:
*
* $export PKG_CONFIG_PATH=/home/linux/vlc/install/lib/pkgconfig
@caprica
caprica / SwtBrowserCanvas.java
Created October 8, 2013 19:57
Embed an SWT Webkit Browser component inside a Swing JPanel, with non-crashing clean-up.
/*
* This class is made available under the Apache License, Version 2.0.
*
* See http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Author: Mark Lee
*
* (C)2013 Caprica Software (http://www.capricasoftware.co.uk)
*/