Commit graph

508 commits

Author SHA1 Message Date
Jaroslav Kysela
157cb698ac mixer - fix typo and memory leak 2005-06-03 14:04:53 +00:00
Jaroslav Kysela
597b4d0942 big simple mixer update
- exported all necessary functions to create a mixer module outside alsa-lib
- separated simple mixer API from the simple mixer implementation
  (using callbacks as usuall)
  - src/mixer/simple.c is the core
  - src/mixer/simple_none.c is the current (no-abstraction) implementation
    based on control names; note that this module does not depend on
    internal ALSA structures now
  - src/mixer/simple_abst.c is the ongoing abstraction which will use
    external dynamic modules; src/conf/smixer.conf will describe which
    modules will be used depending on the components from the driver
2005-06-03 13:33:04 +00:00
Takashi Iwai
bf5d2bfe47 Remove obsolete *_ordinary.h files
Remove obsolete *_ordinary.h files.
2005-05-30 16:21:25 +00:00
Jaroslav Kysela
41398ceb9c removed ordinary stuff 2005-05-30 11:57:26 +00:00
Jaroslav Kysela
d7ef50f5ee name clash (WINE, icc), interface -> iface renamed
Fix ALSA bug #1139.
2005-05-29 14:26:20 +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
Takashi Iwai
7651690858 Fix documentation of external PCM plugin SDK
Fix documentation of external PCM plugin SDK.
2005-05-24 09:42:01 +00:00
Takashi Iwai
4d7c53d280 Add snd_pcm_hw_params_get/set_export_buffer()
Add snd_pcm_hw_params_get/set_export_buffer() API functions.
They control to ensure the buffer export to other processes.
If this flag is set, the local buffer of a plugin is exported over IPC shm.
Otherwise the buffer can be handled only locally (no shm).

Also fixed Version file for 1.0.9.
2005-05-19 16:59:04 +00:00
Takashi Iwai
e61d385993 Add protocl version check
- Added protocl version check.  The caller of snd_pcm_{io|ext}plug_create()
  must fill version field with SND_PCM_{IO|EXT}PLUG_VERSION beforehand.

- Added poll_descriptors and poll_descriptors_count callbacks for ioplug.
2005-05-18 10:47:52 +00:00
Takashi Iwai
0d0e1a55c2 Change some timer ioctls due to confliction
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
Use old ioctls if the timer protocol version doesn't match.
2005-05-15 14:47:03 +00:00
Jaroslav Kysela
8ec3e4ea6c added full async interface to timer API
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions
- added async command to test/timer.c
2005-05-11 12:18:51 +00:00
Jaroslav Kysela
a022bc1fbc API for device name lists and timer enhancements
- new snd_names_list and snd_names_list_free functions
- added snd_timer_ginfo related functions to the timer API
2005-05-10 10:52:30 +00:00
Jaroslav Kysela
f2099d5770 - Fedora 4 patch - fix for alpha arch 2005-05-06 14:06:09 +00:00
Clemens Ladisch
0b4e5e095d usb-audio - add Extigy/Audigy 2 NX remote control support
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.
2005-04-29 15:29:29 +00:00
Takashi Iwai
ca67f32848 Increase timer protocol number
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).
2005-04-14 15:28:23 +00:00
Takashi Iwai
91f7dd2378 Move old PCM API to pcm_old.h
Clean up -- move old 0.9.x PCM API to pcm_old.h.
2005-04-14 14:01:10 +00:00
Jaroslav Kysela
f65d9f3108 Added snd_pcm_hw_params_set_rate_resample function
- snd_pcm_hw_params_set_rate_resample()
- snd_pcm_hw_params_get_rate_resample()
2005-04-12 12:09:55 +00:00
James Courtier-Dutton
ef42a53dda Update user land emu10k1.h with changes from kernel emu10k1.h 2005-04-02 14:21:59 +00:00
Clemens Ladisch
2570bfc7ad add HPET support
add a wrapper for the HPET driver
2005-03-21 08:17:26 +00:00
Takashi Iwai
231d55e537 Fix a typo
Fix a typo of sostenuto.
The old definition is kept for compatibility.
2005-03-17 16:14:17 +00:00
Takashi Iwai
0434c183e3 Added asound_fm.h
Added asound_fm.h to be used from specific apps.
2005-03-16 11:41:02 +00:00
Takashi Iwai
73008debc3 Add snd_pcm_parse_control_id()
Added a new function snd_pcm_parse_control_id() for the user controls.
This can be used in external plugins, too.
2005-03-09 11:57:54 +00:00
Takashi Iwai
227441b2c8 More doxygen comments
Added more doxygen comments in pcm_extplug and pcm_ioplug codes.
2005-03-09 11:54:58 +00:00
Jaroslav Kysela
4a34ac6acd Added snd_seq_ev_set_tag() macro 2005-03-03 11:13:00 +00:00
Takashi Iwai
d8f7de1b16 Support dl-object cache
Added the support of dl-object caches for PCM plugins.
2005-02-14 15:09:09 +00:00
Takashi Iwai
5eb794fe0b Add filter-type external plugin SDK
Added the SDK for filter-type PCM plugins.
Share some codes with ioplug.
2005-02-14 13:33:08 +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
94c4cdcd30 Add external PCM plugin SDK (draft version)
Added the external PCM plugin SDK (draft version).
This can be used to create external PCM plugins.
Example codes are found in alsa-plugins directory.
2005-02-08 20:57:51 +00:00
Clemens Ladisch
04c2de32c1 fix some file paths in comments
doxygen complains if the file name specified with \file does
not match the real file name, so fix it
2005-01-17 17:34:31 +00:00
Takashi Iwai
fdbfe89b08 Add inclusion of time.h
timeval and timespec structs need time.h.
2005-01-11 15:08:58 +00:00
Takashi Iwai
0732cce6f0 Add accessor to user control elements
Added accessor functions to user control elements, snd_ctl_elem_add_*(),
and_ctl_elem_remove() and snd_ctl_elem_info_is_user().
2005-01-03 11:52:39 +00:00
Takashi Iwai
30f35c1f7a Add softvol PCM plugin
The softvol PCM plugin is added.  It applies the software volume attenuation,
which may be useful for codecs without volume controls.

