OSDN Git Service

android-x86/external-alsa-lib.git
19 years agoAdd description for perm option of file plugin
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.

19 years agoRemove obsolete *_ordinary.h files
Takashi Iwai [Mon, 30 May 2005 16:21:25 +0000 (16:21 +0000)]
Remove obsolete *_ordinary.h files

Remove obsolete *_ordinary.h files.

19 years agoremoved ordinary stuff
Jaroslav Kysela [Mon, 30 May 2005 11:57:26 +0000 (11:57 +0000)]
removed ordinary stuff

19 years agoa bit reordered code to fix bug #838
Jaroslav Kysela [Mon, 30 May 2005 11:38:54 +0000 (11:38 +0000)]
a bit reordered code to fix bug #838

19 years agoCorrected ipc_gid
Jaroslav Kysela [Mon, 30 May 2005 11:36:27 +0000 (11:36 +0000)]
Corrected ipc_gid

19 years agoAdded ipc_gid
Jaroslav Kysela [Mon, 30 May 2005 11:35:44 +0000 (11:35 +0000)]
Added ipc_gid

19 years agofix warnings (bug #829)
Jaroslav Kysela [Mon, 30 May 2005 11:16:20 +0000 (11:16 +0000)]
fix warnings (bug #829)

19 years agoadded support for more sample widths
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

19 years agouse ipc_gid for dmix and dsnoop
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

19 years agoadded ipc_gid for direct plugins
Jaroslav Kysela [Mon, 30 May 2005 10:13:54 +0000 (10:13 +0000)]
added ipc_gid for direct plugins

19 years agoname clash (WINE, icc), interface -> iface renamed
Jaroslav Kysela [Sun, 29 May 2005 14:26:20 +0000 (14:26 +0000)]
name clash (WINE, icc), interface -> iface renamed

Fix ALSA bug #1139.

19 years agoname clash (WINE, icc) interface -> iface rename
Jaroslav Kysela [Sun, 29 May 2005 14:24:51 +0000 (14:24 +0000)]
name clash (WINE, icc) interface -> iface rename

Fixes ALSA bug #1139.

19 years agorelease: 1.0.9
Jaroslav Kysela [Fri, 27 May 2005 12:58:02 +0000 (12:58 +0000)]
release: 1.0.9

19 years agoFix compile without debug option
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.

19 years agoFix a typo
Takashi Iwai [Tue, 24 May 2005 14:50:21 +0000 (14:50 +0000)]
Fix a typo

Fix a typo.

19 years agoFix doxygen documents
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.

19 years agoFix documentation of external PCM plugin SDK
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.

19 years agorelease: 1.0.9rc4
Jaroslav Kysela [Mon, 23 May 2005 11:32:35 +0000 (11:32 +0000)]
release: 1.0.9rc4

19 years agoMinor clean up
Takashi Iwai [Mon, 23 May 2005 09:04:15 +0000 (09:04 +0000)]
Minor clean up

Minor clean up.

19 years agoMove poll_* callbacks to fast_ops
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.

19 years agoAdd area synchronization in poll_rsync of rate plugin
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.

19 years agoFix poll of dsnoop 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.

19 years agoFix semaphore deadlocks
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

19 years agoFix dshare plugin codes
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.

19 years agoMinor clean up of dmix codes
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.

19 years agoFix poll after XRUN with dmix
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.

19 years agoImplement surround71 output for SB Live 24 bit.
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.

19 years agoAdd snd_pcm_hw_params_get/set_export_buffer()
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.

19 years agoFix generic channel_info callbacks
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.

19 years agoFix bugs in perm option
Takashi Iwai [Thu, 19 May 2005 15:14:05 +0000 (15:14 +0000)]
Fix bugs in perm option

Fixed silly bugs in perm option.

19 years agoMore strict permission for IPC shm and sem
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.

19 years agoRevert the shmget permission
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.

19 years agoFix possible noises and optimization with dmix
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).

19 years agoAdd perm option
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.

19 years agoFix snd_pcm_wait() for multiple pollfd's
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.

19 years agoRemove poll_ask callback
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.

19 years agoAdd protocl version check
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.

19 years agoUse snd_pcm_generic_t and its callbacks
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.

19 years agoAdd poll_descriptors and poll_descriptors_count 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.

19 years agoFix drain of dmix without data
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.

19 years agoFix snd_mixer_sort()
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)

19 years agoRemove pause and fix timer initialization in prepare
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.

19 years agoSet up pcm->info properly
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.

19 years agoPropagate pcm->info
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.

19 years agoAdd $include/alsa to the include path
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.

19 years agoCheck timer version for read-block workaround
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.

19 years agoChange some timer ioctls due to confliction
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.

19 years agoFix blocking during draining in dmix
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.

19 years agoFix playback start with sync_ptr mode
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...

19 years agoFix partial commit in drain
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.

19 years agoFix possible problems of playback drain 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.

19 years agoAdd configuration for AACI driver
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.

