Commit graph

420 commits

Author SHA1 Message Date
Jaroslav Kysela
4771213631 Renamed simple_* to ordinary_* (name clash for simple mixer) 2003-06-22 19:02:19 +00:00
Jaroslav Kysela
7c72da4ae5 Added simple_mixer and simple_pcm subdirs with some 'empty' code 2003-06-22 18:09:03 +00:00
Jaroslav Kysela
72e6c9c3c0 NOCARE -> IGNORE (thanks Abramo) 2003-06-22 14:46:15 +00:00
Jaroslav Kysela
cff8e26fb7 Added snds_pcm_param_xrun() 2003-06-22 12:44:41 +00:00
Jaroslav Kysela
501342abbb Initial version of simple pcm + mixer interfaces 2003-06-21 08:55:40 +00:00
Jaroslav Kysela
19e3baa6e1 arm section update 2003-06-14 08:11:24 +00:00
Jaroslav Kysela
573f85dc1d - added shm area manager code
- fixed parsing of period_size/buffer_size options for dmix, dsnoop and
  dshare plugins
2003-04-23 12:41:55 +00:00
Jaroslav Kysela
368918b453 Added snd_ctl_elem_info_get_dimensions() and snd_ctl_elem_info_get_dimension() functions. 2003-04-01 13:58:09 +00:00
Jaroslav Kysela
bc28eccdcd Extracted common code from dmix plugin.
Initial framework for dsnoop and dshare plugins.
2003-03-18 20:37:42 +00:00
Jaroslav Kysela
2e7fe2865a Moved send_fd/receive_fd routines to src/socket.c . 2003-03-18 18:00:05 +00:00
Jaroslav Kysela
fea03e9eba Fixed compilation --with-versioned=no 2003-03-11 18:51:32 +00:00
Jaroslav Kysela
157107491c Added snd_pcm_type_name()
Fixed rate conversion plugin (SIGSEGV) - rounding problem
2003-03-08 16:35:18 +00:00
Jaroslav Kysela
9c084c4ba6 Updated to new timer API 2003-03-04 20:01:06 +00:00
Jaroslav Kysela
5f5243ef79 Sync 2003-03-02 19:28:48 +00:00
Jaroslav Kysela
1ac62945f8 Added htstamp functions 2003-02-28 20:29:23 +00:00
Jaroslav Kysela
cf9e518d51 Timestamp update (struct timeval -> struct timespec). 2003-02-28 17:23:28 +00:00
Jaroslav Kysela
7b09000813 Removed snd_pcm_hwdiff() function 2003-02-22 17:53:01 +00:00
Jaroslav Kysela
2dab1dfbc3 Removed snd_pcm_hwptr().
Added snd_pcm_hwdiff() and snd_pcm_forward().
Returned the behaviour for snd_pcm_mmap_begin().
2003-02-22 17:19:02 +00:00
Jaroslav Kysela
fbd99fdec0 Added snd_pcm_hwptr() and enhanced snd_pcm_mmap_begin() for no xrun mode. 2003-02-22 10:19:53 +00:00
Jaroslav Kysela
8d2eecb547 Renamed ATOMIC->ATOMIC_SMP_LOCK 2003-02-20 19:24:01 +00:00
Takashi Iwai
a613cacd4d added the reserved and driver-data field for dsp loader structs. 2003-02-20 14:53:20 +00:00
Takashi Iwai
74f0165c97 - added the hwdep DSP loader API functions.
- updated the internal asound.h.
2003-02-19 15:39:35 +00:00
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