summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/midi/midi.h
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate machine/limits.h in favor of new sys/limits.h.kan2003-04-291-1/+1
| | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Include <machine/limits.h> for definition of ULONG_MAX. Remove amike2002-03-251-1/+1
| | | | duplicate include.
* - Provide toggles to show debug messages. Set new sysctl variablestanimura2002-01-041-40/+60
| | | | | | | | | | | | | | hw.midi.debug and hw.midi.seq.debug to 1 to enable debug log. - Make debug messages human-frendly. - Implement /dev/music. - Add a timer engine required by /dev/music. - Fix nonblocking I/O. - Fix the numbering of midi and synth devices.
* - Do not uiomove with a mutex locked.tanimura2002-01-011-0/+1
| | | | | | | | | - Move from msleep/wakeup to condvar. - Return either zero or a positive errno value from a function. Return additional result via references. - Unify the typedef of callback functions.
* Avoid crash of minor numbers between /dev/midistat and /dev/dspr*.tanimura2001-11-031-1/+1
|
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inmarkm2001-05-011-0/+1
| | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations)
* - Do not touch the Giant.tanimura2001-03-141-13/+0
| | | | | | | | Requested by: jhb - Initialize a mutex prior to locking it. Spotted by: dcs
* - Mutexify midi(4). The driver runs under the giant lock by default.tanimura2001-02-261-9/+40
| | | | | | | | | | | | | | If you ever want to run midi(4) out of the giant lock, uncomment MIDI_OUTOFGIANT in midi.h. Confirmed to work for csamidi with WITNESS and INVARIANTS. - midi_info, midi_open and seq_info are now tailqs, allowing arbitrary numbers of devices to be configured. - Do not send an active sensing message to reset midi modules. - Clone /dev/sequencer*. /dev/sequencer0 and /dev/sequencer are generated upon initialization.
* Encapselate midi_info, nmidi and nsynth into midi.c.tanimura2001-02-181-5/+5
|
* Since the unit number of a midi/sequencer device is expressed in 4tanimura2000-09-181-1/+1
| | | | bits, we can configure only up to 16 units.
* Finally merge newmidi.tanimura2000-07-111-0/+294
(I had been busy for my own research activity until the last weekend) Supported devices: SB Midi Port (sbc + midi) SB OPL3 (sbc + midi) 16550 UART (midi, needs a trick in your hint) CS461x Midi Port (csa + midi) OSS-compatible sequencer (seq) Supported playing software: playmidi (We definitely need more) Notes: /dev/midistat now reports installed midi drivers. /dev/sndstat reports only pcm drivers. We need the new name(pcmstat?). EMU8000(SB AWE) does not sound yet but does get probed so that the OPL3 synth on an AWE card works. TODO: MSS/PCI bridge drivers Midi-tty interface to support general serial devices Modules
OpenPOWER on IntegriCloud