19 years agoadded full async interface to timer API
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

19 years agoAPI for device name lists and timer enhancements
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

19 years agoremove broken *_step initialization (caused by previous Fedora 4 patch)
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.

19 years agoFedora 4 patch - gcc4 fixes
Jaroslav Kysela [Fri, 6 May 2005 14:09:17 +0000 (14:09 +0000)]
Fedora 4 patch - gcc4 fixes

19 years ago- Fedora 4 patch - fix for alpha arch
Jaroslav Kysela [Fri, 6 May 2005 14:06:09 +0000 (14:06 +0000)]
- Fedora 4 patch - fix for alpha arch

19 years agofix snd_seq_query_next_client documentation
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.

19 years agousb-audio - add Extigy/Audigy 2 NX remote control support
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.

19 years agomidiloop - remove running status test
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.

19 years agorelease: 1.0.9rc3
Jaroslav Kysela [Wed, 27 Apr 2005 14:03:58 +0000 (14:03 +0000)]
release: 1.0.9rc3

19 years agoFix CPU hog with combination of rate plugin
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).

19 years agoShow verbose errors for invalid sw_params
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.

19 years agoFix ATTRIBUTE_UNUSED
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.

19 years agoMake surround config backward compatible
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).

19 years agoRead $LIBASOUND_DEBUG as integer
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.

19 years agoFix segfault
Takashi Iwai [Tue, 19 Apr 2005 16:11:26 +0000 (16:11 +0000)]
Fix segfault

Fix segfault (occuring when buffer/period sizes are aligned).

19 years agoFix timer read in non-TREAD mode
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.)

19 years agoAdd external PCM plugin
Takashi Iwai [Thu, 14 Apr 2005 15:29:57 +0000 (15:29 +0000)]
Add external PCM plugin

Added the section for external PCM plugin.

19 years agoCheck timer protocol number for direct plugins
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.

19 years agoIncrease timer protocol number
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).

19 years agoSuppress verbose debug messages
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.

19 years agoAdd PMac Toonie configuration
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.

19 years agoAdd verbose hw_params debugging
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.

19 years agoRemove invalid ATTRIBUTE_UNUSED
Takashi Iwai [Thu, 14 Apr 2005 14:21:10 +0000 (14:21 +0000)]
Remove invalid ATTRIBUTE_UNUSED

Remove the invalid use of ATTRIBUTE_UNUSED.

19 years agoMove old PCM API to pcm_old.h
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.

19 years agoUse 'Channel Mode' control
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.

19 years agoAdded snd_pcm_hw_params_set_rate_resample function
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()

19 years agoFix more CPU hang-up bugs in dmix
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

19 years agoFix compile warning
Takashi Iwai [Wed, 6 Apr 2005 13:08:28 +0000 (13:08 +0000)]
Fix compile warning

Fix compile warning (forgot return 0).

19 years agoCompile warning fixes
Takashi Iwai [Tue, 5 Apr 2005 15:53:24 +0000 (15:53 +0000)]
Compile warning fixes

Trivial compile warning fixes.

19 years agoMore fixes for 100% CPU hang with dmix
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.

19 years agoFix channel_info callbacks of hooks, file and plug plugins
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.

19 years agoRemove Azalia.conf
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.

19 years agoUpdate user land emu10k1.h with changes from kernel emu10k1.h
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

19 years agoFix segfault with downsampling
Takashi Iwai [Thu, 31 Mar 2005 15:24:40 +0000 (15:24 +0000)]
Fix segfault with downsampling

Fix segfault in the initialization for downsampling.

19 years agoStop timer at XRUN
Takashi Iwai [Thu, 31 Mar 2005 15:23:20 +0000 (15:23 +0000)]
Stop timer at XRUN

Stop PCM timer at XRUN.

19 years agoUse dmix/dsnoop as default
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.

19 years agoUse S16 for default format
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.

19 years agoCheck PCM format aliases
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.

19 years agoGeneric architecture support
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.

19 years agoDo hwsync of slave PCM on dmix
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.

19 years agoDelayed start for dmix
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.

19 years agoFix noises on exapnd
Takashi Iwai [Tue, 29 Mar 2005 13:52:41 +0000 (13:52 +0000)]
Fix noises on exapnd

Fixes noise on rate expansion (bug #1018).

19 years agolatency test - Added -B and -E options
Jaroslav Kysela [Fri, 25 Mar 2005 08:53:48 +0000 (08:53 +0000)]
latency test - Added -B and -E options

19 years agoFix noises in rate exapnsion
Takashi Iwai [Thu, 24 Mar 2005 20:28:56 +0000 (20:28 +0000)]
Fix noises in rate exapnsion

Fixed noises in rate exapnsion.

19 years agoEvaluate CARD argument
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.

19 years agoFix compile with gcc-4.0
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.

19 years agoEnable slowptr option as default
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).

19 years agoFixes AC3 output on Audigy2 sound cards
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