Skip to content

Instantly share code, notes, and snippets.

@derselbst
derselbst / fluid-android-compile.sh
Last active December 3, 2020 17:53
Script for cross compiling fluidsynth for Android
#!/bin/bash
# Android cross-compile environment setup script for Fluidsynth, Glib and dependencies
# Author : Tom Moebert
# Date : 2018-09-06
# License : CC0 1.0 Universal
# If you have questions or need support, contact our mailing list:
# https://lists.nongnu.org/mailman/listinfo/fluid-dev
set -ex
@derselbst
derselbst / fluid-android-prepare.sh
Last active December 3, 2020 17:53
Shell file to set up various environment variables to allow cross compilation for Android
#!/bin/bash
# Android cross-compile environment setup script for Glib
# Author : Zengwen Yuan
# Date : 2016-07-16
# License : Creative Commons Attribution-ShareAlike 4.0
# http://zwyuan.github.io/2016/07/17/cross-compile-glib-for-android/
#
# Modified by Tom Moebert to provide an Android cross compilation toolchain for fluidsynth 2.0
# Date: 2018-09-06
@derselbst
derselbst / sndfile-loop-play.c
Last active February 21, 2016 08:58
Looped Audio Playback
/*
** Copyright (C) derselbst (Tom M.)
**
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
**
** * Redistributions of source code must retain the above copyright