Diego E. 'Flameeyes' Pettenò
2289326673
Make seq, rawmidi and control operation structures static const.
...
Since they are never changed it does not make sense to have them in
the writeable .data section, just make sure to add const to the ops
member in the structure definitions so that there are no extra
warnings added.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
2008-11-21 20:28:38 +01:00
Clemens Ladisch
252fd43461
rawmidi: do not abort when seeing the hint node
...
Add the hint node to the nodes that are allowed in rawmidi definitions,
and factor out the detection of such nodes into a common function.
2006-10-27 10:54:08 +02:00
Clemens Ladisch
4433248bf3
remove superfluous free() checks
...
free() correctly handles NULL pointers, so we can omit explicit checks
for that condition.
2006-02-27 09:58:32 +00:00
Jaroslav Kysela
9e86ea6902
alsa-lib virtual rawmidi device: fixed typo (NONBLOCK mode)
...
See bug#1821 for details.
2006-02-05 15:36:21 +00:00
Takashi Iwai
eccc92a34d
Fix infinite parse of recursive definitions
...
Fixed the infinite parse (and eventually segfault) of recursive definitions.
Also fixed the parse of a string slave PCM of direct plugins.
2006-01-30 14:41:51 +00:00
Takashi Iwai
7a89e3bbca
Fix compile warnings with gcc-4
...
Fixed compile warnings with gcc-4 about pointer signedness.
2005-06-28 10:24:44 +00:00
Takashi Iwai
087184b0f9
Fix doxygen documents
...
Fix the warnings of doxygen parsing.
Add some missing documentation.
2005-05-24 14:14:28 +00:00
Clemens Ladisch
e3f57ccc90
rawmidi_virt: fix hang on invalid MIDI data
...
When writing invalid MIDI data to a virtual rawmidi port,
snd_rawmidi_virtual_write() would forget to remove that data
from the input buffer before continuing, resulting in an
infinite loop.
2005-03-10 10:45:19 +00:00
Takashi Iwai
237f7f46f0
- fixed the name from "virt" to "virtual".
...
- fixed compilation error.
2003-08-05 13:54:38 +00:00
Takashi Iwai
e332fc0b9b
added virtual rawmidi plugin.
2003-07-29 17:15:34 +00:00