]> git.alsa-project.org Git - alsa-lib.git/log
alsa-lib.git
17 years agoRemove sleep_min and tick
Takashi Iwai [Tue, 8 Jan 2008 17:36:18 +0000 (18:36 +0100)]
Remove sleep_min and tick

The sleep_min and tick are removed features from the kernel.
This patch cleans the corresponding part in alsa-lib.

17 years agoRemove PCM xfer_align
Takashi Iwai [Tue, 8 Jan 2008 17:35:29 +0000 (18:35 +0100)]
Remove PCM xfer_align

The PCM xfer_align is a removed feature from the kernel.
This patch cleans up the corresponding part in alsa-lib.

17 years agoRemove indirect control access
Takashi Iwai [Tue, 8 Jan 2008 17:34:36 +0000 (18:34 +0100)]
Remove indirect control access

The indirect control access is removed from the kernel.
This patch cleans the corresponding alsa-lib part.

17 years agoRemove obsolete seq event entries in seq-decoder
Takashi Iwai [Fri, 21 Dec 2007 14:26:17 +0000 (15:26 +0100)]
Remove obsolete seq event entries in seq-decoder

Removed obsolete seq-devent entries in seq-decoder.

17 years agoAdd deprecated attribute to obsolete functions
Takashi Iwai [Fri, 21 Dec 2007 14:25:47 +0000 (15:25 +0100)]
Add deprecated attribute to obsolete functions

Added __attribute__((deprecated)) to declarations of obsolete functions.

17 years agoAdded SNDRV_PCM_IOCTL_TTSTAMP and updated PCM API version to 2.0.9
Jaroslav Kysela [Mon, 17 Dec 2007 08:04:42 +0000 (09:04 +0100)]
Added SNDRV_PCM_IOCTL_TTSTAMP and updated PCM API version to 2.0.9

17 years agoAdd snd_pcm_ioplug_set_state() function
Takashi Iwai [Fri, 14 Dec 2007 14:19:03 +0000 (15:19 +0100)]
Add snd_pcm_ioplug_set_state() function

Added an exported function snd_pcm_ioplug_set_state() to change
the PCM state of ioplug from the plugin side (e.g. from another
thread).

17 years agorevert revision 2264:23c4c0f5de40
Clemens Ladisch [Fri, 14 Dec 2007 08:11:01 +0000 (09:11 +0100)]
revert revision 2264:23c4c0f5de40

The rounding done when converting to smaller sample widths fails for
saturated positive samples; in this case, the sample value overflows and
becomes negative.  We are better off without rounding, even if we then
have quantization noise (of at most half the resolution of the least
significant bit).

ALSA bug#3360; Debian #437827; GNOME #436192; LP #116990; Mandriva #33908

17 years agoFix segfault with strdup(NULL) in softvol
Takashi Iwai [Thu, 13 Dec 2007 14:49:50 +0000 (15:49 +0100)]
Fix segfault with strdup(NULL) in softvol

The last change to fix the slave name may cause a segfault when
name=NULL is passed.  Fixed now.

17 years agodmix: add U8 support
Clemens Ladisch [Mon, 10 Dec 2007 11:35:08 +0000 (12:35 +0100)]
dmix: add U8 support

Add support for direct mixing of U8 samples (for devices like some USB
headsets or the Tux Droid).

17 years agodmix: simplify mix_areas()
Clemens Ladisch [Mon, 10 Dec 2007 11:32:36 +0000 (12:32 +0100)]
dmix: simplify mix_areas()

The code for the three supported sample widths is almost the same, so it
makes sense to merge the three cases.

17 years agodmix: rename mix_areas*
Clemens Ladisch [Mon, 10 Dec 2007 11:31:29 +0000 (12:31 +0100)]
dmix: rename mix_areas*

Rename all mix_areas* symbols so that they contain the sample width
instead of some meaningless number.

17 years agofix write in simple mixer API - python backends
Jaroslav Kysela [Tue, 4 Dec 2007 15:55:00 +0000 (16:55 +0100)]
fix write in simple mixer API - python backends

