Skip to content

Instantly share code, notes, and snippets.

@andrewrk
andrewrk / gist:7b7207f9c8efefbdbcbd
Created August 7, 2015 22:50
one reason to use libsoundio over PortAudio
andy@nixos:~/Downloads/portaudio/trunk/src$ grep -RI '\bTODO\|FIXME\|XXX\|FEEDBACK\b'
common/pa_cpuload.c: /** FIXME @todo these coefficients shouldn't be hardwired see: http://www.portaudio.com/trac/ticket/113 */
common/pa_util.h:/** Allocate size bytes, guaranteed to be aligned to a FIXME byte boundary */
common/pa_converters.c: FIXME: should write an assert which checks that all of the
common/pa_converters.c: float samp = *src * const_1_div_32768_; /* FIXME: i'm concerned about this being asymetrical with float->int16 -rb */
SConscript: # TODO: It looks like the prefix for soundcard.h depends on the platform
os/unix/pa_unix_util.c: /* XXX: Try sleeping the remaining time (contained in rem) if interrupted by a signal? */
os/unix/pa_unix_util.c: pthread_cancel( threading->callbackThread ); /* XXX: Safe to call this if the thread has exited on its own? */
os/unix/pa_unix_util.c: /* TODO: Make join time out */
os/unix/pa_unix_util.c: /* XXX: Safe to call th