sound programming

Pieter de Goeje pieter at degoeje.nl
Tue Sep 18 08:43:46 UTC 2012


Op 18-9-2012 10:15, Wojciech Puchar schreef:
> where can i find up to day beginner howto of programming sound (C 
> language) in FreeBSD?
>
> particularly how to record/process/mix/play sound realtime - i mean 
> having low delays.

Check out 4front's OSS documentation
http://manuals.opensound.com/developer/

In particular (recording and playback with low latency):
http://manuals.opensound.com/developer/fulldup.c.htm

Barring implementation differences, this should all apply to FreeBSD.
To get really low delays you should probably adjust the hw.snd.latency 
sysctls.

Regards,
Pieter de Goeje



More information about the freebsd-hackers mailing list