17 years agoClean up Versions file
Takashi Iwai [Fri, 30 Nov 2007 17:29:01 +0000 (18:29 +0100)]
Clean up Versions file

The entries in the current Versions file don't work as expected.
Since the first ALSA_0.9 has already snd_* global definitions, all
the rest are simply ignored.  Some symbols (e.g. snd_hw_params_*)
indeed work because they have explicit symver definitions, but
ALSA_0.9.6 and later are all superfluous.

This patch clean up these useless entries.  Also, the patch restricts
the matching patterns for _snd_* and __snd_* entries to reduce the
unneeded export symbols.

17 years agoMake local functions really local
Takashi Iwai [Fri, 30 Nov 2007 17:26:13 +0000 (18:26 +0100)]
Make local functions really local

Rename the local functions to snd1_* so that they won't be exported
out of alsa-lib.

Some functions are still kept because aserver requires them.  Sigh.

17 years agooxygen: remove softvol plugin
Clemens Ladisch [Fri, 30 Nov 2007 07:13:40 +0000 (08:13 +0100)]
oxygen: remove softvol plugin

Remove the softvol plugin from all other CMI8788 devices.

17 years agooxygen: add channel status controls
Clemens Ladisch [Fri, 30 Nov 2007 07:10:58 +0000 (08:10 +0100)]
oxygen: add channel status controls

Add mixer controls to manage the S/PDIF channel status bits.

17 years agosoftvol - add missing name
Takashi Iwai [Wed, 28 Nov 2007 13:24:26 +0000 (14:24 +0100)]
softvol - add missing name

softvol can be also a pass-thru when the given control already exists
as a hardware control, and the name isn't set properly because of
slave creation.  This patch fixes it.

17 years agoSet PCM name properly in empty and asym plugins
Takashi Iwai [Mon, 26 Nov 2007 11:29:37 +0000 (12:29 +0100)]
Set PCM name properly in empty and asym plugins

The PCM name isn't set properly on empty and asym plugins due to its call
of snd_pcm_open_slave().  Now a new function snd_pcm_open_named_slave()
is created and make snd_pcm_open_slave() an inline function calling the
new one with name=NULL.

17 years agofix error code when controlC0 device has no enough permissions
Jaroslav Kysela [Sun, 25 Nov 2007 22:20:50 +0000 (23:20 +0100)]
fix error code when controlC0 device has no enough permissions
See alsa bug#3600

17 years agofix error path in snd_config_hook_load_for_all_cards()
Jaroslav Kysela [Sun, 25 Nov 2007 22:19:49 +0000 (23:19 +0100)]
fix error path in snd_config_hook_load_for_all_cards()

17 years agoFix mmap with multi plugin
Takashi Iwai [Fri, 23 Nov 2007 14:46:48 +0000 (15:46 +0100)]
Fix mmap with multi plugin

The mmap of multi plugin seems broken (for a long time!) due to its
creation of local buffer via snd_pcm_mmap().  Since the multi plugin
just needs to shadow the mmap buffer of each slave, it now has
mmap_shadow=1 and its own mmap/unmap method to do shadowing.

17 years agoClean up using gettimestamp()
Takashi Iwai [Wed, 21 Nov 2007 11:19:43 +0000 (12:19 +0100)]
Clean up using gettimestamp()

Introduce a new local function gettimestamp() to get the current timestamp.

17 years agoFix timestamp in status in PCM direct plugins
Takashi Iwai [Wed, 21 Nov 2007 11:10:35 +0000 (12:10 +0100)]
Fix timestamp in status in PCM direct plugins

PCM direct plugins didn't update the timestamp properly.
Now it always starts the slave PCM with MMAP tstamp_mode so that the
timestamp will be being updated.  When a client is set up as MMAP
tstamp_mode as well, simply copy this slave timestamp.  Otherwise
status callback calculates the current timestamp as usual.

