Up to [local] / src / lib / libsndio
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.14 / (download) - annotate - [select for diffs], Tue May 21 06:07:06 2024 UTC (2 weeks, 6 days ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)
remove prototypes with no matching function; ok ratchov@
Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 27 17:10:07 2022 UTC (17 months, 2 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 22 12:01:23 2015 UTC (8 years, 6 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
Don't remove the type component from the device string before passing it to the *_open() functions. It's more flexible this way. No behaviour change.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 16 16:48:52 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)
Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 13 22:38:22 2013 UTC (10 years, 6 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)
Prefix by '_' symbols that are not part of the API. ok deraadt, guenther
Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 27 12:08:25 2012 UTC (11 years, 7 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)
make midi code use non-blocking i/o as does audio code, in order to make both look similar
Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 15 08:05:22 2011 UTC (12 years, 6 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)
Add a "device number" component in sndio(7) device names, allowing a 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.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 17 21:09:11 2011 UTC (12 years, 7 months ago) by ratchov
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)
Remove midicat since aucat can now be used instead of midicat 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
Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 16 10:52:22 2011 UTC (13 years, 1 month ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.5: +1 -21 lines
Diff to previous 1.5 (colored)
Make aucat audio and midi backends share the same code to communicate 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.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 12 21:40:22 2011 UTC (13 years, 2 months ago) by ratchov
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)
Use mio_<backend>_ prefix for private midi-related functions and put them in files named mio_<backend>.c No behaviour change.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 21 16:48:03 2009 UTC (14 years, 9 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)
make aucat(1) expose a MIDI device to control server behaviour in realtime. For now only the playback volume of individual streams can be changed/monitored. To each stream is assigned a MIDI channel; the volume is changed/monitored using the standard controller number 7.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 26 13:33:30 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
use ``sizeof(string) - 1'' rather than ``strlen(string)'' on static strings. suggested by Thomas Pfaff
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 25 11:15:56 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)
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
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 25 08:44:26 2009 UTC (14 years, 10 months ago) by ratchov
Branch: MAIN
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@