Commit graph

73 commits

Author SHA1 Message Date
Takashi Iwai
dab2b58e0e Fix resume of dmix, dsnoop and dshare plugins
Fix the resume of dmix, dsnoop and dshare plugins.

[This replaces the timer mode with TREAD mode, and may trigger Oops
 with the older kernel...]
2005-03-15 11:39:51 +00:00
Takashi Iwai
71ee169307 Fix compile warning
Fixed compile warning with printf() and timeval sizes.
2005-01-19 13:43:25 +00:00
Takashi Iwai
8ac16f151c [ALSA-LIB] suppress PAUSE and RESUME for direct plugins
Direct plugins don't work well with PAUSE and RESUME.  The info
bits are cleared for these plugins to suppress these features.
2004-09-15 18:45:51 +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
Jaroslav Kysela
f5a5284c6d A next try to fix the snd_pcm_wait() behaviour with direct plugins 2004-03-24 08:50:01 +00:00
Jaroslav Kysela
84c40f4970 Michel Dänzer <michel@daenzer.net>
Apparently these changes from pcm_direct.c revisions 1.12 and 1.14 were
accidentally reverted in revision 1.15. Please reapply.
2004-03-05 18:36:19 +00:00
Takashi Iwai
d91948db49 - check the return value of malloc & co. 2004-02-25 11:24:29 +00:00
Takashi Iwai
3ade181c4f - added --with-tmpdir configure option.
the directory used for socket files of direct pcm plugins.
2004-02-09 17:04:09 +00:00
Takashi Iwai
072eb65902 Stephen Cook <siti_veni@lycos.com>:
- clean up the unnecessary declaration.
2004-01-26 15:55:09 +00:00
Jaroslav Kysela
b798d89c0f <atlka@pg.gda.pl>
- shm memory patch
- optimized a bit sample mixing routines in c and x_86 asm
2004-01-24 16:34:35 +00:00
Jaroslav Kysela
819a85fb2c Added sync_ptr callback 2004-01-23 13:04:43 +00:00
Jaroslav Kysela
c508b496b4 Fixed poll() behaviour for direct plugins, also added snd_pcm_hwsync() call to start callback 2004-01-21 19:21:11 +00:00
Jaroslav Kysela
0fc787b69e More better solution for close all handles in server_job() 2004-01-09 18:32:05 +00:00
Jaroslav Kysela
a8bed129d1 Close all file-descriptors in server_job() 2004-01-09 18:26:48 +00:00
Jaroslav Kysela
0545cf711d Maik Broemme <mbroemme@plusserver.de>
- added ipc_perm for dmix plugin
Jaroslav Kysela <perex@suse.cz>
- added ipc_perm for dsnoop and dshare plugins
- added ipc_perm to doc/asoundrc.txt
2003-12-07 09:30:47 +00:00
Jaroslav Kysela
5016a98e30 Use _exit() in server_job() 2003-10-17 13:53:06 +00:00
Jaroslav Kysela
4e8ad5ff88 Fixed problem with Xwindows (socket descriptors) 2003-10-17 07:38:38 +00:00
Jaroslav Kysela
95418afc67 Direct plugins update:
- moved more common code to pcm_direct.c
  - added missing initialization of some variables in hw_params
2003-09-02 10:32:33 +00:00
Jaroslav Kysela
c18c32b26c Kill the zombie process creation, use 'start' process to detach the server_job() from parent 2003-07-24 18:49:54 +00:00
Jaroslav Kysela
e03aaa1888 Added unlink of the communication socket name.
Added retry when the semaphore is lost (server is going down and removes
the global semaphore). Now the application creates a new direct server
automagically rather than the error return.
2003-07-15 19:15:10 +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
7470a5b9af dshare and dsnoop plugins are working now 2003-03-19 16:35:35 +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