17 years agopcm - Limit the avail_min minimum size
Takashi Iwai [Tue, 20 Nov 2007 14:29:10 +0000 (15:29 +0100)]
pcm - Limit the avail_min minimum size

Fix avail_min if it's less than period_size.  The too small avail_min
is simply useless and the cause of CPU hog with rate plugin.

17 years agooxygen: enhance configuration
Clemens Ladisch [Mon, 19 Nov 2007 07:07:19 +0000 (08:07 +0100)]
oxygen: enhance configuration

Remove the now superfluous softvol plugin from the CMI8788
configuration, use 24-bit samples for dmix, and add an alias for the
AV200 driver.

17 years agoalsa.conf: cosmetic change
Clemens Ladisch [Mon, 19 Nov 2007 06:55:49 +0000 (07:55 +0100)]
alsa.conf: cosmetic change

Add a whitespace to make the ctl.hw definition better readable.

17 years agoFix wrong return values in direct plugins
Takashi Iwai [Fri, 16 Nov 2007 11:06:43 +0000 (12:06 +0100)]
Fix wrong return values in direct plugins

Fixed the codes returning error values that are not set properly
via errno.

17 years agoRemove ugly hack in rate plugin poll_descriptors callback
Stas Sergeev [Mon, 12 Nov 2007 11:01:16 +0000 (12:01 +0100)]
Remove ugly hack in rate plugin poll_descriptors callback

The rate plugin has ugly hacks in poll_descriptors callback to adjust
avail_min when partial read/write occurs.  This causes often unexpected
problems like XRUNs, especially with two-period cases.

Let's remove that beast, it's rather harmful than useful.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
17 years agosimple mixer: fix calculation of control range
Clemens Ladisch [Mon, 12 Nov 2007 07:50:08 +0000 (08:50 +0100)]
simple mixer: fix calculation of control range

When calculating the value range of a control, the variables cannot be
initialized with zero because this would prevent the minimum from having
a value above zero or the maximum from having a value below zero.

17 years agomidiloop: use blocking mode
Clemens Ladisch [Mon, 12 Nov 2007 07:49:10 +0000 (08:49 +0100)]
midiloop: use blocking mode

Busy waiting is evil - use blocking mode when reading the actual test data.

17 years agoioplug - Fix the refinement of period_* after periods
Takashi Iwai [Mon, 5 Nov 2007 11:46:46 +0000 (12:46 +0100)]
ioplug - Fix the refinement of period_* after periods

When changing only PERIODS after BUFFER_*, ioplug doesn't update
the corresponding PERIOD_* parameters properly.  This should fix
ALSA bug#2601.

17 years agoRe-add assert.h to asoundlib.h
Takashi Iwai [Tue, 30 Oct 2007 13:28:30 +0000 (14:28 +0100)]
Re-add assert.h to asoundlib.h

Looks like many apps rely on implicit inclusion of assert.h in asoundlib.h.
Take it back again to make them happy.

17 years agoRemove sequencer instrument layer
Takashi Iwai [Tue, 30 Oct 2007 11:31:55 +0000 (12:31 +0100)]
Remove sequencer instrument layer

Remove obsoleted sequencer instrument layer from alsa-lib.
The old symbols are compiled in as default as dummy functions
(unless --disable-old-symbols is given to configure) so that
the old binaries can still work more or less.

17 years agoUpdate asound_fm.h for patch loading over hwdep
Takashi Iwai [Tue, 30 Oct 2007 10:50:45 +0000 (11:50 +0100)]
Update asound_fm.h for patch loading over hwdep

Update asound_fm.h to add the new struct and ioctl for patch loading
over hwdep.

17 years agoRemove assert from header files
Takashi Iwai [Thu, 25 Oct 2007 13:36:03 +0000 (15:36 +0200)]
Remove assert from header files

Putting assert in the public macros isn't good idea at all.
Let's get rid of them.

Also, clean up snd*_alloca() functions to use a helper macro
instead of copy and paste.

