Takashi Iwai
676913bcdb
Add the missing card alias for Prodigy71Hifi
...
See ALSA bug#3735
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3735
2008-02-01 12:00:39 +01:00
Jaroslav Kysela
46a5e8138a
Added tag v1.0.16rc2 for changeset 06fcc64b20b3
2008-01-29 09:30:53 +01:00
Jaroslav Kysela
8b2bcfffbe
release 1.0.16rc2
...
Patch-level: Merged
2008-01-29 09:30:53 +01:00
Takashi Iwai
c1d06bda17
Allow auto-config for dsnoop and dshare plugins
2008-01-23 12:26:22 +01:00
Takashi Iwai
d902c124b4
Remove obsolete instr directory
2008-01-23 08:06:11 +01:00
Jaroslav Kysela
59855f4671
Added tag v1.0.16rc1 for changeset 81eabb0e6c10
2008-01-21 10:42:47 +01:00
Jaroslav Kysela
363c3ffa73
release 1.0.16rc1
...
Patch-level: Merged
2008-01-21 10:42:47 +01:00
Takashi Iwai
1683a1b8bd
Fix a memory leak in PCM hook plugin
2008-01-18 14:43:56 +01:00
Takashi Iwai
35d4f9b8d7
dmix - Enable auto format detection as default
...
The direct plugins have the automatic format-detection feature but it
wasn't enabled properly in the interface. Now you can pass the format
"unchanged" to make the plugin detect a proper format.
This will change the default format of some drivers, such as, HD-audio.
2008-01-18 13:42:51 +01:00
Takashi Iwai
91fc64cefb
Implement missing htimestamp callbacks
...
Implemented the missing htimestamp callbacks for ioplug, rate and null
plugins.
2008-01-15 14:29:34 +01:00
Jaroslav Kysela
77849672cd
Allow pcm slave string references for direct plugins (bug#2893).
2008-01-15 14:07:19 +01:00
Takashi Iwai
6968ba94f3
Add missing remix_areas_* for x86-64
...
The remix_areas_* were missing the dmix x86-64 code. Added now.
2008-01-14 17:24:14 +01:00
Takashi Iwai
bf004f1c52
Add SND_PCM_TSTAMP_MMAP back
...
SND_PCM_TSTAMP_MMAP is used (blidnly) by portaudio, unfortunately.
Re-added it not to break API.
2008-01-14 17:15:13 +01:00
Clemens Ladisch
50ce5d049e
fix memory leak in snd_config_update_r error path
...
Do not forget to free the memory for the file name when a file to be
read by snd_config_update_r() cannot be accessed.
2008-01-14 08:53:06 +01:00
Clemens Ladisch
fb3a4e8b70
pcm dmix plugin: fix generic direct remixing
...
In the case of the sum buffer being uninitialized, the source sample
must be negated not only when writing to the sum but also when writing
to the destination.
2008-01-14 08:52:16 +01:00
Clemens Ladisch
0e8a259914
check availability of CLOCK_MONOTONIC
...
Use monotonic timestamps only after checking that CLOCK_MONOTONIC is
actually supported by the C library.
2008-01-14 08:51:45 +01:00
Clemens Ladisch
07e1341548
pcm hw plugin: use TSTAMP only with old drivers
...
There is no need to call the TSTAMP ioctl with newer driver versions.
2008-01-14 08:50:46 +01:00
Clemens Ladisch
6f751a923d
pcm hw plugin: fix TTSTAMP version check
...
Fix the version check that determines the availability of the TTSTAMP
ioctl.
2008-01-14 08:50:18 +01:00
Clemens Ladisch
cf822aceef
pcm plug plugin: remove duplicated expression
...
Remove a needlessly duplicated expression.
2008-01-14 08:49:35 +01:00
Jaroslav Kysela
ab8331c882
Added possibility to disable also channel and format conversions + softvol.
...
Unified disable option using mode bits in snd_pcm_open().
2008-01-11 17:21:44 +01:00
Jaroslav Kysela
6814d23d29
SND_PCM_TSTAMP_MMAP -> SND_PCM_TSTAMP_ENABLE change
2008-01-11 08:54:07 +01:00
Jaroslav Kysela
70b11d614d
Implemented snd_pcm_rewind() for the dmix plugin
2008-01-10 10:01:14 +01:00
Takashi Iwai
8f16428f9c
Don't use deprecated functions inside
...
Use the new functions in snd_pcm_sw_params_dump().
2008-01-09 17:21:09 +01:00
Takashi Iwai
3e35983f95
Avoid (null) in printf
...
Show '[builtin]' when the library name is NULL in error messages.
2008-01-09 17:17:58 +01:00
Takashi Iwai
328824509f
Fix exported symbols for hooks and functions
...
The functions dynamically loaded via plugin aren't fully listed
in the exported functions in Versions file. This caused errors at
opening devices with such plugins.
2008-01-09 17:17:14 +01:00
Jaroslav Kysela
2c1318803f
Impemented snd_pcm_htimestamp() function.
2008-01-09 13:50:45 +01:00
Jaroslav Kysela
309a274454
Add support for monotonic timestamps
2008-01-09 11:13:34 +01:00
Clemens Ladisch
a73ad3f265
conf: show path of any missing configuration file
...
In all cases where a configuration file is not found, show an error
message with its full path.
2008-01-09 09:42:42 +01:00
Takashi Iwai
8fab259170
Fix function declarations with old PCM API
...
The functions that are obsoleted in the last patches conflict with the
old PCM API. Fixed with ifdef.
2008-01-09 09:45:26 +01:00
Takashi Iwai
679cea4125
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.
2008-01-08 18:36:18 +01:00
Takashi Iwai
cf15e49d84
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.
2008-01-08 18:35:29 +01:00
Takashi Iwai
e1e9e3ff82
Remove indirect control access
...
The indirect control access is removed from the kernel.
This patch cleans the corresponding alsa-lib part.
2008-01-08 18:34:36 +01:00
Takashi Iwai
d23669585d
Remove obsolete seq event entries in seq-decoder
...
Removed obsolete seq-devent entries in seq-decoder.
2007-12-21 15:26:17 +01:00
Takashi Iwai
173d8a8b58
Add deprecated attribute to obsolete functions
...
Added __attribute__((deprecated)) to declarations of obsolete functions.
2007-12-21 15:25:47 +01:00
Jaroslav Kysela
7562320e3b
Added SNDRV_PCM_IOCTL_TTSTAMP and updated PCM API version to 2.0.9
2007-12-17 09:04:42 +01:00
Takashi Iwai
ce64f433a6
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).
2007-12-14 15:19:03 +01:00
Clemens Ladisch
86456d21e0
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
2007-12-14 09:11:01 +01:00
Takashi Iwai
74880110c3
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.
2007-12-13 15:49:50 +01:00
Clemens Ladisch
6e6f4b9c93
dmix: add U8 support
...
Add support for direct mixing of U8 samples (for devices like some USB
headsets or the Tux Droid).
2007-12-10 12:35:08 +01:00
Clemens Ladisch
a3fe1f7800
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.
2007-12-10 12:32:36 +01:00
Clemens Ladisch
79db4a6bfa
dmix: rename mix_areas*
...
Rename all mix_areas* symbols so that they contain the sample width
instead of some meaningless number.
2007-12-10 12:31:29 +01:00
Jaroslav Kysela
de2b7a42d7
fix write in simple mixer API - python backends
2007-12-04 16:55:00 +01:00
Takashi Iwai
8a035282ac
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.
2007-11-30 18:29:01 +01:00
Takashi Iwai
7dca3ab1ea
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.
2007-11-30 18:26:13 +01:00
Clemens Ladisch
e68bd91cf9
oxygen: remove softvol plugin
...
Remove the softvol plugin from all other CMI8788 devices.
2007-11-30 08:13:40 +01:00
Clemens Ladisch
8be2d013f0
oxygen: add channel status controls
...
Add mixer controls to manage the S/PDIF channel status bits.
2007-11-30 08:10:58 +01:00
Takashi Iwai
2ae2bbf190
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.
2007-11-28 14:24:26 +01:00
Takashi Iwai
72ede8a12d
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.
2007-11-26 12:29:37 +01:00
Jaroslav Kysela
a2d98ebd42
fix error code when controlC0 device has no enough permissions
...
See alsa bug#3600
2007-11-25 23:20:50 +01:00
Jaroslav Kysela
2ba380fdc4
fix error path in snd_config_hook_load_for_all_cards()
2007-11-25 23:19:49 +01:00