Jaroslav Kysela
aed2543959
Small cleanups
2003-02-19 21:15:59 +00:00
Jaroslav Kysela
2322f9fec3
Added code.c to measure times for critical part of dmix plugin
2003-02-19 21:00:45 +00:00
Takashi Iwai
74f0165c97
- added the hwdep DSP loader API functions.
...
- updated the internal asound.h.
2003-02-19 15:39:35 +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
Takashi Iwai
be07243fe4
removed the obsolete snd_ prefix.
2003-02-19 09:37:01 +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
81ce8153c4
Maarten de Boer <mdeboer@iua.upf.es> - JACK plugin patch
...
- now multichannel works (before only 1 channel worked). i tested stereo,
and it works fine.
- i extended the configuration. the jack ports to connect to are now not
hard-coded anymore. instead, they will have to be specified in the
asound.conf, which allows to connect to any other jack client.
my asound.conf now looks like this:
pcm.jackplug {
type plug
slave { pcm "jack" }
}
pcm.jack {
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
}
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2
}
}
2003-02-18 17:38:32 +00:00
Jaroslav Kysela
d763d83ee2
Fixed format parameter according description
2003-02-17 18:01:16 +00:00
Takashi Iwai
5ed2575811
fixed the compilation without jack support.
2003-02-17 14:34:41 +00:00
Jaroslav Kysela
f40c238a41
Added snd_interval_set_min_max()...
2003-02-17 10:21:24 +00:00
Jaroslav Kysela
75c7e62776
Code cleanups
2003-02-14 19:26:35 +00:00
Takashi Iwai
9f5ce285c9
- fixes by Maarten.
...
snd_pcm_jack_mmap_commit is called correctly now.
both playback and capture from jack work, but not simultaneously.
2003-02-13 18:02:30 +00:00
Jaroslav Kysela
62546a3a32
More pcm_jack plugin changes
2003-02-12 21:57:49 +00:00
Jaroslav Kysela
88bc5d454e
Fixed compilation
2003-02-12 21:48:10 +00:00
Jaroslav Kysela
be5b2ce72c
Added jack plugin
2003-02-12 20:59:38 +00:00
Jaroslav Kysela
bb15bea655
Added pcm.dmix definition
2003-02-12 19:11:52 +00:00
Jaroslav Kysela
391a233abb
Added ipc_key_add_uid
2003-02-12 15:22:32 +00:00
Jaroslav Kysela
6e3c42dadd
Added dmix plugin
2003-02-12 15:20:38 +00:00
Jaroslav Kysela
b3b7afc638
Implemented drain()
2003-02-12 14:54:41 +00:00
Jaroslav Kysela
6b8875c814
Fixed compilation
2003-02-12 12:51:34 +00:00
Takashi Iwai
5ff623fc99
- fixed the infinite loop for probing the rate.
2003-02-12 12:23:00 +00:00
Jaroslav Kysela
b5316c86cc
Fixed compilation problem for dmix (donot_close)
2003-02-12 11:49:47 +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
06cccc6a78
Fixed description of test hw_params functions
2003-02-11 09:34:09 +00:00
Jaroslav Kysela
e1b91846c2
Corrected pause callback
2003-02-09 18:55:11 +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
c7d58f398e
Added rmask/cmask handling in refine
2003-02-08 09:26:43 +00:00
Takashi Iwai
dcf5fc4db5
fixed typo.
2003-02-07 11:41:32 +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
073dff1ba1
Commented out FD_CLOEXEC fcntl() calls
2003-02-05 11:00:16 +00:00
Jaroslav Kysela
ee22480d93
Fixed starting of hardware and shm stuff
2003-02-05 10:34:41 +00:00
Jaroslav Kysela
d4c27edb1c
Fixed error paths in open
2003-02-04 16:40:47 +00:00
Takashi Iwai
7724ea55e8
fixed compile warning.
2003-02-04 15:59:52 +00:00
Takashi Iwai
176d858909
fixed typo.
2003-02-04 15:59:25 +00:00
Jaroslav Kysela
0ec9851176
Initial version
2003-02-04 14:56:07 +00:00
Jaroslav Kysela
fd52ee0085
added DMIX plugin
2003-02-04 14:55:19 +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
Jaroslav Kysela
74859a4646
Fixed compilation problem
2003-02-04 13:44:11 +00:00
Jaroslav Kysela
a313072961
Added handling of FD_CLOEXEC flag
2003-02-04 13:35:59 +00:00
Jaroslav Kysela
e5b227961e
Splitted code to snd_pcm_hw_open_fd() function and added handling for FD_CLOEXEC flag
2003-02-04 13:33:44 +00:00
Jaroslav Kysela
43cd49f867
small change in output
2003-02-03 20:10:49 +00:00
Takashi Iwai
dbffcd437e
- use the channel B for surround40 and 51.
2003-01-29 17:02:18 +00:00
Jaroslav Kysela
711610be1f
0.9.0rc7
2003-01-29 10:40:07 +00:00
Takashi Iwai
12c71f4d93
- fixed SPSA values; use 3 for slots 10/11.
2003-01-28 11:37:01 +00:00