17 years agoFix gcc compile warnings
Takashi Iwai [Thu, 25 Oct 2007 13:34:43 +0000 (15:34 +0200)]
Fix gcc compile warnings

Fix gcc compile warnings with nasty const cast.  Let's use simply macros
instead of inline functions.  It's just an array access after all...

17 years agoExport dB conversion helper functions
Takashi Iwai [Wed, 24 Oct 2007 11:04:14 +0000 (13:04 +0200)]
Export dB conversion helper functions

Export helper functions to convert dB level and range.

snd_tlv_*dB*() are to convert dB level or range directly from TLV data.
snd_ctl_*dB*() are to get dB level or range from a control element.

17 years agoChange assert condition in error message handler
Takashi Iwai [Wed, 24 Oct 2007 10:53:08 +0000 (12:53 +0200)]
Change assert condition in error message handler

Activating assert() in the default error message handler isn't always
good for producitve systems.  Make this optional and enable only when
a special configure option is given (i.e. for explicit debugging).

17 years agosnd_pcm_dmix_close: raise semaphore if unable to discard
Takashi Iwai [Thu, 18 Oct 2007 09:10:35 +0000 (11:10 +0200)]
snd_pcm_dmix_close: raise semaphore if unable to discard

This patch causes snd_pcm_dmix_close() to up a semaphore after downing it
if it is unable to discard it.  It prevents some deadlock that I am
getting when a couple of applications interact and one of them closes the
device and later re-opens it.

From: Mike Gorse <mgorse@mgorse.dhs.org>

17 years agoAdded tag v1.0.15 for changeset 9e2f117f24b9
Jaroslav Kysela [Mon, 15 Oct 2007 08:36:46 +0000 (10:36 +0200)]
Added tag v1.0.15 for changeset 9e2f117f24b9

17 years agorelease 1.0.15 v1.0.15
Jaroslav Kysela [Mon, 15 Oct 2007 08:36:46 +0000 (10:36 +0200)]
release 1.0.15
Patch-level: Merged

17 years agoChanged Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
Jaroslav Kysela [Mon, 15 Oct 2007 08:24:55 +0000 (10:24 +0200)]
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz

17 years agoAdded tag v1.0.15rc3 for changeset d2c731f5701f
Jaroslav Kysela [Fri, 21 Sep 2007 08:40:55 +0000 (10:40 +0200)]
Added tag v1.0.15rc3 for changeset d2c731f5701f

17 years agorelease 1.0.15rc3 v1.0.15rc3
Jaroslav Kysela [Fri, 21 Sep 2007 08:40:55 +0000 (10:40 +0200)]
release 1.0.15rc3
Patch-level: Merged

17 years agoFix wrong offset calculation in snd_pcm_{read|write}_mmap()
Takashi Iwai [Thu, 20 Sep 2007 11:20:03 +0000 (13:20 +0200)]
Fix wrong offset calculation in snd_pcm_{read|write}_mmap()

The offset used in snd_pcm_{read|write}_mmap() is not the linear offset
but the offset in a ring buffer.  It has to be rounded.

17 years agoPC-Speaker config update
Stas Sergeev [Wed, 19 Sep 2007 19:29:41 +0000 (21:29 +0200)]
PC-Speaker config update

The attached patch updates the PC-Speaker.conf for the use of softvol.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
17 years agoFix subdevice number to 0 for dmix/dsnoop
Takashi Iwai [Mon, 17 Sep 2007 13:03:52 +0000 (15:03 +0200)]
Fix subdevice number to 0 for dmix/dsnoop

The dmix and dsnoop plugins need a fixed substream number instead of
the next-available one (-1) as the default number.  Now it's set to 0.

18 years agochanged python-incdir to python-includes for configure.in
Jaroslav Kysela [Wed, 12 Sep 2007 13:02:03 +0000 (15:02 +0200)]
changed python-incdir to python-includes for configure.in

