summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/sio_aucat.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use "unsigned int" rather than "unsigned". No object change.ratchov2012-04-111-11/+11
| | | | suggested by deraadt@
* Add a "device number" component in sndio(7) device names, allowing aratchov2011-11-151-4/+4
| | | | | | | | | | | | | | | | 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.
* Remove midicat since aucat can now be used instead of midicatratchov2011-10-171-2/+2
| | | | | | | | | with almost the same syntax (roughly an extra -M option). Thru boxes are created with aucat, and corresponding MIDI port names have the "aucat" prefix instead of "midithru". The old device name will still work some time for backward compatibility. ok deraadt
* don't forget to send the initial clock tickratchov2011-06-031-1/+5
|
* Add missing byter order conversions in message headers. Fixes the caseratchov2011-05-021-29/+35
| | | | | when the server and the client are not of the same endianness. Found by naddy.
* slightly cleanup by separating socket-specific code fromratchov2011-04-181-2/+2
| | | | protocol specific code. No behaviour change
* for unix domain socket addresses use AUCAT_PATH and MIDICAT_PATHratchov2011-04-161-2/+2
| | | | macros instead of hardcoded strings. No object change
* Since aucat supports any parameter combination sio_getcap() doesn'tratchov2011-04-161-15/+1
| | | | | need to query the server for supported parameters. So stop using the AMSG_GETCAP message, and remove it completely from the aucat protocol.
* Make aucat audio and midi backends share the same code to communicateratchov2011-04-161-382/+121
| | | | | | 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.
* Clean up function naming: use sio_<backend>_ prefix for privateratchov2011-04-081-0/+754
audio-related functions and put them in files named sio_<backend>.c No behaviour changes.