Clemens Ladisch
5203c3bfa1
adjust control references in config files
...
Adjust the hooked control definitions for the changed interface of
"EMU10K1 PCM Send Volume" and "EMU10K1 PCM Send Routing" controls.
2005-08-02 07:59:46 +00:00
Jaroslav Kysela
59a8226184
The simple mixer abstraction - more work
...
- separated the "base library" from ac97.c (dynamically loaded)
- added necessary handling of all private structures
- added selector and sid registration functions and handling code
- added basic code for hda.c (yeah, my notebook has this hw)
2005-07-31 09:08:43 +00:00
James Courtier-Dutton
c593c1d260
Fix bug when a sound card had a stereo mute element and would fail to unmute the right channel.
...
Fixes a typo. Fixes bug#[ALSA - lib 0001219]
2005-06-29 20:31:33 +00:00
Takashi Iwai
7a89e3bbca
Fix compile warnings with gcc-4
...
Fixed compile warnings with gcc-4 about pointer signedness.
2005-06-28 10:24:44 +00:00
Takashi Iwai
0350a615b7
Fix the return value of snd_card_load()
...
Fix the return value of snd_card_load() to follow the document,
0 = not present, 1 = preset.
The other parts calling snd_card_load() are fixed, too.
2005-06-28 09:58:48 +00:00
Clemens Ladisch
a12f75afb9
fix typo
...
Fix a typo in the "Swap Surround Slot" value for surround40.
2005-06-27 14:43:12 +00:00
Jaroslav Kysela
1596c8c355
Fixed #include statements
2005-06-27 08:16:06 +00:00
Takashi Iwai
aa5a4d1f1a
Remove the check of start_threshold in sw_params
...
Removed the invalid check of start_threshold with period_size
in snd_pcm_sw_params().
2005-06-23 10:04:56 +00:00
Clemens Ladisch
274bce69e7
fix file name for Doxygen
...
Use the correct file name for \file to make Doxygen happy.
2005-06-23 07:45:17 +00:00
Takashi Iwai
6c7f60f7a9
Fix boundary overlap
...
Fixed the possible bug with boundary overlap in dmix code.
2005-06-16 14:03:15 +00:00
Jaroslav Kysela
ce67d5389b
more simple mixer - basic abstraction - work
...
- midlayer cleanups and simplification
- probably broke the "none" abstraction code somehow (not intensively tested
midlayer changes)
- trying to implement ac97 module
- far from finished
- common code should be moved to alsa-lib as core for other modules
- perhaps simple_abst.c can be based on this common code, too
2005-06-16 11:59:26 +00:00
Takashi Iwai
3656a66397
Add detailed documentation for external control plugin SDK
...
Added the detailed documentation for external control plugin SDK.
2005-06-13 13:19:03 +00:00
Jaroslav Kysela
555b870760
pcm_multi: Increased maximum slave channels to 64
...
From: Joachim Deguara <dga@idmt.fraunhofer.de>
2005-06-10 09:23:40 +00:00
Takashi Iwai
96e01a6112
Fix _snd_ctl_hw_open() mode argument
...
Added the missing mode argument in _snd_ctl_hw_open().
2005-06-09 17:14:22 +00:00
Takashi Iwai
8a3d07022c
Add external control plugin SDK
...
Added external control plugin SDK.
2005-06-09 17:12:08 +00:00
Takashi Iwai
36f715c59a
Add external shared object support
...
- Add external shared object support
- Add poll_* internal ops
- Allow multiple poll_fds
2005-06-09 17:09:24 +00:00
Takashi Iwai
3c144ca078
Fix compile warning
...
Fix compile warning about const prefix (bug #1158 )
2005-06-08 13:52:57 +00:00
Jaroslav Kysela
4c4849230c
initial & empty smixer-ac97.so module (only the build framework)
2005-06-07 11:44:25 +00:00
Jaroslav Kysela
c9d343a0cc
Change .so module name and installation patch (/usr/lib/alsa-lib/scopes)
2005-06-07 11:31:18 +00:00
Jaroslav Kysela
3bcf2f805d
Implemented the top-level redirector code for simple mixer
...
- mixer_abst.c is almost finished (an example module should be created now)
- also fixed some error paths for name function
2005-06-06 14:01:13 +00:00
Jaroslav Kysela
157cb698ac
mixer - fix typo and memory leak
2005-06-03 14:04:53 +00:00
Jaroslav Kysela
23c8d481a2
Added snd_mixer_selem_compare
2005-06-03 13:35:39 +00:00
Jaroslav Kysela
597b4d0942
big simple mixer update
...
- exported all necessary functions to create a mixer module outside alsa-lib
- separated simple mixer API from the simple mixer implementation
(using callbacks as usuall)
- src/mixer/simple.c is the core
- src/mixer/simple_none.c is the current (no-abstraction) implementation
based on control names; note that this module does not depend on
internal ALSA structures now
- src/mixer/simple_abst.c is the ongoing abstraction which will use
external dynamic modules; src/conf/smixer.conf will describe which
modules will be used depending on the components from the driver
2005-06-03 13:33:04 +00:00
Takashi Iwai
ae07fd40fb
Remove obsolete ordinary_* entries
...
Remove obsolete ordinary_* entries.
2005-06-01 12:34:51 +00:00
Takashi Iwai
b69ab56881
Fix bugs in the last change of ipc_gid option
...
- Fix semaphore gid control
- Do semaphore discard for all semaphores (although currently defined as 1)
- Fix the wrong check of return value from shmctl
2005-05-30 17:56:12 +00:00
Jaroslav Kysela
41398ceb9c
removed ordinary stuff
2005-05-30 11:57:26 +00:00
Jaroslav Kysela
ff9fd33190
a bit reordered code to fix bug #838
2005-05-30 11:38:54 +00:00
Jaroslav Kysela
9bae1c874f
fix warnings (bug #829 )
2005-05-30 11:16:20 +00:00
Jaroslav Kysela
3a763ae3c5
use ipc_gid for dmix and dsnoop
...
- added ipc_gid audio
- removed ipc_key_add_uid
2005-05-30 10:16:59 +00:00
Jaroslav Kysela
4b7e3cff81
added ipc_gid for direct plugins
2005-05-30 10:13:54 +00:00
Jaroslav Kysela
e789209314
name clash (WINE, icc) interface -> iface rename
...
Fixes ALSA bug #1139 .
2005-05-29 14:24:51 +00:00
Takashi Iwai
98ecc868ec
Fix compile without debug option
...
Fixed the compile error (missing function) without debug option.
2005-05-27 09:25:16 +00:00
Takashi Iwai
aad10fb49b
Fix a typo
...
Fix a typo.
2005-05-24 14:50:21 +00:00
Takashi Iwai
087184b0f9
Fix doxygen documents
...
Fix the warnings of doxygen parsing.
Add some missing documentation.
2005-05-24 14:14:28 +00:00
Takashi Iwai
7651690858
Fix documentation of external PCM plugin SDK
...
Fix documentation of external PCM plugin SDK.
2005-05-24 09:42:01 +00:00
Takashi Iwai
6e1bc68070
Minor clean up
...
Minor clean up.
2005-05-23 09:04:15 +00:00
Takashi Iwai
dd37bb20ee
Move poll_* callbacks to fast_ops
...
Moved poll_* callbacks to fast_ops.
These callbacks may be called frequently indeed.
2005-05-23 09:03:16 +00:00
Takashi Iwai
dae58c0192
Add area synchronization in poll_rsync of rate plugin
...
Try to sync areas as much as possible in poll_rsync callback of rate plugin.
2005-05-23 09:01:31 +00:00
Takashi Iwai
67420b8882
Fix poll of dsnoop plugin
...
Fixed the poll behavior of dsnoop plugin after commit.
2005-05-23 08:58:04 +00:00
Takashi Iwai
a3ae02d884
Fix semaphore deadlocks
...
- Fixed unbalanced semaphores (which may cause deadlock)
- Do semaphore-up before blocking calls for communication with the server
- Don't discard semaphores on the client side
- Open slave PCMs always in non-blocking mode to avoid blocking by semaphore
with the secondary open
2005-05-23 08:56:48 +00:00
Takashi Iwai
ddd9c29a0d
Fix dshare plugin codes
...
Modify dshare plugin codes to follow the recent change of dmix:
proper XRUN and poll handling, async data transfer.
2005-05-23 08:51:59 +00:00
Takashi Iwai
1661759351
Minor clean up of dmix codes
...
Minor clean up of dmix codes.
2005-05-23 08:49:58 +00:00
Takashi Iwai
4c6809bf30
Fix poll after XRUN with dmix
...
Fix the behavior of poll after XRUN with dmix plugin.
Poll should return immediately with an XRUN stream.
2005-05-23 08:48:46 +00:00
James Courtier-Dutton
b0ee34e757
Implement surround71 output for SB Live 24 bit.
...
Note: Requires updated alsa-kernel as well.
2005-05-21 15:21:04 +00:00
Takashi Iwai
4d7c53d280
Add snd_pcm_hw_params_get/set_export_buffer()
...
Add snd_pcm_hw_params_get/set_export_buffer() API functions.
They control to ensure the buffer export to other processes.
If this flag is set, the local buffer of a plugin is exported over IPC shm.
Otherwise the buffer can be handled only locally (no shm).
Also fixed Version file for 1.0.9.
2005-05-19 16:59:04 +00:00
Takashi Iwai
18053076e2
Fix generic channel_info callbacks
...
Fixed generic channel_info callbacks for many plugins.
The allocation of unnecessary internal buffers is avoided.
2005-05-19 16:50:24 +00:00
Takashi Iwai
d81d6940ca
Fix bugs in perm option
...
Fixed silly bugs in perm option.
2005-05-19 15:14:05 +00:00
Takashi Iwai
4e1723f9a5
More strict permission for IPC shm and sem
...
Use more strict permission for IPC shm and sem, too.
The permission follows to the value of ipc_perm config option, as
default 0600.
2005-05-19 14:36:04 +00:00
Takashi Iwai
13c7364997
Revert the shmget permission
...
Oops, a part of another patch was merged accidentally. Reverted.
2005-05-19 14:20:07 +00:00
Takashi Iwai
5227c7e170
Fix possible noises and optimization with dmix
...
dmix transfers data in asynchronously so that it doesn't write on the
last active period. This will allow the arbitrary buffer size in
future, too.
The hwsync call to slave is removed from commit and hwsync callbacks.
This hack was added to fix the noisy output (typically on xmms/bmp)
but it doesn't happen any more. Now the hwsync behavior is as same as
on 1.0.8 (i.e. hwsync is called only when slowptr option is set).
2005-05-19 14:14:04 +00:00