18 years agoAdded tag v1.0.15rc2 for changeset 6e8e8b05cef4
Jaroslav Kysela [Wed, 12 Sep 2007 09:15:52 +0000 (11:15 +0200)]
Added tag v1.0.15rc2 for changeset 6e8e8b05cef4

18 years agorelease 1.0.15rc2 v1.0.15rc2
Jaroslav Kysela [Wed, 12 Sep 2007 09:15:52 +0000 (11:15 +0200)]
release 1.0.15rc2
Patch-level: Merged

18 years agoAllow empty pythonincdir option
Takashi Iwai [Fri, 31 Aug 2007 14:41:19 +0000 (16:41 +0200)]
Allow empty pythonincdir option

The include path options can be empty if the python is installed in
the standard header path.  So, configure shouldn't check its emptiness.

18 years agoFix a typo
Takashi Iwai [Fri, 31 Aug 2007 14:40:07 +0000 (16:40 +0200)]
Fix a typo

$PYTHON_INCDIR itself already contains -I

18 years agoimproved python detection and added --with-pythonincdir for configure.in
Jaroslav Kysela [Fri, 31 Aug 2007 13:22:26 +0000 (15:22 +0200)]
improved python detection and added --with-pythonincdir for configure.in

18 years agoalsa simple mixer - python basic abstraction - simplified using get/setArray
Jaroslav Kysela [Thu, 30 Aug 2007 12:12:42 +0000 (14:12 +0200)]
alsa simple mixer - python basic abstraction - simplified using get/setArray

18 years agoAdded tag v1.0.15rc1 for changeset 0de58d1f43df
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:29 +0000 (10:23 +0200)]
Added tag v1.0.15rc1 for changeset 0de58d1f43df

18 years agorelease 1.0.15rc1 v1.0.15rc1
Jaroslav Kysela [Thu, 30 Aug 2007 08:23:29 +0000 (10:23 +0200)]
release 1.0.15rc1
Patch-level: Merged

18 years agoAdd dynamically created files to ignore file
Takashi Iwai [Wed, 29 Aug 2007 12:50:52 +0000 (14:50 +0200)]
Add dynamically created files to ignore file

18 years agoHandle "Input Source" as a capture element
Takashi Iwai [Wed, 29 Aug 2007 12:48:31 +0000 (14:48 +0200)]
Handle "Input Source" as a capture element

Some drivers use "Input Source" as the capture source mixer element because
mixer abstraction layer can't handle multiple "Capture Source" elements.
This patch adds a hack to handle Input Source as a capture route, and let
mixer apps know that it's a capture stuff, at least.

18 years agoAdd the missing include/mixer.h to doxygen.cfg
Takashi Iwai [Wed, 22 Aug 2007 12:24:58 +0000 (14:24 +0200)]
Add the missing include/mixer.h to doxygen.cfg

18 years agoAdd missing CMI8788.conf to Makefile.am
Takashi Iwai [Wed, 22 Aug 2007 11:12:21 +0000 (13:12 +0200)]
Add missing CMI8788.conf to Makefile.am

18 years agoContinue build even if python-config doesn't exist
Takashi Iwai [Wed, 22 Aug 2007 09:41:58 +0000 (11:41 +0200)]
Continue build even if python-config doesn't exist

It's annoying that the configure script stops with an error if
python-config doesn't exist.  It's no fatal error, so the configure
should disable the python components and continue.

18 years agocmi8788: add alsa-lib config
Clemens Ladisch [Wed, 22 Aug 2007 07:42:13 +0000 (09:42 +0200)]
cmi8788: add alsa-lib config

Add a .conf file to enable dmix/dsnoop and softvol for CMI8788.

Using dmix helps mask the bug that all audio is forced to 48 kHz. :-)

18 years agoFix a typo in configure script
Takashi Iwai [Wed, 15 Aug 2007 13:54:47 +0000 (15:54 +0200)]
Fix a typo in configure script

18 years agoFix use after free
Takashi Iwai [Wed, 15 Aug 2007 12:22:33 +0000 (14:22 +0200)]
Fix use after free

