Jaroslav Kysela
d25e281230
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:24:55 +02:00
Takashi Iwai
4cdb17c601
Split mmap-emulation code from hw layer
...
Move out mmap-emulation code from hw layer to its own plugin.
This cleans up the mess in pcm_hw.c.
2007-07-11 17:44:09 +02:00
Jaroslav Kysela
ddf9599542
pcm: fix ipc offset calculation for direct plugins
...
Also add more accurate description to x24 formats.
2006-10-23 11:34:00 +02:00
Jaroslav Kysela
23f7e58fa1
implementation of pcm simple helper function
...
- snd_pcm_recovery()
- snd_pcm_set_params()
- snd_pcm_get_params()
2006-01-06 19:59:56 +00:00
Jaroslav Kysela
31595805b2
fixed typo in comment
2005-09-21 08:24:31 +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
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
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
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
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
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
Takashi Iwai
5586e5cbb1
added a new plugin "iec958" to convert IEC958 subframes.
2004-05-04 15:13:23 +00:00
Jaroslav Kysela
a190b87d94
Initial implementation of PCM simple API extension.
2004-03-26 16:08:01 +00:00
Jaroslav Kysela
894bd9157e
Initial proposal for simple PCM API extension
2004-03-14 18:37:55 +00:00
Jaroslav Kysela
9105bb7fcd
Added SNDRV_PCM_STATE_DISCONNECTED state.
...
Changed direct plugins to handle DISCONNECT/SUSPEND states from slave.
2004-01-19 19:48:27 +00:00
Jaroslav Kysela
beb837bcf7
Fixed typo - snd_pcm_type_name()
2003-12-22 08:31:22 +00:00
Jaroslav Kysela
d4af763f8a
Switch from old to new PCM API retaining binary compatibility
...
Changed version to 1.0.0pre1
2003-11-05 10:38:37 +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
157107491c
Added snd_pcm_type_name()
...
Fixed rate conversion plugin (SIGSEGV) - rounding problem
2003-03-08 16:35:18 +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
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
3bccde0087
Removed clear() functions
2002-10-23 17:49:34 +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
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
Jaroslav Kysela
16b3bf447c
Enhanced bitmasks in PCM - added support for more formats by Takashi and me
2002-06-26 02:04:11 +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
853304bbf4
Corrections by Kevin Conder <kconder@interaccess.com>
2002-03-12 20:14:33 +00:00
Takashi Iwai
6ce9436b13
removed comma from last element of enums.
2002-02-05 11:36:20 +00:00
Jaroslav Kysela
d57853a90a
Added more informative comments to open mode flags
2002-01-28 18:11:45 +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
Jaroslav Kysela
cd29f8b860
changed result type from int to snd_pcm_sframes_t for snd_pcm_mmap_commit; removed snd_pcm_mmap_commit_partial
2001-12-11 15:27:26 +00:00
Jaroslav Kysela
ef7f65c5eb
Added snd_pcm_access_mask_empty()
2001-12-11 15:05:45 +00:00
Jaroslav Kysela
5c98225fc0
Removed snd_pcm_mmap_begin_avail and changed snd_pcm_mmap_begin behaviour back.
2001-12-10 17:16:13 +00:00
Jaroslav Kysela
bbcf77116d
Added snd_pcm_mmap_commit_partial().
2001-12-10 10:52:04 +00:00
Jaroslav Kysela
b7b11c3558
- added snd_pcm_mmap_begin_avail function; it is optimized for use after
...
snd_pcm_avail_update() call
- fixed broken hw_ptr management inside snd_pcm_plugin code
2001-12-09 18:41:23 +00:00