Author | SHA1 | Message | Date |
---|---|---|---|
espie | 96e8541cf3 |
hex constants unsigned, prevents some gcc warnings
okay ratchov@ |
12 years ago |
ratchov | c325968137 |
Include sys/types.h rather than sys/param.h to pull BYTE_ORDER macros.
suggested by deraadt@ |
12 years ago |
ratchov | 462aed9ace |
Make the "default" string a valid device name that has the same effect
as NULL has. This will (hopefully) simplify ports where the user passes the device string. |
12 years ago |
ratchov | 14615acf86 |
Use "unsigned int" rather than "unsigned". No object change.
suggested by deraadt@ |
12 years ago |
ratchov | f60a5c1cbc |
make sio_onvol(3) return a integer exposing whether a volume knob
is available for the stream. As we're at it, remove macros and functions that are neither used nor documented. |
14 years ago |
ratchov | d2b0781241 |
use const qualifier in libsndio, making it slightly more consistent
with open(2) and write(2) syscalls. from Thomas Pfaff, jakemsr is fine with it |
15 years ago |
ratchov | d4ddeb3ffb |
Currently midi capable programs can control midi hardware, but
cannot cooperate with other programs. The aim of this change is to allow any program to send midi data to other programs as they were midi hardware. For instance, this change should solve the longstanding problem of using a midi sequencer with software synthesizers. More precisely: - new midicat(1) utility (actually hardlink to aucat(1)). it creates software midi thru boxes, allowing programs to send midi messages to other programs as they were midi(4) hardware. - new midi api in libsndio (see mio_open(3)), to access midi(4) devices and midicat(1) sockets in a uniform way. - new device naming scheme <service>:<unit>[.<option>], common to audio and midi. - new sndio(7) manual describing concepts and naming The current audio device naming still works, but people having scripts or configuration files containing device names could read the sndio(7) man page and slowly start updating device names. discussed with jakemsr@ and deraadt@, help form jmc@ |
15 years ago |
ratchov | 1a0abbc256 |
move src/lib/libsndio/sndio.h into src/include where other include
files leave. requested by deraadt@, ok miod@ |
15 years ago |