Fixed use after free (ALSA bug#3300).

18 years agoAdd missing pcm_empty.c in doxygen configuration
Takashi Iwai [Fri, 10 Aug 2007 15:41:49 +0000 (17:41 +0200)]
Add missing pcm_empty.c in doxygen configuration

18 years agoseq_midi_event: fix parsing of F9/FD bytes
Clemens Ladisch [Fri, 10 Aug 2007 07:41:17 +0000 (09:41 +0200)]
seq_midi_event: fix parsing of F9/FD bytes

Check for a valid event type when encoding a system real-time message to
prevent the bytes F9 or FD resulting in an empty sequencer message.

18 years agoseq_midi_event: fix parsing of missing data bytes
Clemens Ladisch [Fri, 10 Aug 2007 07:40:29 +0000 (09:40 +0200)]
seq_midi_event: fix parsing of missing data bytes

Reorganize the encoder logic to prevent status bytes that appear where
data bytes are expected from being interpreted as data bytes.

18 years agoseq_midi_event: prevent running status after system messages
Clemens Ladisch [Fri, 10 Aug 2007 07:39:24 +0000 (09:39 +0200)]
seq_midi_event: prevent running status after system messages

Reset the event type after encoding a system message to prevent any
following data bytes from being interpreted as data for a running status
system message, which is not allowed in MIDI.

18 years agoseq_midi_event: fix encoding of data bytes after end of sysex
Clemens Ladisch [Fri, 10 Aug 2007 07:38:47 +0000 (09:38 +0200)]
seq_midi_event: fix encoding of data bytes after end of sysex

Create a new state ST_INVALID for the encoder to prevent data bytes at
the beginning of a stream or after a sysex message being interpreted as
note-off parameters.

18 years agoDon't set PCM pointer at error in snd_pcm_hw_open()
Takashi Iwai [Mon, 6 Aug 2007 14:09:27 +0000 (16:09 +0200)]
Don't set PCM pointer at error in snd_pcm_hw_open()

snd_pcm_hw_open() may set a non-NULL to pcmp even if it returns an error.
Some codes like dmix expects it's NULL, and cause the double free().

18 years agoremove unused variables
Clemens Ladisch [Fri, 13 Jul 2007 10:44:43 +0000 (12:44 +0200)]
remove unused variables

Remove some unused variables that the compiler warned about.

18 years agoSplit mmap-emulation code from hw layer
Takashi Iwai [Wed, 11 Jul 2007 15:44:09 +0000 (17:44 +0200)]
Split mmap-emulation code from hw layer

Move out mmap-emulation code from hw layer to its own plugin.
This cleans up the mess in pcm_hw.c.

18 years agoFix clean-up of header files
Takashi Iwai [Wed, 11 Jul 2007 14:55:54 +0000 (16:55 +0200)]
Fix clean-up of header files

Use DISTCLEANFILES instead of CLEANFILES for removal of dynamic
header files.

18 years agomixer simple basic abstraction - added python binding
Jaroslav Kysela [Wed, 11 Jul 2007 08:10:12 +0000 (10:10 +0200)]
mixer simple basic abstraction - added python binding
reasons:
- rapid development
- class-like code structure
- more readable code
features:
- hcontrol binding is managed from python (opportunity to create
  virtual mixer without driver or join multiple cards to behave as one)

18 years agoCreate asoundlib.h dynamically according to configure options
Takashi Iwai [Tue, 10 Jul 2007 13:58:41 +0000 (15:58 +0200)]
Create asoundlib.h dynamically according to configure options

Create asoundlib.h dynamically according to configure options.
This avoids the inclusion of unused API headers.
Also don't install unused API headers.

18 years agoAdded PS3 configuration
Takashi Iwai [Thu, 5 Jul 2007 10:58:10 +0000 (12:58 +0200)]
Added PS3 configuration

Added PS3 configuration.
No iec958 PCM at this stage since it doesn't support passthru yet.

18 years agofix mmap emulation bug of recording doesn't work
Takashi Iwai [Thu, 5 Jul 2007 10:15:16 +0000 (12:15 +0200)]
fix mmap emulation bug of recording doesn't work

From: Roy Huang <royhuang9@gmail.com>

Record doesn't work if enabling mmap emulation and rate conversion
needed, this patch fix this bug.

18 years agoFix undefined references in namehint.c
Takashi Iwai [Tue, 3 Jul 2007 18:22:21 +0000 (20:22 +0200)]
Fix undefined references in namehint.c

Fixed undefined references in namehint.c when not all components are
selected via configure options.

18 years agoUse S16_BE as dmix format for PPC drivers
Takashi Iwai [Tue, 3 Jul 2007 17:55:57 +0000 (19:55 +0200)]
Use S16_BE as dmix format for PPC drivers

PPC drivers should use S16_BE as the base format of dmix/dsnoop.
This avoid confusion of format endianess via CPU emulation.

18 years agoAdd support of little-endian on i386/x86_64 dmix
Takashi Iwai [Tue, 3 Jul 2007 17:52:33 +0000 (19:52 +0200)]
Add support of little-endian on i386/x86_64 dmix

i386/x86_64 alsa-lib may need to handle big-endian formats, e.g.
when running via qemu on PPC.  The generic dmix code already has
both endian support, so let's use it as fallback.

18 years agoFix the build of lfloat plugin
Takashi Iwai [Thu, 28 Jun 2007 11:26:25 +0000 (13:26 +0200)]
Fix the build of lfloat plugin

Fixed the wrong check of softfloat in configure, which resulted in
disablement of lfloat plugin.

18 years agoAdded tag v1.0.14a for changeset 9005d28a1f9e
Jaroslav Kysela [Mon, 11 Jun 2007 08:52:17 +0000 (10:52 +0200)]
Added tag v1.0.14a for changeset 9005d28a1f9e

18 years agorelease 1.0.14a v1.0.14a
Jaroslav Kysela [Mon, 11 Jun 2007 08:52:17 +0000 (10:52 +0200)]
release 1.0.14a
Patch-level: Merged

18 years agoFix plugin directory
Takashi Iwai [Fri, 8 Jun 2007 09:35:03 +0000 (11:35 +0200)]
Fix plugin directory

Fix a typo in configure script that results in a wrong plugin directory.
ALSA bug#3148
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3148

18 years agoProperly disable -Bsymbolic-functions if ld doesn't support
Takashi Iwai [Mon, 4 Jun 2007 13:22:04 +0000 (15:22 +0200)]
Properly disable -Bsymbolic-functions if ld doesn't support

Disable -Bsymbolic-functions option properly if the ld on the system
doesn't support it.

18 years agoAdded tag v1.0.14 for changeset 83a170c1f7c4
Jaroslav Kysela [Thu, 31 May 2007 06:54:49 +0000 (08:54 +0200)]
Added tag v1.0.14 for changeset 83a170c1f7c4

18 years agorelease 1.0.14 v1.0.14
Jaroslav Kysela [Thu, 31 May 2007 06:54:49 +0000 (08:54 +0200)]
release 1.0.14
Patch-level: Merged

18 years agoSpecify subdevice number for Maestor3 dmix setting
Takashi Iwai [Tue, 22 May 2007 16:38:58 +0000 (18:38 +0200)]
Specify subdevice number for Maestor3 dmix setting

The subdevice number of a dmix slave PCM has to be specified explicitly
for the device with multiple substreams such as Maestro3.

18 years agodmix/dshare/dsnoop plugin: enable slowptr by default
Clemens Ladisch [Mon, 21 May 2007 07:13:19 +0000 (09:13 +0200)]
dmix/dshare/dsnoop plugin: enable slowptr by default

Enabling the slowptr options does not make snd_pcm_delay() and related
functions much slower than they would have been with a hw device, while
disabling this option greatly reduces the accuracy of those functions,
thus creating more jitter in any media player application that
synchronizes its output to the sound device.

Therefore, it is preferrable to have this option enabled by default.

18 years agoAdd support for gain in softvol plugin
Steve Longerbeam [Fri, 18 May 2007 13:04:12 +0000 (15:04 +0200)]
Add support for gain in softvol plugin

This patch allows for gain in the softvol plugin, in addition to attenuation.
The plugin now has a "max_dB" parameter (up to 50 dB) as well as the
original "min_dB" parameter (down to -51 dB). max_dB defaults to 0 dB, so
unless max_dB is specified in a device conf, the behavior of the plugin will
be the same as before (attenuation only).

HDA-Intel.conf is also modified to use softvol for its default capture.
So now, capture is filtered through softvol (range -30 to +30 dB) before
being passed on to dsnoop as before.

The softvol plugin allows a range of -51 to +50 dB, so max_dB could be
increased to 50. But eventually samples are going to get clipped. At 40
dB I was beginning to get clipping when recording a sample sound at a
"reasonably soft" volume using a digital mic on the stac9205 HDA codec.

The motivation for this work is that some HDA codecs have no hardware gain
control for some paths. For instance, the stac9205 has support for digital
mics, but there is no gain control widget for this signal before it is placed
on the Azalia link (only a mute). Therefore gain can only be accomplished
via software.

Signed-off-by: Steve Longerbeam <stevel@embeddedalley.com>
18 years agoRevert the wrong change in src/pcm/Makefile.am
Takashi Iwai [Tue, 15 May 2007 13:58:58 +0000 (15:58 +0200)]
Revert the wrong change in src/pcm/Makefile.am

Reverted the wrong change in src/pcm/Makefile.am, accidentally merged
from my own development version...

18 years agoAdd config and plugin directory options to configure
Takashi Iwai [Thu, 3 May 2007 18:55:54 +0000 (20:55 +0200)]
Add config and plugin directory options to configure

Added --with-configdir and --with-plugindir options to configure
which specify the directories for config files and plugin objects
respectively.  The default paths when these options are not
specified are unchanged.

18 years agoAdded tag v1.0.14rc4 for changeset b557eb8496bb
Jaroslav Kysela [Wed, 2 May 2007 06:45:45 +0000 (08:45 +0200)]
Added tag v1.0.14rc4 for changeset b557eb8496bb

18 years agorelease 1.0.14rc4 v1.0.14rc4
Jaroslav Kysela [Wed, 2 May 2007 06:45:45 +0000 (08:45 +0200)]
release 1.0.14rc4
Patch-level: Merged

18 years agoAdd --enable-symbolic-functions configure option
Takashi Iwai [Tue, 10 Apr 2007 11:24:52 +0000 (13:24 +0200)]
Add --enable-symbolic-functions configure option

Added --enable-symbolic-functions configure option.  This will detect
and pass -Bsymbolic-functions linker option, which gives you better
performance and smaller binary size.  Only recent binutils supports
this option.

18 years agoAdd missing smixer.conf for installation
Takashi Iwai [Thu, 5 Apr 2007 15:19:40 +0000 (17:19 +0200)]
Add missing smixer.conf for installation

18 years agoFixed an access to uninitialized variable in pcm_rate.c
Takashi Iwai [Wed, 28 Mar 2007 12:31:46 +0000 (14:31 +0200)]
Fixed an access to uninitialized variable in pcm_rate.c

Fixed an access to uninitialized variable in pcm_rate.c (in error message).

18 years agoAdd missing control_ext entry
Takashi Iwai [Wed, 28 Mar 2007 12:30:58 +0000 (14:30 +0200)]
Add missing control_ext entry

Added missing entry for control_ext.c for static symbol table.

18 years agoUse AS_HELP_STRING in configure.in
Takashi Iwai [Wed, 28 Mar 2007 12:03:10 +0000 (14:03 +0200)]
Use AS_HELP_STRING in configure.in

Use AS_HELP_STRING macro in configure.in.
Fix some help descriptions.