Commit graph

181 commits

Author SHA1 Message Date
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
Jaroslav Kysela
ddb7209e9a Added snd_*_poll_descriptors_revents functions. 2001-11-30 17:36:45 +00:00
Jaroslav Kysela
bb749766d4 Added lfloat plugin code (not finished) 2001-11-26 16:08:49 +00:00
Jaroslav Kysela
b3c53425d6 Added Linear <-> float format conversion PCM type 2001-11-26 15:19:44 +00:00
Jaroslav Kysela
0e746d674b Specified the range for float types and added empty check function for format and subformat mask 2001-11-26 15:16:01 +00:00
Jaroslav Kysela
26c3afa171 Added LADSPA plugin (only framework, no implementation yet) 2001-11-25 09:55:53 +00:00
Jaroslav Kysela
c33c5760ab Added snd_*_open_lconf functions.
Some minor changes in config interface documentation.
2001-11-24 17:47:01 +00:00
Jaroslav Kysela
c39882f602 Configuration:
- changed snd_config_get_id function to follow semantic of other get functions
  - added snd_config_test_id
  - added runtime pointer type (not persistent)
    - added snd_config_make_pointer, snd_config_set_pointer, snd_config_get_pointer
  - added type/contents checking for callback functions
    - changed 'void *private_data' to 'snd_config_t *private_data'
  - renamed card_strtype functions to card_driver
Control:
  - fixed passing parameters to snd_ctl_async
Async handlers:
  - added public snd_async_handler_get_signo function
Documentation:
  - moved all documentation to source files
2001-11-19 08:14:21 +00:00
Jaroslav Kysela
87b5b249a5 pcm.h - major documentation updates and reordering
Cleanup for __cplusplus defines.
2001-11-14 11:40:46 +00:00
Jaroslav Kysela
09d82fa2ba Fixed PCM STATE range 2001-10-25 13:36:00 +00:00
Jaroslav Kysela
14d38d4bb8 Added overrange function 2001-10-23 09:51:45 +00:00
Jaroslav Kysela
78f86ed011 Added mmap_write & mmap_readi functions to include/pcm.h. 2001-10-18 18:05:41 +00:00
Jaroslav Kysela
f8c9bcd465 Added snd_pcm_hw_params_can_resume 2001-10-14 09:08:47 +00:00
Jaroslav Kysela
3c59c6b11d Added power management functions and defines. 2001-09-26 13:57:04 +00:00
Jaroslav Kysela
58345ae4f4 Separated asoundlib.h to small files. 2001-09-13 11:38:32 +00:00
Jaroslav Kysela
3c9d27c82d Added snd_pcm_sync_id_t 2001-09-11 08:42:15 +00:00
Jaroslav Kysela
18f147735f Compilation fixes (asound.h removal) 2001-08-22 06:39:08 +00:00
Jaroslav Kysela
79531a4eb0 The main header file is not dependant on asound.h from driver. 2001-08-20 13:15:30 +00:00