andrewrk/libsoundio
View on GitHub ↗ ★ 2,110 C
C library for cross-platform real-time audio input and output
7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2015-09-04 · latest 2022-10-17
20082026
-
…I would recommend pointer and length arguments rather than null terminated pointers, like this: https://github.com/andrewrk/libsoundio/blob/1.1.0/soundio/so... > That being said, I want to repeat what I said earlier about null terminated…
comment by cyber_kinetist · 2022-10-17 · in Learn enough C to survive -
…Or https://python-sounddevice.readthedocs.io/en/0.4.4/ if you prefer Python. Comparisons: - https://github.com/andrewrk/libsoundio/wiki/libsoundio-vs-Po... - https://github.com/andrewrk/libsoundio/wiki/libsoundio-vs-JU... -…
comment by minhmeoke · 2022-08-10 · in Ask HN: Cross platform method for accessing system audio output? -
…a defensive coding problem. https://gist.github.com/andrewrk/182ace5dee6c4025d8c4b0ca22c... https://github.com/andrewrk/libsoundio/blob/fc96baf8130b52ba... I've written that code before, and I know better (but then, all the world's an x86…
comment by mcguire · 2018-01-25 · in Unsafe Zig Is Safer Than Unsafe Rust -
Here's another implementation that works on Windows too: https://github.com/andrewrk/libsoundio/blob/master/src/ring_...
comment by AndyKelley · 2016-12-14 · in I've been writing ring buffers wrong all these years -
…on Linux, Windows, and MacOS. http://libsound.io/ Interesting bits of the implementation are here: https://github.com/andrewrk/libsoundio/blob/1fe64770bde0a4fb...
comment by AndyKelley · 2016-02-18 · in The Magic Ring Buffer (2012) -
Here's an alternate method of C exception handling: https://github.com/andrewrk/libsoundio/blob/4ce3429bdd9b08a0... It does not use macros or goto and I find that it makes the code easy to reason locally about. In summary: struct…
comment by AndyKelley · 2015-09-14 · in System XVI: A replacement for systemd -
…is written in PortAudio's pros : « Supports older versions of Windows than Windows 7. » [1] [1] https://github.com/andrewrk/libsoundio/wiki/libsoundio-vs-Po...
comment by robhack · 2015-09-04 · in Show HN: Libsoundio 1.0.0 – cross-platform audio input and output