Commit graph

139 commits

Author SHA1 Message Date
Takashi Iwai
70e4ec9d08 Allow build without libdl and libpthread
Allow building alsa-lib without libdl and libpthread.
Added new options to configure, --with-libdl and --with-pthread.
2007-03-22 00:48:18 +01:00
Takashi Iwai
c9610c024d Fix build of static library
- Add missing pcm_empty entry
- Return the array pointer instead of the first array member.
  Otherwise only the first entry is linked to the binary.
2006-10-27 16:08:21 +02:00
Jaroslav Kysela
03389a444b change iface argument for namehint function to const char *
remove snd_ctl_iface_conf_name function
2006-10-27 13:31:32 +02:00
Clemens Ladisch
123e2b7780 clarify SND_SEQ_PORT_TYPE_xxx documentation
Clarify the documentation for the SND_SEQ_PORT_TYPE_xxx flags, especially
for _SYNTH and *_SAMPLE where it was rather misleading.
2006-05-02 16:28:22 +02:00
Clemens Ladisch
c3ac7bdf87 add more sequencer port type information bits
Add four new information flags SNDRV_SEQ_PORT_TYPE_HARDWARE, _SOFTWARE,
_SYNTHESIZER, _PORT for sequencer ports.  This makes it easier for apps
like Rosegarden to make policy decisions based on the port type.
2006-05-02 16:08:36 +02:00
Takashi Iwai
9c69158f31 Fix missing snd_dlclose() in sequencer
Call snd_dlclose() with the dlopen handle in snd_seq_close().
2006-04-25 17:27:26 +02:00
Clemens Ladisch
09f598e57c allow changing of device directory path
Add configuration options to change the default device path from the
default /dev/snd.  This is useful for embedded systems that do not want
subdirectories in /dev.
2006-02-27 10:03:19 +00:00
Clemens Ladisch
3f00bc728b fix a typo
Fix a memory leak in an error path of snd_seq_hw_open().
2006-02-27 09:59:18 +00: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
Clemens Ladisch
45850439b3 Do not abort in snd_xxx_close() functions
Remove several memory leaks by not aborting prematurely from a
snd_xxx_close() function when some operation fails.
This can happen when a USB device was unplugged.
2006-02-27 09:54:57 +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
76f7af823b Fix compile warnings
Fix trivial compile warnings.
2005-12-16 18:43:49 +00:00
Takashi Iwai
2f71b8753b Fix type-punning
Fixed compile warnings on the latest gcc about type-punning.
Removed unnecessary casts.
2005-09-29 19:11:50 +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
Jaroslav Kysela
412fb54e0d Fedora 4 patch - gcc4 fixes 2005-05-06 14:09:17 +00:00
Clemens Ladisch
cf73143ce8 fix snd_seq_query_next_client documentation
Fix snd_seq_query_next_client's documentation -- no name matching is
actually done by ALSA.
2005-05-02 07:42:52 +00:00
Takashi Iwai
b0b8957c00 Fix the device-open check
Fixed the device-open check with --disable-aload.
2005-03-16 13:25:25 +00:00
Takashi Iwai
4ea51d8201 Add --disable-aload configure option
Added --disable-aload configure option to suppress probing of
/dev/aload* files for auto-loading.  These files often conflict with
udev mechanism.

