summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26call _sndio_parsenum() instead of duplicating the code in parsedev(); ok ratchov@miko1-3/+7
2015-10-02Validate that midi and audio device numbers are integers.ratchov1-1/+25
2013-11-13Prefix by '_' symbols that are not part of the API.ratchov1-7/+7
ok deraadt, guenther
2011-11-15Add a "device number" component in sndio(7) device names, allowing aratchov1-1/+15
single aucat instance to handle all audio and MIDI services. Since this partially breaks compatibility, this is a opportunitiy to fix few other design mistakes (eg ':' being used by inet6, type name vs api name confusion, etc..). This leads to the following names: type[@hostname][,unit]/devnum[.option] The device number is the minor device number for direct hardware access (ie the 'N' in /dev/audioN). For aucat, this is the occurence number of the -f (or -M) option. There's a compatibility hook to keep old names working if only one aucat server is running.
2011-04-16Make aucat audio and midi backends share the same code to communicateratchov1-0/+41
with the server. As we're at it use the same protocol for midi and audio. Now, both audio and midi code use the same SNDIO_DEBUG environment variable to turn on/off DPRINTF's.