Commit graph

1147 commits

Author SHA1 Message Date
Jaroslav Kysela
2459a6d1d1 Fixed tstamps for newer driver 2003-03-01 20:32:02 +00:00
Jaroslav Kysela
b439930525 Reverted back generic code 2003-03-01 20:18:50 +00:00
Jaroslav Kysela
6ed583287a Reverted to 1.3 version (race window is smaller) 2003-03-01 14:23:29 +00:00
Jaroslav Kysela
0b3b4b912d Reverted back code for generic mix function 2003-03-01 11:20:18 +00:00
Jaroslav Kysela
75d9142a83 Reverted back to 1.1 version 2003-03-01 11:13:12 +00:00
Jaroslav Kysela
6d7b69d397 Added htstamp functions 2003-02-28 20:35:34 +00:00
Jaroslav Kysela
b53b043c43 Fixed small errors (size == 0 test) 2003-02-28 20:33:01 +00:00
Jaroslav Kysela
20f261e3fd Fixed check_interleave test 2003-02-28 20:32:33 +00:00
Jaroslav Kysela
8faee9967f Fixed nasty bug when we used more ipc buffers for interleaved access 2003-02-28 20:32:07 +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
Takashi Iwai
bc62be2388 set/reset the surround-swap switch for 4 and 6 channel playback. 2003-02-25 16:57:59 +00:00
Takashi Iwai
8f2e0a48be added the "optional" field for sctl.
if the control is not loaded properly, it's ignored without errors.
2003-02-25 16:57:21 +00:00
Takashi Iwai
b80ccd1709 changed the iec958 code for revo 7.1. 2003-02-25 15:33:40 +00:00
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
Jaroslav Kysela
64811d79ca Removed \!HAVE_JACK 2003-02-20 19:58:36 +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
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
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
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