OSDN Git Service
Jaroslav Kysela [Tue, 16 Aug 2005 12:19:15 +0000 (12:19 +0000)]
direct plugins (dmix) - suspend/resume fixes
- this patch adds support for suspend & result for dmix and other
direct plugins
- the timer detection / initialization (TREAD support) was redesigned and
the check for proper driver version was moved to the timer_hw.c
Jaroslav Kysela [Tue, 16 Aug 2005 10:10:26 +0000 (10:10 +0000)]
timer_hw - Changed TIMER_VERSION_MAX to 2.0.5
Jaroslav Kysela [Tue, 16 Aug 2005 10:09:34 +0000 (10:09 +0000)]
sync with alsa-kernel - timer SUSPEND / RESUME events
Takashi Iwai [Fri, 12 Aug 2005 15:53:02 +0000 (15:53 +0000)]
Fix direct plugins running on 32bit emulation with 64bit arch
Fix the problems of dmix/dsnoop/dshare plugins running on 32bit mode with
64bit biarch.
Takashi Iwai [Fri, 12 Aug 2005 15:51:48 +0000 (15:51 +0000)]
Add -avoid-version for smixer plugins
Added -avoid-verstion linker option for smixer plugins.
Takashi Iwai [Wed, 3 Aug 2005 16:58:22 +0000 (16:58 +0000)]
Add function declaration
Added the function declaration of snd_mixer_sbasic_get_private()
to fix compile warnings.
Takashi Iwai [Wed, 3 Aug 2005 13:48:14 +0000 (13:48 +0000)]
Fix surroundX PCM
From: Julian Scheel <julian@jusst.de>
Hi all,
attached is an updated ICE1724.conf - I have added channels X parameters to
the .pcm.surroundXX-fields, because otherwise it's for example not possible
to play a 5.1-stream on surround51 and a stereo-stream on side simultaneous.
I need this feature to do multiroom-sound through one single sound-card (one
room playing a DVD with 5.1, another room playing some MP3s through channels
7 and 8).
I hope you could follow my explanations and will add this to the tree.
Cheers,
Julian
Clemens Ladisch [Wed, 3 Aug 2005 12:50:32 +0000 (12:50 +0000)]
use PCM interface for IEC958 controls
For consistency, use the PCM interface instead of MIXER for IEC958
default/mask/stream mixer controls.
Clemens Ladisch [Tue, 2 Aug 2005 14:18:29 +0000 (14:18 +0000)]
adjust control references in config files
Adjust the hooked control definitions for the changed interface of
the "IEC958 Playback PCM Stream" control.
Clemens Ladisch [Tue, 2 Aug 2005 07:59:46 +0000 (07:59 +0000)]
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.
Jaroslav Kysela [Sun, 31 Jul 2005 09:08:43 +0000 (09:08 +0000)]
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)
James Courtier-Dutton [Wed, 29 Jun 2005 20:31:33 +0000 (20:31 +0000)]
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]
Takashi Iwai [Tue, 28 Jun 2005 13:35:22 +0000 (13:35 +0000)]
Fix compilation on a system with old alsa-lib headers
Fixed the compilation on a system with old alsa-lib headers.
A symlink alsa is created here to include all alsa-lib headers
locally even via #include <alsa/xxx.h>
Takashi Iwai [Tue, 28 Jun 2005 10:24:44 +0000 (10:24 +0000)]
Fix compile warnings with gcc-4
Fixed compile warnings with gcc-4 about pointer signedness.
Takashi Iwai [Tue, 28 Jun 2005 09:58:48 +0000 (09:58 +0000)]
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.
Clemens Ladisch [Mon, 27 Jun 2005 14:43:12 +0000 (14:43 +0000)]
fix typo
Fix a typo in the "Swap Surround Slot" value for surround40.
Jaroslav Kysela [Mon, 27 Jun 2005 08:16:06 +0000 (08:16 +0000)]
Fixed #include statements
Takashi Iwai [Thu, 23 Jun 2005 10:04:56 +0000 (10:04 +0000)]
Remove the check of start_threshold in sw_params
Removed the invalid check of start_threshold with period_size
in snd_pcm_sw_params().
Clemens Ladisch [Thu, 23 Jun 2005 07:45:17 +0000 (07:45 +0000)]
fix file name for Doxygen
Use the correct file name for \file to make Doxygen happy.
Clemens Ladisch [Thu, 23 Jun 2005 07:44:36 +0000 (07:44 +0000)]
fix compilation with C++
Replace identifer "class" with "class_" for compatibility with C++.
Takashi Iwai [Thu, 16 Jun 2005 14:03:15 +0000 (14:03 +0000)]
Fix boundary overlap
Fixed the possible bug with boundary overlap in dmix code.
Jaroslav Kysela [Thu, 16 Jun 2005 11:59:26 +0000 (11:59 +0000)]
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
Takashi Iwai [Mon, 13 Jun 2005 13:19:03 +0000 (13:19 +0000)]
Add detailed documentation for external control plugin SDK
Added the detailed documentation for external control plugin SDK.
Jaroslav Kysela [Fri, 10 Jun 2005 09:23:40 +0000 (09:23 +0000)]
pcm_multi: Increased maximum slave channels to 64
From: Joachim Deguara <dga@idmt.fraunhofer.de>
Takashi Iwai [Thu, 9 Jun 2005 17:14:22 +0000 (17:14 +0000)]
Fix _snd_ctl_hw_open() mode argument
Added the missing mode argument in _snd_ctl_hw_open().
Takashi Iwai [Thu, 9 Jun 2005 17:12:08 +0000 (17:12 +0000)]
Add external control plugin SDK
Added external control plugin SDK.
Takashi Iwai [Thu, 9 Jun 2005 17:09:24 +0000 (17:09 +0000)]
Add external shared object support
- Add external shared object support
- Add poll_* internal ops
- Allow multiple poll_fds
Takashi Iwai [Wed, 8 Jun 2005 13:52:57 +0000 (13:52 +0000)]
Fix compile warning
Fix compile warning about const prefix (bug #1158)
Jaroslav Kysela [Tue, 7 Jun 2005 11:44:25 +0000 (11:44 +0000)]
initial & empty smixer-ac97.so module (only the build framework)
Jaroslav Kysela [Tue, 7 Jun 2005 11:31:18 +0000 (11:31 +0000)]
Change .so module name and installation patch (/usr/lib/alsa-lib/scopes)
Jaroslav Kysela [Mon, 6 Jun 2005 14:01:13 +0000 (14:01 +0000)]
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
Jaroslav Kysela [Fri, 3 Jun 2005 14:04:53 +0000 (14:04 +0000)]
mixer - fix typo and memory leak
Jaroslav Kysela [Fri, 3 Jun 2005 13:35:39 +0000 (13:35 +0000)]
Added snd_mixer_selem_compare
Jaroslav Kysela [Fri, 3 Jun 2005 13:33:04 +0000 (13:33 +0000)]
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
Takashi Iwai [Wed, 1 Jun 2005 12:34:51 +0000 (12:34 +0000)]
Remove obsolete ordinary_* entries
Remove obsolete ordinary_* entries.
Takashi Iwai [Wed, 1 Jun 2005 12:31:52 +0000 (12:31 +0000)]
Remove obsolete ordinary_* entries from configure.in
Remove obsolete ordinary_* entries from configure.in.
Takashi Iwai [Mon, 30 May 2005 17:56:12 +0000 (17:56 +0000)]
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
Takashi Iwai [Mon, 30 May 2005 17:03:00 +0000 (17:03 +0000)]
Add description for perm option of file plugin
Added the description for the new "perm" option of file plugin.
Takashi Iwai [Mon, 30 May 2005 16:21:25 +0000 (16:21 +0000)]
Remove obsolete *_ordinary.h files
Remove obsolete *_ordinary.h files.
Jaroslav Kysela [Mon, 30 May 2005 11:57:26 +0000 (11:57 +0000)]
removed ordinary stuff
Jaroslav Kysela [Mon, 30 May 2005 11:38:54 +0000 (11:38 +0000)]
a bit reordered code to fix bug #838
Jaroslav Kysela [Mon, 30 May 2005 11:36:27 +0000 (11:36 +0000)]
Corrected ipc_gid
Jaroslav Kysela [Mon, 30 May 2005 11:35:44 +0000 (11:35 +0000)]
Added ipc_gid
Jaroslav Kysela [Mon, 30 May 2005 11:16:20 +0000 (11:16 +0000)]
fix warnings (bug #829)
Jaroslav Kysela [Mon, 30 May 2005 10:22:18 +0000 (10:22 +0000)]
added support for more sample widths
- patch taken from ALSA bug #1140
Jaroslav Kysela [Mon, 30 May 2005 10:16:59 +0000 (10:16 +0000)]
use ipc_gid for dmix and dsnoop
- added ipc_gid audio
- removed ipc_key_add_uid
Jaroslav Kysela [Mon, 30 May 2005 10:13:54 +0000 (10:13 +0000)]
added ipc_gid for direct plugins
Jaroslav Kysela [Sun, 29 May 2005 14:26:20 +0000 (14:26 +0000)]
name clash (WINE, icc), interface -> iface renamed
Fix ALSA bug #1139.
Jaroslav Kysela [Sun, 29 May 2005 14:24:51 +0000 (14:24 +0000)]
name clash (WINE, icc) interface -> iface rename
Fixes ALSA bug #1139.
Jaroslav Kysela [Fri, 27 May 2005 12:58:02 +0000 (12:58 +0000)]
release: 1.0.9
Takashi Iwai [Fri, 27 May 2005 09:25:16 +0000 (09:25 +0000)]
Fix compile without debug option
Fixed the compile error (missing function) without debug option.
Takashi Iwai [Tue, 24 May 2005 14:50:21 +0000 (14:50 +0000)]
Fix a typo
Fix a typo.
Takashi Iwai [Tue, 24 May 2005 14:14:28 +0000 (14:14 +0000)]
Fix doxygen documents
Fix the warnings of doxygen parsing.
Add some missing documentation.
Takashi Iwai [Tue, 24 May 2005 09:42:01 +0000 (09:42 +0000)]
Fix documentation of external PCM plugin SDK
Fix documentation of external PCM plugin SDK.
Jaroslav Kysela [Mon, 23 May 2005 11:32:35 +0000 (11:32 +0000)]
release: 1.0.9rc4
Takashi Iwai [Mon, 23 May 2005 09:04:15 +0000 (09:04 +0000)]
Minor clean up
Minor clean up.
Takashi Iwai [Mon, 23 May 2005 09:03:16 +0000 (09:03 +0000)]
Move poll_* callbacks to fast_ops
Moved poll_* callbacks to fast_ops.
These callbacks may be called frequently indeed.
Takashi Iwai [Mon, 23 May 2005 09:01:31 +0000 (09:01 +0000)]
Add area synchronization in poll_rsync of rate plugin
Try to sync areas as much as possible in poll_rsync callback of rate plugin.
Takashi Iwai [Mon, 23 May 2005 08:58:04 +0000 (08:58 +0000)]
Fix poll of dsnoop plugin
Fixed the poll behavior of dsnoop plugin after commit.
Takashi Iwai [Mon, 23 May 2005 08:56:48 +0000 (08:56 +0000)]
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
Takashi Iwai [Mon, 23 May 2005 08:51:59 +0000 (08:51 +0000)]
Fix dshare plugin codes
Modify dshare plugin codes to follow the recent change of dmix:
proper XRUN and poll handling, async data transfer.
Takashi Iwai [Mon, 23 May 2005 08:49:58 +0000 (08:49 +0000)]
Minor clean up of dmix codes
Minor clean up of dmix codes.
Takashi Iwai [Mon, 23 May 2005 08:48:46 +0000 (08:48 +0000)]
Fix poll after XRUN with dmix
Fix the behavior of poll after XRUN with dmix plugin.
Poll should return immediately with an XRUN stream.
James Courtier-Dutton [Sat, 21 May 2005 15:21:04 +0000 (15:21 +0000)]
Implement surround71 output for SB Live 24 bit.
Note: Requires updated alsa-kernel as well.
Takashi Iwai [Thu, 19 May 2005 16:59:04 +0000 (16:59 +0000)]
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.
Takashi Iwai [Thu, 19 May 2005 16:50:24 +0000 (16:50 +0000)]
Fix generic channel_info callbacks
Fixed generic channel_info callbacks for many plugins.
The allocation of unnecessary internal buffers is avoided.
Takashi Iwai [Thu, 19 May 2005 15:14:05 +0000 (15:14 +0000)]
Fix bugs in perm option
Fixed silly bugs in perm option.
Takashi Iwai [Thu, 19 May 2005 14:36:04 +0000 (14:36 +0000)]
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.
Takashi Iwai [Thu, 19 May 2005 14:20:07 +0000 (14:20 +0000)]
Revert the shmget permission
Oops, a part of another patch was merged accidentally. Reverted.
Takashi Iwai [Thu, 19 May 2005 14:14:04 +0000 (14:14 +0000)]
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).
Takashi Iwai [Thu, 19 May 2005 13:59:43 +0000 (13:59 +0000)]
Add perm option
Added "perm" option to file plugin to specify the file permission.
Changed the default permission to 0600.
Takashi Iwai [Wed, 18 May 2005 13:28:06 +0000 (13:28 +0000)]
Fix snd_pcm_wait() for multiple pollfd's
Fixed snd_pcm_wait() to handle multiple pollfd's.
Takashi Iwai [Wed, 18 May 2005 10:50:09 +0000 (10:50 +0000)]
Remove poll_ask callback
Removed poll_ask callbacks.
poll_ask function is merged to poll_descriptors callbacks.
Takashi Iwai [Wed, 18 May 2005 10:47:52 +0000 (10:47 +0000)]
Add protocl version check
- Added protocl version check. The caller of snd_pcm_{io|ext}plug_create()
must fill version field with SND_PCM_{IO|EXT}PLUG_VERSION beforehand.
- Added poll_descriptors and poll_descriptors_count callbacks for ioplug.
Takashi Iwai [Wed, 18 May 2005 10:46:03 +0000 (10:46 +0000)]
Use snd_pcm_generic_t and its callbacks
Use snd_pcm_generic_t and its callbacks.
Takashi Iwai [Wed, 18 May 2005 10:45:06 +0000 (10:45 +0000)]
Add poll_descriptors and poll_descriptors_count callbacks
Added poll_descriptors and poll_descriptors_count callbacks for multiple
poll_fd's.
Takashi Iwai [Tue, 17 May 2005 15:36:18 +0000 (15:36 +0000)]
Fix drain of dmix without data
Fixed the drain of dmix plugin without any data.
It should return immediately.
Takashi Iwai [Tue, 17 May 2005 09:34:18 +0000 (09:34 +0000)]
Fix snd_mixer_sort()
Fixed the wrong pointer use in snd_mixer_sort().
(Patch from https://bugs.gentoo.org/attachment.cgi?id=58918)
Takashi Iwai [Tue, 17 May 2005 09:28:29 +0000 (09:28 +0000)]
Remove pause and fix timer initialization in prepare
- Removed broken pause implementations.
- Fixed the timer initialization in prepare callback so that poll
works again after prepare.
Takashi Iwai [Tue, 17 May 2005 09:27:17 +0000 (09:27 +0000)]
Set up pcm->info properly
Set up pcm->info properly for ioplug according to the avaialbe callbacks.
Takashi Iwai [Tue, 17 May 2005 09:26:34 +0000 (09:26 +0000)]
Propagate pcm->info
Propate pcm->info bit flags from the slave PCM in refine.
This will fix the bug indicating bogus pause/resume capabilities.
Takashi Iwai [Sun, 15 May 2005 14:49:11 +0000 (14:49 +0000)]
Add $include/alsa to the include path
Added $include/alsa to the include path again for backward compatibility.
Some apps fail to be built without this.
Takashi Iwai [Sun, 15 May 2005 14:48:19 +0000 (14:48 +0000)]
Check timer version for read-block workaround
Check the timer protocl version whether to use poll for a workaround
of read-block problems.
Takashi Iwai [Sun, 15 May 2005 14:47:03 +0000 (14:47 +0000)]
Change some timer ioctls due to confliction
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
Use old ioctls if the timer protocol version doesn't match.
Takashi Iwai [Sun, 15 May 2005 13:54:00 +0000 (13:54 +0000)]
Fix blocking during draining in dmix
Fix the blocking during draining in dmix plugin due to ioctl
conflicts (bug #1074). This is a temporary workaround.
Takashi Iwai [Fri, 13 May 2005 14:14:10 +0000 (14:14 +0000)]
Fix playback start with sync_ptr mode
Fix by Istvan Varadi <ivaradi@gmail.com>
- start the playback with snd_pcm_hw_start failed with -EPIPE, because
some pointers were not updated. I attached a patch for alsa-lib 1.0.8,
in which sync_ptr is called before SNDRV_PCM_IOCTL_START. It seems to
solve the problem, though I don't know alsa-lib enough to be sure that
this is the right solution...
Takashi Iwai [Fri, 13 May 2005 12:37:25 +0000 (12:37 +0000)]
Fix partial commit in drain
Fix the partial commit in draining with rate plugin.
Takashi Iwai [Thu, 12 May 2005 13:34:59 +0000 (13:34 +0000)]
Fix possible problems of playback drain with rate plugin
Fixed the possible problems of playback drain with rate plugin
when partial data remains and not committed before.
Takashi Iwai [Thu, 12 May 2005 13:12:16 +0000 (13:12 +0000)]
Add configuration for AACI driver
Added the PCM configuration for ARM AACI driver.
Jaroslav Kysela [Wed, 11 May 2005 12:18:51 +0000 (12:18 +0000)]
added full async interface to timer API
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions
- added async command to test/timer.c
Jaroslav Kysela [Tue, 10 May 2005 10:52:30 +0000 (10:52 +0000)]
API for device name lists and timer enhancements
- new snd_names_list and snd_names_list_free functions
- added snd_timer_ginfo related functions to the timer API
Jaroslav Kysela [Tue, 10 May 2005 07:05:47 +0000 (07:05 +0000)]
remove broken *_step initialization (caused by previous Fedora 4 patch)
Thanks to Abramo for notice.
Jaroslav Kysela [Fri, 6 May 2005 14:09:17 +0000 (14:09 +0000)]
Fedora 4 patch - gcc4 fixes
Jaroslav Kysela [Fri, 6 May 2005 14:06:09 +0000 (14:06 +0000)]
- Fedora 4 patch - fix for alpha arch
Clemens Ladisch [Mon, 2 May 2005 07:42:52 +0000 (07:42 +0000)]
fix snd_seq_query_next_client documentation
Fix snd_seq_query_next_client's documentation -- no name matching is
actually done by ALSA.
Clemens Ladisch [Fri, 29 Apr 2005 15:29:29 +0000 (15:29 +0000)]
usb-audio - add Extigy/Audigy 2 NX remote control support
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.
Clemens Ladisch [Fri, 29 Apr 2005 15:19:45 +0000 (15:19 +0000)]
midiloop - remove running status test
Do not use running status to prevent errors with devices
that add or remove running status bytes.
Jaroslav Kysela [Wed, 27 Apr 2005 14:03:58 +0000 (14:03 +0000)]
release: 1.0.9rc3
Takashi Iwai [Fri, 22 Apr 2005 16:36:13 +0000 (16:36 +0000)]
Fix CPU hog with combination of rate plugin
Fix CPU hog with some apps (e.g. artsd) when rate plugin is used
together with dmix (or possible hw).
Takashi Iwai [Wed, 20 Apr 2005 14:31:33 +0000 (14:31 +0000)]
Show verbose errors for invalid sw_params
Show verbose errors (when $LIBASOUND_DEBUG is set) for some invalid sw_params.