Commit graph

1559 commits

Author SHA1 Message Date
Jaroslav Kysela
d55919b910 Removed debugging output 2003-02-25 13:35:40 +00:00
Jaroslav Kysela
10c9d4911c Increased version 2003-02-25 12:45:45 +00:00
Jaroslav Kysela
e873672469 Fixed wrong result problem in sum code 2003-02-25 12:45:25 +00:00
Jaroslav Kysela
2950dbf725 A try to fix the errno mess 2003-02-23 20:00:07 +00:00
Jaroslav Kysela
0c72d7555a Use FORWARD ioctl 2003-02-23 19:48:08 +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
Abramo Bagnara
a91efc0fe6 More uniform tests. Added possibility to test without cache poisoning 2003-02-21 10:09:36 +00:00
Jaroslav Kysela
64811d79ca Removed \!HAVE_JACK 2003-02-20 19:58:36 +00:00
Jaroslav Kysela
f74660eaeb Added mix_areas_srv and */srv ratio 2003-02-20 19:47:37 +00:00
Jaroslav Kysela
8d2eecb547 Renamed ATOMIC->ATOMIC_SMP_LOCK 2003-02-20 19:24:01 +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
7e6031b151 Increased LOOP to 100 2003-02-20 16:45:06 +00:00
Jaroslav Kysela
a7dc532df0 Added difference between UP and SMP 2003-02-20 16:41:58 +00:00
Jaroslav Kysela
db59805cdd Enhanced measuring 2003-02-20 16:38:52 +00:00
Jaroslav Kysela
16f785ca13 added .p2align lines to i386 asm code 2003-02-20 15:45:01 +00:00
Takashi Iwai
a613cacd4d added the reserved and driver-data field for dsp loader structs. 2003-02-20 14:53:20 +00:00
Jaroslav Kysela
d13a14b79e Added special CFLAGS for code 2003-02-19 21:25:59 +00:00
Jaroslav Kysela
1da32fb069 Added code test utility 2003-02-19 21:18:53 +00:00
Jaroslav Kysela
335c06d070 Added MMX code and detection of MMX capable CPU 2003-02-19 21:17:38 +00:00
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