Also, --with-resmgr is changed to --enable-resmgr.
2005-02-14 13:31:53 +00:00
Takashi Iwai
f9b9015245 Fix resmgr support
Call normal open() before trying with res_open_device().
snd_open_device() is defined to do this procedure.
2005-02-11 16:35:24 +00:00
Takashi Iwai
77c925a71f Add resmgr support
Added the support for resmgr.  A new configure option --with-resmgr is added
to enable the resmgr support.
2005-01-26 10:50:28 +00:00
Jaroslav Kysela
f2175f1384 Fixed thinkos in documentation (filter example) 2004-03-23 15:15:21 +00:00
Clemens Ladisch
16a15f56c4 fix doxygen errors (syntax errors and wrong references) 2004-03-02 17:13:49 +00:00
Takashi Iwai
01828771d9 fixed compile warnings regarding const. 2004-02-25 18:21:20 +00:00
Takashi Iwai
e1ae539931 added more documents.
removed the obsolete snd_seq_port_subscribe_set_voices().
2003-10-22 14:25:55 +00:00
Takashi Iwai
701d0614f1 more documents as introduction. 2003-10-20 14:04:53 +00:00
Takashi Iwai
093e07cdf8 fixed typos. 2003-08-27 13:54:55 +00:00
Takashi Iwai
118bf89508 added const modifier to some function arguments 2003-07-29 17:05:31 +00:00
Takashi Iwai
09161437ef - added auto-timestamp mode for the port.
snd_seq_port_info_get/set_timestamping()
    snd_seq_port_info_get/set_timestamp_real()
    snd_seq_port_info_get/set_timestamp_queue()
- increased the protocol version to 1.0.1.
2003-07-25 17:24:13 +00:00
Takashi Iwai
7716fd1e3d fixes by Art Haas <ahaas@airmail.net>:
rewritten with C99 struct initialization style.
2003-07-25 17:02:00 +00:00
Jaroslav Kysela
ea8feb43e2 Reverted back (N)RPN decoding - it is difficult to do this job here 2003-06-16 18:53:25 +00:00
Jaroslav Kysela
8f78ae3b84 Added proper handling of nonregistered and registered MIDI parameters 2003-06-16 11:00:30 +00:00
Jaroslav Kysela
073dff1ba1 Commented out FD_CLOEXEC fcntl() calls 2003-02-05 11:00:16 +00:00
Jaroslav Kysela
74859a4646 Fixed compilation problem 2003-02-04 13:44:11 +00:00
Jaroslav Kysela
a313072961 Added handling of FD_CLOEXEC flag 2003-02-04 13:35:59 +00:00
Jaroslav Kysela
e38dd10880 Fixed encoding of sysex sequencer event 2002-12-05 18:01:49 +00:00
Jaroslav Kysela
098932ce57 Added POLLNVAL to poll->events 2002-11-30 09:47:20 +00:00
Jaroslav Kysela
7f3942d827 Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API.
2002-09-19 16:12:13 +00:00
Takashi Iwai
fe58dd62eb fixed typo of snd_seq_poll_descriptors() in getting poll desc
for output only.
2002-07-15 14:08:32 +00:00
Takashi Iwai
03b2599397 don't check the error from running-mode ioctl (for backward
compatibility).
2002-06-26 08:53:07 +00:00
Takashi Iwai
84730c976f initialize the running mode (if exists). 2002-06-21 12:24:58 +00:00
Takashi Iwai
ea83756fbe - removed snd_seq_create_event from seq.h. it's deprecated.
the function itself still exists for compatibility
  but protected by DOC_HIDDEN.
- a bit more comments about snd_seq_free_event.

- since alsa.m4 used snd_seq_create_event for checking libasound,
  now it's replaced with snd_ctl_open.
2002-05-27 11:14:20 +00:00
Jaroslav Kysela
f74dc6ba74 Added snd_seq_port_subscribe_set_voices() 2002-05-12 07:23:32 +00:00
Jaroslav Kysela
8fa8c25f0b Fixed sysex event encoding 2002-05-11 06:28:55 +00:00
Jaroslav Kysela
f063381430 Added snd_midi_event_no_status() 2002-04-19 17:34:57 +00:00
Jaroslav Kysela
fb07cd28e5 Removed IPC code from sequencer code 2002-04-17 08:50:56 +00:00
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Jaroslav Kysela
45dfa6ee1b Fixed initialization of snd_midi_event_t structure seq_midi_event_t 2002-03-04 09:39:46 +00:00
Jaroslav Kysela
2ca5ace9cb More documentation changes (rawmidi, timer) 2002-02-11 18:11:16 +00:00
Jaroslav Kysela
a92f910569 Changes against latest doxygen 2002-02-04 11:18:39 +00:00
Jaroslav Kysela
3e3df2d32b Updated GNU GPL license (address).
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00