Commit graph

398 commits

Author SHA1 Message Date
Jaroslav Kysela
81ce8153c4 Maarten de Boer <mdeboer@iua.upf.es> - JACK plugin patch
- now multichannel works (before only 1 channel worked). i tested stereo,
  and it works fine.

- i extended the configuration. the jack ports to connect to are now not
hard-coded anymore. instead, they will have to be specified in the
asound.conf, which allows to connect to any other jack client.

my asound.conf now looks like this:

pcm.jackplug {
        type plug
        slave { pcm "jack" }
}

pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}
2003-02-18 17:38:32 +00:00
Jaroslav Kysela
62546a3a32 More pcm_jack plugin changes 2003-02-12 21:57:49 +00:00
Jaroslav Kysela
7c5e5f5728 Added snd_pcm_sw_params_get_boundary() function.
Implemented refine function in dmix.
2003-02-05 21:26:14 +00:00
Jaroslav Kysela
fd52ee0085 added DMIX plugin 2003-02-04 14:55:19 +00:00
Jaroslav Kysela
7fcea07002 Added SND_CTL_READONLY 2002-12-04 14:36:39 +00:00
Jaroslav Kysela
3bccde0087 Removed clear() functions 2002-10-23 17:49:34 +00:00
Jaroslav Kysela
55a8da9341 Build system updates... 2002-10-22 20:20:03 +00:00
Jaroslav Kysela
6979732fa5 Changed sw_params to follow hw_params (unify functions) 2002-10-19 19:09:46 +00:00
Jaroslav Kysela
8205a95376 Replaced snd_pcm_avail() with snd_pcm_hwsync() 2002-10-12 11:49:53 +00:00
Jaroslav Kysela
dac0626b9f Added snd_pcm_hw_params_current() function and clear() functions for structures 2002-10-12 10:38:43 +00:00
Jaroslav Kysela
453dd9f698 Added snd_pcm_avail() function 2002-10-11 18:40:19 +00:00
Takashi Iwai
25e41cf1e8 fixed the build without versioned symbols.
the rc4 symbols are defined as __ prefix, which are aliased in
pcm.h as well as the versioned symbol binary.
2002-10-10 11:01:18 +00:00
Takashi Iwai
7b2f5fa7e1 added the alsa-kernel header files into local tree. 2002-10-09 13:44:10 +00:00
Takashi Iwai
796bd6bb18 removed unnecessary files from repository 2002-10-04 13:11:37 +00:00
Jaroslav Kysela
2a055201d9 New hw_params API uses weak alias in function declaration 2002-09-21 20:05:48 +00:00
Jaroslav Kysela
2f85e63e1a Fixed loop for inline functions defining new hw_params PCM API.
Unfortunately, resulting binary will contain references to all new
functions.
2002-09-21 17:55:45 +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
Jaroslav Kysela
b9343e0834 - unified snd_pcm_hw_params_* functions
- added backward compatibility for older non-compatible functions
- added --with-compat-rc3 to configure script to build library
  backwards compatible with 0.9.0rc3
- added symbol versioning like libc.so.6
  - ALSA_0.9      - alsa base
  - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*)
2002-09-17 12:33:05 +00:00
Jaroslav Kysela
677b0f60d6 Added snd_pcm_hw_params_get_min_align; changed get_format, get_subformat and get_access function to return not mixed error and return value 2002-09-09 19:47:50 +00:00
Takashi Iwai
c25879f9d9 added the handling of enum controls to simple mixer API.
the following functions are added:
int snd_mixer_selem_is_enumerated()
int snd_mixer_selem_get_enum_items()
int snd_mixer_selem_get_enum_item_name()
int snd_mixer_selem_get_enum_item()
int snd_mixer_selem_set_enum_item()
2002-09-09 14:24:56 +00:00
Jaroslav Kysela
63d708a344 Documentation update by Clement Ladish 2002-07-23 19:51:16 +00:00
Jaroslav Kysela
16b3bf447c Enhanced bitmasks in PCM - added support for more formats by Takashi and me 2002-06-26 02:04:11 +00:00
Takashi Iwai
5541c7a31e added packed attribute to have a consistent event data size on
both 32 and 64bit modes.
2002-06-21 12:24:34 +00:00
Takashi Iwai
b20beb55f7 support for x86-64. 2002-06-20 14:55:05 +00:00
Takashi Iwai
2c1041f4f1 removed invalid const qualifier. 2002-06-18 16:05:36 +00:00
Takashi Iwai
08f08b31cf fixed for mips. using always MIPS2. 2002-06-14 13:54:52 +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
ffda02123d Added INTEGER64 support by Paul Davis 2002-05-13 09:34:08 +00:00
Jaroslav Kysela
f74dc6ba74 Added snd_seq_port_subscribe_set_voices() 2002-05-12 07:23:32 +00:00
Jaroslav Kysela
712501af15 Added integer64 routines for control API 2002-05-08 07:56:39 +00:00
Jaroslav Kysela
74ce33d31f Removed config.h inclusion 2002-04-24 14:49:25 +00:00
Jaroslav Kysela
f23813b7e9 Added HAVE_SOFT_FLOAT (--with-softfloat) 2002-04-24 14:41:55 +00:00
Jaroslav Kysela
c941c548f8 Moved ring buffer pointers and added a mechanism to transfer them via shm 2002-04-23 15:51:29 +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
Takashi Iwai
708847237b reverted: size_t -> unsigned int
to sync with asequencer.h

removed ipc data - not implemented yet anyway..
2002-03-22 12:00:38 +00:00
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Jaroslav Kysela
ff5535a285 More fixes 2002-03-11 18:54:56 +00:00
Jaroslav Kysela
343bdfb582 Fixed typos 2002-03-11 18:48:41 +00:00
Jaroslav Kysela
2ca5ace9cb More documentation changes (rawmidi, timer) 2002-02-11 18:11:16 +00:00
Takashi Iwai
6ce9436b13 removed comma from last element of enums. 2002-02-05 11:36:20 +00:00
Jaroslav Kysela
9dd7c93a56 Fixed typo 2002-02-05 07:26:34 +00:00
Jaroslav Kysela
a92f910569 Changes against latest doxygen 2002-02-04 11:18:39 +00:00
Jaroslav Kysela
d57853a90a Added more informative comments to open mode flags 2002-01-28 18:11:45 +00:00
Takashi Iwai
f14063a251 Fixed compile on ARM. 2002-01-17 12:00:02 +00:00
Takashi Iwai
e7d27d989e Added missing declaration. 2002-01-17 11:15:52 +00:00
Jaroslav Kysela
6ead410b11 Added description of copy, linear, lfloat and mulaw PCM plugins 2002-01-13 11:11:42 +00:00
Jaroslav Kysela
8c1887d7af Moved some prototypes from src/pcm/pcm_plugin.h to include/pcm_plugin.h.
Merged src/pcm/atomic.h to include/iatomic.h.
Added initial description of hw and hooks plugins.
2002-01-12 10:52:42 +00:00
Jaroslav Kysela
b36ad628f7 Added comments to all defines to let doxygen happy 2002-01-11 13:10:58 +00:00
Takashi Iwai
734decb839 Added asoundef.h (instead of symlink).
partly modified & comments added for doxygen.
2002-01-11 11:13:20 +00:00