Skip to content

Instantly share code, notes, and snippets.

@fronx
Created November 24, 2013 13:38
Show Gist options
  • Save fronx/7627371 to your computer and use it in GitHub Desktop.
Save fronx/7627371 to your computer and use it in GitHub Desktop.
if (reader == NULL) {
for (i=0; i < n_frames; i++) {
*writer++ = SAMPLE_SILENCE; } }
else {
for (i=0; i < n_frames; i++) {
*writer++ = *reader++; } }
// HAHAHA
@sixohsix
Copy link

You are a menace! You must be stopped!

@marijnh
Copy link

marijnh commented Nov 24, 2013

Nice. Only problem I can see is that it's a bit of a pain to edit -- nothing a good emacs mode won't solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment