Protyposis

Travelling through time & space in real-time...

SRC.NET: A Managed Wrapper for LibSampleRate

I am currently trying to solve licensing issues on an unreleased project I am working on and want to get rid of all dependencies under the GPL, one of which is the libsamplerate resampling library, which I have been using for a few years through a managed .NET wrapper. It is just a small wrapper library but because it proved to be working pretty stable and I also could not find any other nice wrapper as of today, I moved it to a separate project called SRC.NET and published it on GitHub. SRC.NET has been written for stream processing and comes with both x86 and x64 precompiled libsamplerate Windows libraries. Usage is very simple, a small demo application is included in the repository.

SRC.NET Managed LibSampleRate Wrapper on GitHub

Compiling SQLite as DLL with MSVC

Compiling DLLs on your own can get really messy and take a lot of time (e.g. FFmpeg) if you are not really into this stuff. SQLite is one of the positive examples which make it really easy: download the amalgamation source, and follow the DLL compilation guide. The nicest thing for Windows users is that you can just use the Visual Studio compiler to compile x86 and x64 versions without any configuration or dependencies and just a single short command, and don’t need to fool around with Cygwin/MinGW/MSYS/MinGW-W64/Win-builds etc.

Unfortunately there’s a small detail missing in the SQLite guide, and they don’t seem to have an easy way of contacting them except for an antiquated mailing list. So I’m posting here where nobody is ever going to find it:

Fixing a Leaking or Stiff Vitamix/Kuchef/Omniblend/etc. Blender Blade Assembly

Buying a cloned device for a small fraction of the original’s price is often not a good idea, unless you’re handy and like to tinker. One example are cheap Vitamix blender clones, made out of the cheapest parts the manufacturers can find. This guide shows you how to replace the ball bearings in a blade assembly of such a clone (probably works for a real Vitamix too), if your jar is leaking brown oil or the blades became stiff. This saves you from buying a complete blade assembly unit and upgrades the drive train to better durability and smoother operation.

Replacing the Nexus 5 Power Button

About one week after the 1-year warranty of my Nexus 5 expired, its power button began to fail out of the blue, showing the following symptoms:

  • The phone would often show the power menu, or lock itself and turn the screen of
  • It often shut itself down, and got stuck in a bootloop, making it even impossible to access recovery

This seems like a frequent problem and results from a defect power button signaling its pressed state, without being pressed or stuck. Hard tapping on the phone around the power button can temporarily help to get it back to its normal “unpressed” state, which makes it usable again and interrupts bootloops. Still, this gets more and more annoying over time.

Decrypting Canon Camcorder Firmware Updates

Today, if you are a serious amateur who wants to record high quality videos on a budget, you can get a nice DSLR for less than 1000€ which comes with every feature you’ll ever need. If not, you can easily extend the functionality with software add-ons like Magic Lantern. Back in 2008 this wasn’t the case an I had a Canon HF10 camcorder, one of the first to record Full-HD AVCHD video to an SD card. It had a reasonable performance for its price, but sooner than later I was missing some important video features like zebra patterns and manual gain.

Local Audio Broadcast released

Local Audio Broadcast is a simple application that captures the local audio playback in Windows and streams it to a UPnP renderer on the network.

I have originally written it to stream Spotify music playback from my desktop to my HTPC running XBMC, therefore it can also embed the currently playing track title from Spotify into the stream. It is not limited to Spotify though, but can stream any audio playback.

ITEC MediaPlayer Library for Android released

The ITEC MediaPlayer library is a lightweight VideoView/MediaPlayer replacement for Android’s default components, enhancing it with exact frame seek, playback speed adjustment, GLES shader effects, picture zoom/pan by gestures, and DASH support. The source code and a more detailed description is now available on GitHub, its accompanying demo showcase app on the Google Play Store.

RIP Studentenportal

Die App AAU Studentenportal wurde heute vollständig eingestellt. Ein offizieller Nachfolger ist in Arbeit.

Studentenportal Abschaltung: FehlermeldungFast genau 3 Jahre nach dem Start hat nun das endgültig letzte Stündlein für das AAU Studentenportal geschlagen. Obwohl die offizielle Abschaltung eigentlich schon im August 2013 mit der Herausnahme der App aus dem Google Play Store erfolgte, ist sie stillschweigend weiter gelaufen und wurde fleißig über Seitenkanäle verbreitet. Das ungebrochene Interesse von Studenten veranlasste mich einen erneuten Versuch der Zusammenarbeit mit dem ZID zu starten und mehrere Konzepte für einen Relaunch zu erarbeiten, durch diverse Unstimmigkeiten und unterschiedliche Interessen war es aber leider nicht möglich, eine sinnvolle Kooperationsbasis für Betrieb, Wartung und Weiterentwicklung zu finden. Die App wurde nun auf meine Initiative mit dem heutigen 1. August vom Zugriff auf die Uni-Server ausgesperrt und damit stillgelegt. Ab diesem Tag erscheint beim Starten der App eine Fehlermeldung im Anmeldebildschirm (“Keine Authorisierung vorhanden”, bzw. “Authorization missing”). Ich bedanke mich bei allen Usern der App und empfehle euch nun die Deinstallation.