Commit graph

20 commits

Author SHA1 Message Date
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
1c908a75c1 Moved asm i386 code to pcm_dmix_i386.h; UP optimization 2003-02-20 17:10:22 +00:00
Jaroslav Kysela
16f785ca13 added .p2align lines to i386 asm code 2003-02-20 15:45:01 +00:00
Jaroslav Kysela
335c06d070 Added MMX code and detection of MMX capable CPU 2003-02-19 21:17:38 +00:00
Jaroslav Kysela
c25bf7ef7b Fixed saturation for i386 2003-02-19 10:58:29 +00:00
Jaroslav Kysela
359cfd644e More i386 optimizations (use edx register as well).
Moved the interleave check outside mix_areas() routine.
2003-02-19 10:51:41 +00:00
Jaroslav Kysela
80be3a4281 Fixed typo 2003-02-18 21:08:01 +00:00
Jaroslav Kysela
55519839a8 Added sum ring buffer (32-bit).
Use special code for i386 to guarantee atomic operations (assembler).
2003-02-18 20:59:38 +00:00
Jaroslav Kysela
391a233abb Added ipc_key_add_uid 2003-02-12 15:22:32 +00:00
Jaroslav Kysela
b3b7afc638 Implemented drain() 2003-02-12 14:54:41 +00:00
Jaroslav Kysela
13b79dcd56 First fully working version of dmix plugin - multiple clients 2003-02-12 09:02:49 +00:00
Jaroslav Kysela
f1ba83dc99 More cleanups for multiple clients.
We need to propagate the pcm_hw mmaped areas to next clients, too.
2003-02-11 21:46:42 +00:00
Jaroslav Kysela
121da3e301 Hey - first somehow working version (for first client)... 2003-02-11 21:28:23 +00:00
Jaroslav Kysela
af89cefd99 More changes for dmix plugin:
- added poll_events to main pcm structure
  - added poll_revents callback to pcm->ops structure
  - fixed snd_pcm_wait() - call revents function and enhanced
    error code reporting
DMIX plugin:
  - more complete code (works at least for one instance)
  - still no "mix" code (it's silent)
2003-02-11 18:14:43 +00:00
Jaroslav Kysela
3b6638e8ce More pcm params functions returns an error rather than do assert().
Some cleanups in refine.
Added more debug code to refine.
Improved dmix refine method.
2003-02-08 16:35:24 +00:00
Jaroslav Kysela
757785fece Added snd_timer_async() function.
More updates to pcm_dmix.c .
2003-02-06 19:15:53 +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
ee22480d93 Fixed starting of hardware and shm stuff 2003-02-05 10:34:41 +00:00
Jaroslav Kysela
8720faaccb Cleanups in IPC stuff.
Cleanups in snd_pcm_close().
Added initial code for dmix plugin:
  - only skeleton, but all major problems should be solved
2003-02-04 14:48:51 +00:00