OSDN Git Service
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.
Takashi Iwai [Wed, 20 Apr 2005 14:30:45 +0000 (14:30 +0000)]
Fix ATTRIBUTE_UNUSED
Remove invalid ATTRIBUTE_UNUSED and add it to necessary places.
Takashi Iwai [Wed, 20 Apr 2005 14:28:27 +0000 (14:28 +0000)]
Make surround config backward compatible
Make hooks for surround config backward compatible with the older drivers
(without "Channel Mode" control).
Takashi Iwai [Wed, 20 Apr 2005 14:26:49 +0000 (14:26 +0000)]
Read $LIBASOUND_DEBUG as integer
Read $LIBASOUND_DEBUG as integer, 1 = hw_params dump, 2 = assert.
Takashi Iwai [Tue, 19 Apr 2005 16:11:26 +0000 (16:11 +0000)]
Fix segfault
Fix segfault (occuring when buffer/period sizes are aligned).
Takashi Iwai [Fri, 15 Apr 2005 09:22:48 +0000 (09:22 +0000)]
Fix timer read in non-TREAD mode
Fix timer read in non-TREAD mode. (the struct is different.)
Takashi Iwai [Thu, 14 Apr 2005 15:29:57 +0000 (15:29 +0000)]
Add external PCM plugin
Added the section for external PCM plugin.
Takashi Iwai [Thu, 14 Apr 2005 15:29:06 +0000 (15:29 +0000)]
Check timer protocol number for direct plugins
Check timer protocol number before enabling TREAD mode for direct plugins.
Takashi Iwai [Thu, 14 Apr 2005 15:28:23 +0000 (15:28 +0000)]
Increase timer protocol number
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).
Takashi Iwai [Thu, 14 Apr 2005 15:27:47 +0000 (15:27 +0000)]
Suppress verbose debug messages
Suppress verbose debug messages in hw_params_set[min|max|minmax] errors.
Takashi Iwai [Thu, 14 Apr 2005 14:30:02 +0000 (14:30 +0000)]
Add PMac Toonie configuration
Added PMac Toonie configuration. Using softvol for default.
Takashi Iwai [Thu, 14 Apr 2005 14:22:13 +0000 (14:22 +0000)]
Add verbose hw_params debugging
Added the verbose hw_params dump for debugging.
The verbose error message is shown with the current hw_params dump
when $LIBASOUND_DEBUG is set.
Takashi Iwai [Thu, 14 Apr 2005 14:21:10 +0000 (14:21 +0000)]
Remove invalid ATTRIBUTE_UNUSED
Remove the invalid use of ATTRIBUTE_UNUSED.
Takashi Iwai [Thu, 14 Apr 2005 14:01:10 +0000 (14:01 +0000)]
Move old PCM API to pcm_old.h
Clean up -- move old 0.9.x PCM API to pcm_old.h.
Takashi Iwai [Wed, 13 Apr 2005 13:35:58 +0000 (13:35 +0000)]
Use 'Channel Mode' control
Use 'Channel Mode' control to set the 4/6 channel mode in the config hooks.
Jaroslav Kysela [Tue, 12 Apr 2005 12:09:55 +0000 (12:09 +0000)]
Added snd_pcm_hw_params_set_rate_resample function
- snd_pcm_hw_params_set_rate_resample()
- snd_pcm_hw_params_get_rate_resample()
Takashi Iwai [Mon, 11 Apr 2005 10:03:28 +0000 (10:03 +0000)]
Fix more CPU hang-up bugs in dmix
- Fix CPU hang-up during snd_pcm_drain()
A new internal function snd_pcm_wait_nocheck() to force to call poll().
- Clean up, fix status() callback of dmix
Takashi Iwai [Wed, 6 Apr 2005 13:08:28 +0000 (13:08 +0000)]
Fix compile warning
Fix compile warning (forgot return 0).
Takashi Iwai [Tue, 5 Apr 2005 15:53:24 +0000 (15:53 +0000)]
Compile warning fixes
Trivial compile warning fixes.
Takashi Iwai [Tue, 5 Apr 2005 15:50:15 +0000 (15:50 +0000)]
More fixes for 100% CPU hang with dmix
More fixes for 100% CPU hang-up problem with dmix.
- Clear timer queues properly when XRUN happens.
- Don't check XRUN when the stream isn't really running.
- Do hwsync properly for the delayed start state.
Takashi Iwai [Tue, 5 Apr 2005 15:48:01 +0000 (15:48 +0000)]
Fix channel_info callbacks of hooks, file and plug plugins
Fixed channel_info callbacks of hooks, file and plug plugins (BTS #1034).
snd_pcm_generic_channel_info_slave() is added.
Takashi Iwai [Tue, 5 Apr 2005 15:21:22 +0000 (15:21 +0000)]
Remove Azalia.conf
Removed Azalia.conf, using alias to HDA-Intel instead.
James Courtier-Dutton [Sat, 2 Apr 2005 14:21:59 +0000 (14:21 +0000)]
Update user land emu10k1.h with changes from kernel emu10k1.h
Takashi Iwai [Thu, 31 Mar 2005 15:24:40 +0000 (15:24 +0000)]
Fix segfault with downsampling
Fix segfault in the initialization for downsampling.
Takashi Iwai [Thu, 31 Mar 2005 15:23:20 +0000 (15:23 +0000)]
Stop timer at XRUN
Stop PCM timer at XRUN.
Takashi Iwai [Tue, 29 Mar 2005 17:42:40 +0000 (17:42 +0000)]
Use dmix/dsnoop as default
Use dmix/dsnoop plugins as default for emu10k1x.
Takashi Iwai [Tue, 29 Mar 2005 16:35:28 +0000 (16:35 +0000)]
Use S16 for default format
Use S16 (endian-dependent) for the default PCM format of dmix/dnsoop
configurations.
Takashi Iwai [Tue, 29 Mar 2005 16:34:31 +0000 (16:34 +0000)]
Check PCM format aliases
Check PCM format alias strings (e.g. "S16") as acceptable PCM formats.
Takashi Iwai [Tue, 29 Mar 2005 14:13:04 +0000 (14:13 +0000)]
Generic architecture support
Support dmix on generic architectures without atomic operations but
using a semaphore to avoid concurrent accesses. This is less effective
than atomic operations but should work on every system.
Takashi Iwai [Tue, 29 Mar 2005 14:10:16 +0000 (14:10 +0000)]
Do hwsync of slave PCM on dmix
Call hwsync of slave PCM on snd_pcm_hwsync() over dmix.
This reduces ocasional output noises, typically seen in xmms and bmp with
multi-threading on SMP/HT systems.
Disabled slowptr of default dmix definition again.
Takashi Iwai [Tue, 29 Mar 2005 14:06:00 +0000 (14:06 +0000)]
Delayed start for dmix
Introducing a private state for the delayed start of PCM stream.
This problem occurs when the rate plugin doesn't feed the data
properly before triggering START. This results in weird problems,
e.g. an inifinte loop of artsd eating 100% CPU time.
To solve this problem, the state is marked as "pending" when no
data appears at the trigger, and the stream is started later at
the mmap commit.
Takashi Iwai [Tue, 29 Mar 2005 13:52:41 +0000 (13:52 +0000)]
Fix noises on exapnd
Fixes noise on rate expansion (bug #1018).
Jaroslav Kysela [Fri, 25 Mar 2005 08:53:48 +0000 (08:53 +0000)]
latency test - Added -B and -E options
Takashi Iwai [Thu, 24 Mar 2005 20:28:56 +0000 (20:28 +0000)]
Fix noises in rate exapnsion
Fixed noises in rate exapnsion.
Takashi Iwai [Thu, 24 Mar 2005 17:19:05 +0000 (17:19 +0000)]
Evaluate CARD argument
Evaluate $CARD argument properly even when no card-specific default
PCM is given.
Takashi Iwai [Thu, 24 Mar 2005 17:18:01 +0000 (17:18 +0000)]
Fix compile with gcc-4.0
Fixed compilation with gcc-4.0.
Takashi Iwai [Thu, 24 Mar 2005 11:59:18 +0000 (11:59 +0000)]
Enable slowptr option as default
Enabled slowptr option as default.
This seems to eliminate the occasional noises on SMP/HT systems (maybe
some race or cache mismatch).
James Courtier-Dutton [Thu, 24 Mar 2005 11:24:31 +0000 (11:24 +0000)]
Fixes AC3 output on Audigy2 sound cards
This patch adds a DSP patch to fix an spdif_bug on some Audigy2 cards.
It also does detailed identification of the capabilities of the sound
card so that the patch is only applied to the sound cards that really
need it.
Signed-off-by: James Courtier-Dutton