OSDN Git Service
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
Jaroslav Kysela [Thu, 24 Mar 2005 09:49:44 +0000 (09:49 +0000)]
release: 1.0.9rc2
Takashi Iwai [Tue, 22 Mar 2005 18:49:07 +0000 (18:49 +0000)]
Fix compilation with gcc-4.0
Fixed compilation with gcc-4.0
James Courtier-Dutton [Mon, 21 Mar 2005 19:55:16 +0000 (19:55 +0000)]
Fix AC3 output on alsa-lib ca0106.conf
This fixes AC3 SPDIF output. It now correctly turns SPDIF OUT on when
using the iec958 device.
Signed-off-by: James Courtier-Dutton
Clemens Ladisch [Mon, 21 Mar 2005 08:17:26 +0000 (08:17 +0000)]
add HPET support
add a wrapper for the HPET driver
Takashi Iwai [Thu, 17 Mar 2005 16:14:17 +0000 (16:14 +0000)]
Fix a typo
Fix a typo of sostenuto.
The old definition is kept for compatibility.
Takashi Iwai [Wed, 16 Mar 2005 13:25:25 +0000 (13:25 +0000)]
Fix the device-open check
Fixed the device-open check with --disable-aload.
Takashi Iwai [Wed, 16 Mar 2005 11:41:02 +0000 (11:41 +0000)]
Added asound_fm.h
Added asound_fm.h to be used from specific apps.
Takashi Iwai [Tue, 15 Mar 2005 11:39:51 +0000 (11:39 +0000)]
Fix resume of dmix, dsnoop and dshare plugins
Fix the resume of dmix, dsnoop and dshare plugins.
[This replaces the timer mode with TREAD mode, and may trigger Oops
with the older kernel...]
Jaroslav Kysela [Sun, 13 Mar 2005 09:31:24 +0000 (09:31 +0000)]
release: 1.0.9rc1
Jaroslav Kysela [Thu, 10 Mar 2005 20:03:02 +0000 (20:03 +0000)]
Fix rear/center_lfe subdevice mismatch
Clemens Ladisch [Thu, 10 Mar 2005 10:45:19 +0000 (10:45 +0000)]
rawmidi_virt: fix hang on invalid MIDI data
When writing invalid MIDI data to a virtual rawmidi port,
snd_rawmidi_virtual_write() would forget to remove that data
from the input buffer before continuing, resulting in an
infinite loop.
Takashi Iwai [Wed, 9 Mar 2005 12:00:37 +0000 (12:00 +0000)]
Small code clean up
Small code clean up for readability.
Takashi Iwai [Wed, 9 Mar 2005 11:59:37 +0000 (11:59 +0000)]
Fix invalid free
Fixed the invalid free of memory.
Takashi Iwai [Wed, 9 Mar 2005 11:57:54 +0000 (11:57 +0000)]
Add snd_pcm_parse_control_id()
Added a new function snd_pcm_parse_control_id() for the user controls.
This can be used in external plugins, too.
Takashi Iwai [Wed, 9 Mar 2005 11:54:58 +0000 (11:54 +0000)]
More doxygen comments
Added more doxygen comments in pcm_extplug and pcm_ioplug codes.
Jaroslav Kysela [Thu, 3 Mar 2005 11:13:00 +0000 (11:13 +0000)]
Added snd_seq_ev_set_tag() macro
Lee Revell [Mon, 28 Feb 2005 08:39:25 +0000 (08:39 +0000)]
move the Jack plugin to alsa-plugins
remove the src/pcm/ext/Makefile.in entry from configure.in, too
Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Clemens Ladisch [Mon, 28 Feb 2005 08:25:12 +0000 (08:25 +0000)]
fix the file plugin
Call snd_pcm_file_hw_params instead of snd_pcm_generic_hw_params
to prevent a crash when the file plugin is used.
Takashi Iwai [Thu, 24 Feb 2005 20:57:56 +0000 (20:57 +0000)]
Initialize structs for ioctls
Initialize the argument structs before calling ioctls to make
valgrind happy.
Takashi Iwai [Thu, 24 Feb 2005 10:20:44 +0000 (10:20 +0000)]
Add a note on FC3
Added a note on installation on FC3.
Takashi Iwai [Thu, 24 Feb 2005 10:19:23 +0000 (10:19 +0000)]
Fix SPDIF device
Fixed SPDIF device number.
Takashi Iwai [Thu, 24 Feb 2005 10:16:51 +0000 (10:16 +0000)]
Remove JACK plugin
Removed JACK plugin. It's in alsa-plugins now.
Takashi Iwai [Tue, 22 Feb 2005 20:23:18 +0000 (20:23 +0000)]
Fix card type to string
Fixed the card type to string in each config.
Also, removed suprefluous DEV argument in iec958 of some cards.
Takashi Iwai [Tue, 22 Feb 2005 20:21:23 +0000 (20:21 +0000)]
Accept string type card
Accept string type card entry to be compatible with others.
Takashi Iwai [Tue, 22 Feb 2005 20:20:42 +0000 (20:20 +0000)]
Add config file for CMI8768
Added the config file for CMI8768 (showns as CMI8738-MC8).
Takashi Iwai [Fri, 18 Feb 2005 18:13:45 +0000 (18:13 +0000)]
Add Side controls in the weight list
Added the "Side" controls in the weight list.
Takashi Iwai [Thu, 17 Feb 2005 15:15:37 +0000 (15:15 +0000)]
Use softvol for default PCM
Use softvol plugin for default PCM (for C-Media codecs)
Mikael Magnusson [Wed, 16 Feb 2005 11:47:05 +0000 (11:47 +0000)]
Fixed rear PCM (mono output)
Signed-off-by: Mikael Magnusson <mikaelmagnusson@glocalnet.net>
Takashi Iwai [Mon, 14 Feb 2005 15:48:14 +0000 (15:48 +0000)]
Code clean-up
Small code clean-up
Takashi Iwai [Mon, 14 Feb 2005 15:09:09 +0000 (15:09 +0000)]
Support dl-object cache
Added the support of dl-object caches for PCM plugins.
Takashi Iwai [Mon, 14 Feb 2005 13:52:00 +0000 (13:52 +0000)]
Fix a typo
Fixed a typo in the last change for --enable-resmgr.
Takashi Iwai [Mon, 14 Feb 2005 13:33:08 +0000 (13:33 +0000)]
Add filter-type external plugin SDK
Added the SDK for filter-type PCM plugins.
Share some codes with ioplug.
Takashi Iwai [Mon, 14 Feb 2005 13:31:53 +0000 (13:31 +0000)]
Add --disable-aload configure option
Added --disable-aload configure option to suppress probing of
/dev/aload* files for auto-loading. These files often conflict with
udev mechanism.
Also, --with-resmgr is changed to --enable-resmgr.
Clemens Ladisch [Mon, 14 Feb 2005 09:35:06 +0000 (09:35 +0000)]
use "C" locale when parsing floating point numbers
Floating point numbers in configuration files always use "." as separator,
so set the locale temporarily to "C" when calling strtod().
Takashi Iwai [Fri, 11 Feb 2005 16:35:24 +0000 (16:35 +0000)]
Fix resmgr support
Call normal open() before trying with res_open_device().
snd_open_device() is defined to do this procedure.
Takashi Iwai [Wed, 9 Feb 2005 17:28:08 +0000 (17:28 +0000)]
Fix compile warnings
Fixed compile warnings with unused variables.
Takashi Iwai [Wed, 9 Feb 2005 16:59:10 +0000 (16:59 +0000)]
Fix the parse of filenames with spaces
Fixed the parse of filenames with spaces.
Takashi Iwai [Wed, 9 Feb 2005 16:10:41 +0000 (16:10 +0000)]
Remove routing of 5.1 output
Removed the routing of 5.1 output. ICH4 uses the same slot
assignment (3/4/7/8/6/9) like codec chips.
Takashi Iwai [Tue, 8 Feb 2005 20:57:51 +0000 (20:57 +0000)]
Add external PCM plugin SDK (draft version)
Added the external PCM plugin SDK (draft version).
This can be used to create external PCM plugins.
Example codes are found in alsa-plugins directory.
Takashi Iwai [Tue, 8 Feb 2005 20:48:39 +0000 (20:48 +0000)]
Fix hw_params of lfloat plugin
Fixed the bogus hw_refine call in hw_params of lfloat plugin.
Takashi Iwai [Tue, 8 Feb 2005 20:30:15 +0000 (20:30 +0000)]
Fix the include path
Fixed the include path. Apps should include like <alsa/xxx>.
Takashi Iwai [Tue, 8 Feb 2005 20:28:29 +0000 (20:28 +0000)]
Split arch-dependent codes of dmix
Split arch-dependent codes of dmix to separate files.
Clemens Ladisch [Mon, 7 Feb 2005 09:13:58 +0000 (09:13 +0000)]
start pcm when draining in prepared state
For consistency with hw pcms, dmix/dshare pcms are started
when draining in the prepared state with a non-empty buffer.
Takashi Iwai [Fri, 4 Feb 2005 19:18:49 +0000 (19:18 +0000)]
Use bag_for_each_safe() for event handling loop
Use bag_for_each_safe() for event handling loop.
Event callbacks may be destructive.
Takashi Iwai [Tue, 1 Feb 2005 18:19:31 +0000 (18:19 +0000)]
undef gets in case it's a macro
From Thierry Vignaud <tvignaud@mandrakesoft.com>:
from rh: undef gets in case it's a macro (see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141423)
Takashi Iwai [Tue, 1 Feb 2005 18:18:45 +0000 (18:18 +0000)]
stack protection (CAN-2005-0087)
From Thierry Vignaud <tvignaud@mandrakesoft.com>:
from rh: stack protection control (see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144518)
Takashi Iwai [Mon, 31 Jan 2005 11:53:46 +0000 (11:53 +0000)]
Add config file for PC-Speaker driver
Added the config file for PC-Speaker driver (use dmix/null as default PCM)
Takashi Iwai [Mon, 31 Jan 2005 11:51:36 +0000 (11:51 +0000)]
Use dmix/dsnoop for default PCM
Use dmix/dsnoop plugins for default PCM in most of mobo chips
Takashi Iwai [Thu, 27 Jan 2005 15:45:05 +0000 (15:45 +0000)]
Make dsnoop card-specific
Make dsnoop card-specific. Its definition is moved to pcm/dsnoop.conf.
Takashi Iwai [Thu, 27 Jan 2005 15:44:06 +0000 (15:44 +0000)]
Fix a typo in default period size
Fixed a typo in the default period size.
Takashi Iwai [Wed, 26 Jan 2005 10:50:28 +0000 (10:50 +0000)]
Add resmgr support
Added the support for resmgr. A new configure option --with-resmgr is added
to enable the resmgr support.
Takashi Iwai [Fri, 21 Jan 2005 19:38:10 +0000 (19:38 +0000)]
Fix the available formats
Fixed the available formats to be set in hw_refine.
Takashi Iwai [Fri, 21 Jan 2005 19:37:00 +0000 (19:37 +0000)]
Use snd_config_get_bool()
Cleanup using snd_config_get_bool() in possible places.
Takashi Iwai [Fri, 21 Jan 2005 19:35:26 +0000 (19:35 +0000)]
Check error values
Check error values from some functions which were ignored.
Jaroslav Kysela [Thu, 20 Jan 2005 18:37:13 +0000 (18:37 +0000)]
The stream linking problem for pcm_multi.c should be fixed now
- extended link_fd callback
- added snd_pcm_generic_link2()
- added _snd_pcm_link_descriptors()
Takashi Iwai [Thu, 20 Jan 2005 17:46:33 +0000 (17:46 +0000)]
Add pcm_generic.h
Added the missing pcm_generic.h.