Currently, the control is only mono.  The attenuation is applied to all
channels equally.  The control is probed and automatically created
when not exists yet.
2004-12-27 14:40:19 +00:00
Takashi Iwai
2b54677fdb Change error message handling
Change the handling of non-fatal errors.  Now the non-fatal error
messages are not shown in stderr and no assert() as default.  The
behavior can be changed with LIBASOUND_DEBUG environment variable.
2004-12-21 14:11:00 +00:00
Jaroslav Kysela
37e75bfa2c Sync with the driver (EFX code structure) 2004-11-13 14:37:48 +00:00
Jaroslav Kysela
d02602374b Fixed cut-n-copy problem 2004-11-09 13:12:35 +00:00
Jaroslav Kysela
67ea59660f Added SNDRV_HWDEP_IFACE_BLUETOOTH 2004-11-09 13:11:43 +00:00
Jaroslav Kysela
b2e8c7fd49 Added SNDRV_HWDEP_IFACE_BLUETOOTH 2004-11-09 13:08:24 +00:00
Takashi Iwai
3e5580d053 Fix typos
Fixed typos of int types.
Added inclusion of stdint.h.
2004-09-30 13:21:43 +00:00
Takashi Iwai
9c0c171985 Fix the variable types in struct
The variable types are declared explicitly like u_int32_t and u_int64_t
to avoid ambiguity.
2004-09-22 15:21:51 +00:00
Takashi Iwai
9db1403b3a [hdsp] Fix for 64bit architectures
Fixed the loading of firmware data and the handling of meter mmap
on 64bit architectures.
2004-09-21 10:37:17 +00:00
Takashi Iwai
6ed5c58dce Remove the obsolete NONATOMIC ops bit.
SNDRV_PCM_INFO_NONATOMIC_OPS bit is removed.  It's obsolete now.
2004-09-21 10:36:54 +00:00
Takashi Iwai
6fc5e5dd2a Fix warnings with -Wshadow
Fixed compile warnings when compiled with -Wshadow.
(Renamed the shadow parameteres with _ prefix to avoid confliction.)
2004-09-21 10:35:57 +00:00
Peter Zubaj
954e2df37c [emu10k1] Audigy DSP support
This patch will add better support for Audigy DSP.  More gpr,
instruction and tram.  It will break binary compatibility for app
which use emu10k1 hwdep.

Signed-off-by: Peter Zubaj <pzad@pobox.sk>
2004-09-06 15:06:48 +00:00
Clemens Ladisch
11adf32405 remove (now obsolete) support for _KERNEL_QUOTE events 2004-08-23 07:24:54 +00:00
Jaroslav Kysela
ef6283bca1 Added emu10k1.h 2004-08-16 12:52:00 +00:00
Jaroslav Kysela
7e648e8de2 Initial 2004-08-13 13:07:01 +00:00
Jaroslav Kysela
eafb492512 - added SYNC_PTR ioctl support for pcm_hw plugin 2004-05-22 10:14:32 +00:00
Takashi Iwai
5586e5cbb1 added a new plugin "iec958" to convert IEC958 subframes. 2004-05-04 15:13:23 +00:00
Jaroslav Kysela
a66204cd12 Added snd_asoundlib_version() 2004-04-19 15:12:32 +00:00
Jaroslav Kysela
64a39728a2 Added early event extension to the timer API - and a fix for the direct plugins 2004-04-06 17:29:25 +00:00