OSDN Git Service
Lennart Poettering [Sun, 31 Aug 2008 01:42:20 +0000 (03:42 +0200)]
alsa-lib: Reword doxygen doc for snd_pcm_delay()
snd_pcm_delay() is for synchronization purposes, it returns the overall latency
of the stream, not just the latency induced by the hardware playback buffer.
The documentation is a bit misleading about this fact, and some people already
misunderstood it. So let's reword this to make the explanation clearer and
explicit.
This is a result of the discussions of the thread this mail belongs to:
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-June/008456.html
From: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Lennart Poettering [Sun, 31 Aug 2008 01:41:48 +0000 (03:41 +0200)]
alsa-lib: Make sure SND_PCM_NO_xxx flags don't get lost when nonblocking mode is enabled
The plug PCM copies the 'mode' field from the slave PCM. If blocking mode is
enabled for the plug PCM the mode is subsequently overwritten with the original
requested 'mode'. If non-blocking mode is requested this does not happen.
Because the hw PCM synthesizes the 'mode' from the actual file descriptor flags
no SND_PCM_NO_xxx will ever be set for it. This has the effect that the 'mode'
of the plug PCM will also not include those flags anymore -- unless they are
overwritten as mentioned above. This basically means SND_PCM_NO_xxx is ignored
for plug:hw:4711 style device strings opened in non-blocking mode.
You can easily test this with "aplay --channels 7 --disable-channels -f S16_LE
-r 44100 -D plug:hw:0" on a device that cannot do 7 channels. Normally this
call should fail, however if you add "-N" to the command line this call will
succeed.
This patch simply copies the SND_PCM_NO_xxx flags back into the 'mode' field in
case we don't overwrite it with the original anyway.
Probably closes bug 3571 for good.
From: Lennart Poettering <mznyfn@0pointer.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Fri, 15 Aug 2008 11:28:55 +0000 (13:28 +0200)]
Release v1.0.17a
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Pawel MOLL [Fri, 1 Aug 2008 10:23:50 +0000 (11:23 +0100)]
IEC958 definition for consumer status channel update
Updated IEC958 consumer status channel definitions according
to the third edition of IEC60958-3 spec.
Signed-off-by: Pawel Moll <pawel.moll@st.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Takashi Iwai [Thu, 31 Jul 2008 10:18:08 +0000 (12:18 +0200)]
Fix non-tread mode with PCM direct plugins
tread=0 wasn't set properly for very old ALSA drivers with no timer
tread support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Tue, 29 Jul 2008 12:41:51 +0000 (14:41 +0200)]
Fix interleave check in pcm_direct.c
Fix the check of interleaved format. It checked a totally bogus value
as PCM format.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Lennart Poettering [Fri, 18 Jul 2008 19:24:38 +0000 (21:24 +0200)]
fix return value of snd_pcm_rewind()/snd_pcm_forward() to return how much actually has been rewound, instead of what actually could have rewound
Make snd_pcm_plugin_rewind()/_forward() actually return how much has
been rewound/forwarded instead of how much could have been
rewounded/forwarded. This makes the code actually do what the
documentation of snd_pcm_rewind() suggests.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Lennart Poettering [Fri, 18 Jul 2008 19:22:50 +0000 (21:22 +0200)]
fix type of internally used sframes variable, to avoid unnecessary casts
This minor patch fixes the type of the sframes variable in
snd_pcm_plugin_forward(). With this fix we need to cast less and the
code is less confusing.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Lennart Poettering [Fri, 18 Jul 2008 19:21:23 +0000 (21:21 +0200)]
clamp snd_pcm_rewind()/snd_pcm_forward() into the right direction
The clamping of the input parameter in snd_pcm_rewind()/_forward() is
in the wrong direction.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Wed, 16 Jul 2008 10:37:51 +0000 (12:37 +0200)]
Add boolean (mute) functionality to softvol plugin
When the resolution is set to 2, a boolean control is created as a
mute switch instead of a volume control.
Also, fixed the possible zero-division error.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 14 Jul 2008 08:57:56 +0000 (10:57 +0200)]
Release v1.0.17
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Takashi Iwai [Thu, 10 Jul 2008 16:45:23 +0000 (18:45 +0200)]
test/pcm.c: Fix SND_PCM_FORMAT_S24 support
The program uses snd_pcm_format_width() wrongly to calculate the sample
size. It must be snd_pcm_format_physical_width() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Thu, 10 Jul 2008 16:44:15 +0000 (18:44 +0200)]
Fix type-punning in test/pcm.c
The cast won't work well with strict aliasing.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 16 Jun 2008 11:23:22 +0000 (13:23 +0200)]
pcm: fix comment for snd_pcm_avail_update()
In some cases, value might be used for r/w ops, too.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Mon, 16 Jun 2008 07:40:42 +0000 (09:40 +0200)]
Release v1.0.17rc2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Josh Green [Sat, 7 Jun 2008 08:10:49 +0000 (10:10 +0200)]
Fix segfault with dmix of 3-bytes formats
The i386 and x86-64 dmix may cause segfaults when 3-bytes formats are used
due to btsl asm code, which may overcome the buffer end-boundary.
The patch changes btsl to btsw so that it doesn't happen.
ALSA bug#3341:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3341
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 15:10:41 +0000 (17:10 +0200)]
PCM: allow mmap-access conversion in plug
The plug plugin has a long-standing problem that it can handle only
slaves that support mmap because of format/rate/access conversions
(these corresponding plugins work only with mmap).
This patch adds the support of automatic mmap->rw conversion via
mmap_emul plugin.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 15:09:07 +0000 (17:09 +0200)]
Export __snd_pcm_mmap_emul_open()
Export __snd_pcm_mmap_emul_open() for plug layer. This isn't exported
globally, though.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 15:07:45 +0000 (17:07 +0200)]
pcm_mmap_emul: clean up
A little bit of code clean up.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 15:05:56 +0000 (17:05 +0200)]
pcm_mmap_emul: Fix invalid check
The check in snd_pcm_mmap_emul_refine() is bogus and buggy.
Since the changed access type is took back at snd_pcm_mmap_emul_refine
again, it has to check the availability of mmap at each time.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 14:59:47 +0000 (16:59 +0200)]
Fix compile warnings in pcm_hw.c
Two trivial compile warning fixes:
- Add a missing return to snd_pcm_hw_clear_timer_queue()
- params->info is no long but int
The second one might have hit already on 64bit machine, but alas,
no one didn't notice it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai [Fri, 6 Jun 2008 14:58:02 +0000 (16:58 +0200)]
Fix cast warning
int64_t and long long isn't strictly identical, and thus gcc gives us
a heartful warning. Suppress the warning by a pointer cast.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Tue, 3 Jun 2008 08:18:14 +0000 (10:18 +0200)]
Release v1.0.17rc1
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Tue, 3 Jun 2008 08:17:48 +0000 (10:17 +0200)]
hgcompile -> gitcompile
Jaroslav Kysela [Tue, 20 May 2008 11:29:44 +0000 (13:29 +0200)]
removed .hg files and renamed hgcompile to gitcompile
Jaroslav Kysela [Fri, 9 May 2008 14:02:02 +0000 (16:02 +0200)]
Implemented snd_pcm_sw_params_(set|get)_period_event for interrupt wakeup like behaviour
Actually, PCM timer is used as source for poll(). It might be optimized
in the kernel code later.
Jaroslav Kysela [Mon, 21 Apr 2008 10:46:50 +0000 (12:46 +0200)]
implemented snd_pcm_rewindable() and snd_pcm_forwardable(), removed can_rewind and can_forward
Jaroslav Kysela [Mon, 21 Apr 2008 09:44:20 +0000 (11:44 +0200)]
implemented integer volume <-> dB volume conversion functions for simple mixer
Jaroslav Kysela [Fri, 11 Apr 2008 12:11:04 +0000 (14:11 +0200)]
added snd_pcm_hw_params_is_monotonic/can_forward/can_rewind functions
Jaroslav Kysela [Thu, 10 Apr 2008 07:46:10 +0000 (09:46 +0200)]
PCM API - explain more trigger timestamp
Jaroslav Kysela [Thu, 10 Apr 2008 07:08:08 +0000 (09:08 +0200)]
fix compilation in pcm/pcm_hw.c - monotonic clock
Stas Sergeev [Sat, 22 Mar 2008 16:40:57 +0000 (17:40 +0100)]
pcsp: remove downsampling
apply softvol before plug as softvol doesn't support U8 as of now.
This also improves the sound quality.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Takashi Iwai [Mon, 17 Mar 2008 15:11:57 +0000 (16:11 +0100)]
Use defaults.pcm.file_format for the default file format of file plugin
Use "defaults.pcm.file_format" for the default file format of
file plugin. It's set to "raw" as default for compatibility.
Takashi Iwai [Mon, 17 Mar 2008 15:02:56 +0000 (16:02 +0100)]
Add the support of WAV format in PCM file plugin
Added the support of WAV format in PCM file plugin.
The infile is still only in raw format.
Takashi Iwai [Fri, 14 Mar 2008 13:03:54 +0000 (14:03 +0100)]
Use slave PCM as a timing-source for file ifile
When ifile option is used for the file plugin, it ignores the slave PCM
and just feeds the input data.
This patch changes the behavior a bit - it uses the slave PCM as the
timing source (just read and throw data away) so that the input data
can be read in the right sample rate.
Takashi Iwai [Wed, 12 Mar 2008 15:30:26 +0000 (16:30 +0100)]
Add truncate option to PCM file plugin
Addeed a new option "truncate" to indicate the behavior of creating
the output file. When it's true (the default), the file is overwritten
and truncated at creation. When false, the plugin tries to open a
unique file with a number suffix.
The global behavior of "file" and "tee" PCMs is defined via
defaults.pcm.file_truncate option. You can overwrite it in ~/.asoundrc.
Takashi Iwai [Mon, 10 Mar 2008 11:02:26 +0000 (12:02 +0100)]
dmix skipping first set of samples
There was a change in alsa-lib 1.0.16 which looks like it was designed to
make dmix skip samples in the case of underruns, but it causes the first
sample to be skipped since dmix->slave_hw_ptr == dmix->slave_appl_ptr.
The following patch fixes this and fixes a small typo in the comment.
From: Mike Gorse <mgorse@mgorse.dhs.org>
Pawel MOLL [Fri, 7 Mar 2008 16:18:16 +0000 (17:18 +0100)]
Fix for alsa-lib cross-compilation problems with ALSA_CONFIG_DIR and ALSA_PLUGIN_DIR
"./configure" options for selecting ALSA configuration (default
/usr/share/alsa) and plugin (/usr/lib/alsa-lib) directories introduced
by alsa-hg/alsa-lib changeset 2284 cause problems with cross-compilation
and packaging - there is no way to redefine them in runtime, during
installation phase.
This patch adds a level of indirection between constants and their
usage - alsaconfigdir for ALSA_CONFIG_DIR and alsaplugindir for
ALSA_PLUGIN_DIR - which can be redefined during "make install" stage.
Signed-off-by: Pawel MOLL <pawel.moll@st.com>
Takashi Iwai [Fri, 7 Mar 2008 16:15:10 +0000 (17:15 +0100)]
Add PCM "hdmi"
Added the new PCM "hdmi" for HDA-Intel.
It's still experimental.
Takashi Iwai [Fri, 7 Mar 2008 16:01:56 +0000 (17:01 +0100)]
Don't show non-existing devices in snd_device_name_hint()
Suppress the non-existing devices in snd_device_name_hint().
Takashi Iwai [Fri, 7 Mar 2008 16:00:45 +0000 (17:00 +0100)]
Fix device number assignment in hints
Handle the device number properly if given in hints.
The current code resets the device number to -1 wrongly.
Takashi Iwai [Fri, 7 Mar 2008 13:35:25 +0000 (14:35 +0100)]
Fix the build with old glibc
The old systems don't support CLOCK_MONOTONIC although clock_gettime() API
itself exists. This causes compile errors.
Pawel MOLL [Fri, 29 Feb 2008 11:42:57 +0000 (12:42 +0100)]
IEC958 definitions for consumer status channel, byte 4
Added definition for byte 4 of SPDIF channel status, according to
second edition of IEC 60958-3 (consumer) spec.
Signed-off-by: Pawel MOLL <pawel.moll@st.com>
Takashi Iwai [Mon, 25 Feb 2008 14:11:46 +0000 (15:11 +0100)]
Fix the state in snd_pcm_ioplug_pause()
The states[] in snd_pcm_ioplug_pause() has wrong values. They should be
swapped. ALSA bug#3796:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3796
Takashi Iwai [Mon, 25 Feb 2008 13:58:45 +0000 (14:58 +0100)]
Add test binaries to hgignore
Takashi Iwai [Mon, 25 Feb 2008 13:57:31 +0000 (14:57 +0100)]
Add doxygen.cfg to hgignore
Takashi Iwai [Mon, 25 Feb 2008 13:56:51 +0000 (14:56 +0100)]
Create doxgen.cfg dynamically
The patch from bug#3799
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3799
The "doc" target in doc/Makefile.am assumes the build directory and
the source directory are the same and fails if they differ ... this is
because the doxygen.cfg contains relative paths (such as ../) that
only work when building in the source tree
The attached patch against hg replaces all relative paths with
@top_srcdir@ and changes doxygen.cfg to a generated file so that
configure replaces @top_srcdir@ with the appropriate configure-time
path.
Assuming people like being able to do `make -f Makefile.am doc` on
an unconfigured and having it work, i added a small `test&&sed`
that'll generate an appropriate default doxygen.cfg for them.
Aldrin Martoq [Fri, 22 Feb 2008 16:51:05 +0000 (17:51 +0100)]
mark snd_seq_client_info_{get,set}_event_filter deprecated
Mark snd_seq_client_info_{get,set}_event_filter deprecated
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
Aldrin Martoq [Fri, 22 Feb 2008 16:50:01 +0000 (17:50 +0100)]
use snd_seq_client_info_event_filter_*() functions
Change snd_seq_set_client_event_filter to use the new
snd_seq_client_info_event_filter_* API
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
Aldrin Martoq [Fri, 22 Feb 2008 16:49:01 +0000 (17:49 +0100)]
add a test code for snd_seq_client_info_event_filter_*()
Added test code for
snd_seq_client_info_event_filter_{clear,add,del,check}
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
Aldrin Martoq [Fri, 22 Feb 2008 16:46:50 +0000 (17:46 +0100)]
add snd_seq_client_info_event_filter_*() functions
Added snd_seq_client_info_event_filter_{clear,add,del,check} to alsa
sequencer API
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
Aldrin Martoq [Fri, 22 Feb 2008 16:42:56 +0000 (17:42 +0100)]
add snd_seq_unset_bit()
Added snd_seq_unset_bit() to alsa sequencer API
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
Takashi Iwai [Thu, 21 Feb 2008 11:31:18 +0000 (12:31 +0100)]
Fix snd_seq_change_bit()
snd_seq_change_bit() doesn't change but only set.
From: Aldrin Martoq <amartoq@dcc.uchile.cl>
Takashi Iwai [Mon, 18 Feb 2008 12:15:55 +0000 (13:15 +0100)]
Add atomic operation for super-H(sh3,4) architectures
This patch adds atomic operation for super-H(sh3,sh4) architecture.
See ALSA bug#3789
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3789
Takashi Iwai [Mon, 18 Feb 2008 11:25:02 +0000 (12:25 +0100)]
Add surround71 definition to NFORCE.conf
Now the board with ALC850 can work with 8-channel outputs.
Takashi Iwai [Mon, 11 Feb 2008 13:19:32 +0000 (14:19 +0100)]
Fix conflict of obsoleted snd_pcm_hw_* definitions
When only SND_PCM_OLD_HW_PARAMS_API is defined but no
SND_PCM_OLD_SW_PARAMS_API, the declerations of some obsoleted functions
conflict. Although the apps should define both at the same time, it's
not good to break. Fixed the ifdef now.
Jaroslav Kysela [Tue, 5 Feb 2008 09:08:10 +0000 (10:08 +0100)]
Added tag v1.0.16 for changeset
b1dfac5a4d55
Jaroslav Kysela [Tue, 5 Feb 2008 09:08:09 +0000 (10:08 +0100)]
release 1.0.16
Patch-level: Merged
Takashi Iwai [Mon, 4 Feb 2008 15:00:16 +0000 (16:00 +0100)]
Fix build with --disable-hwdep and co
control.h has function declarations with hwdep or rawmidi types
that aren't included when built without the corresponding supports.
Add ifdef appropriately to fix this.
Takashi Iwai [Mon, 4 Feb 2008 14:59:07 +0000 (15:59 +0100)]
Remove obsolete instr check in configure
Takashi Iwai [Mon, 4 Feb 2008 13:15:44 +0000 (14:15 +0100)]
Fix wrong exported functions
The internal functions (as alias of 0.9.0rc4 variants) must be
exported but they were wrongly listed in Versions file.
Fixed the function names now.
Takashi Iwai [Fri, 1 Feb 2008 11:00:39 +0000 (12:00 +0100)]
Add the missing card alias for Prodigy71Hifi
See ALSA bug#3735
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3735
Jaroslav Kysela [Tue, 29 Jan 2008 08:30:53 +0000 (09:30 +0100)]
Added tag v1.0.16rc2 for changeset
06fcc64b20b3
Jaroslav Kysela [Tue, 29 Jan 2008 08:30:53 +0000 (09:30 +0100)]
release 1.0.16rc2
Patch-level: Merged
Takashi Iwai [Wed, 23 Jan 2008 11:26:22 +0000 (12:26 +0100)]
Allow auto-config for dsnoop and dshare plugins
Takashi Iwai [Wed, 23 Jan 2008 07:06:11 +0000 (08:06 +0100)]
Remove obsolete instr directory
Jaroslav Kysela [Mon, 21 Jan 2008 09:42:47 +0000 (10:42 +0100)]
Added tag v1.0.16rc1 for changeset
81eabb0e6c10
Jaroslav Kysela [Mon, 21 Jan 2008 09:42:47 +0000 (10:42 +0100)]
release 1.0.16rc1
Patch-level: Merged
Takashi Iwai [Fri, 18 Jan 2008 13:43:56 +0000 (14:43 +0100)]
Fix a memory leak in PCM hook plugin
Takashi Iwai [Fri, 18 Jan 2008 12:42:51 +0000 (13:42 +0100)]
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.
Takashi Iwai [Tue, 15 Jan 2008 13:29:34 +0000 (14:29 +0100)]
Implement missing htimestamp callbacks
Implemented the missing htimestamp callbacks for ioplug, rate and null
plugins.
Jaroslav Kysela [Tue, 15 Jan 2008 13:07:19 +0000 (14:07 +0100)]
Allow pcm slave string references for direct plugins (bug#2893).
Takashi Iwai [Mon, 14 Jan 2008 16:24:14 +0000 (17:24 +0100)]
Add missing remix_areas_* for x86-64
The remix_areas_* were missing the dmix x86-64 code. Added now.
Takashi Iwai [Mon, 14 Jan 2008 16:15:13 +0000 (17:15 +0100)]
Add SND_PCM_TSTAMP_MMAP back
SND_PCM_TSTAMP_MMAP is used (blidnly) by portaudio, unfortunately.
Re-added it not to break API.
Clemens Ladisch [Mon, 14 Jan 2008 07:53:06 +0000 (08:53 +0100)]
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.
Clemens Ladisch [Mon, 14 Jan 2008 07:52:16 +0000 (08:52 +0100)]
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.
Clemens Ladisch [Mon, 14 Jan 2008 07:51:45 +0000 (08:51 +0100)]
check availability of CLOCK_MONOTONIC
Use monotonic timestamps only after checking that CLOCK_MONOTONIC is
actually supported by the C library.
Clemens Ladisch [Mon, 14 Jan 2008 07:50:46 +0000 (08:50 +0100)]
pcm hw plugin: use TSTAMP only with old drivers
There is no need to call the TSTAMP ioctl with newer driver versions.
Clemens Ladisch [Mon, 14 Jan 2008 07:50:18 +0000 (08:50 +0100)]
pcm hw plugin: fix TTSTAMP version check
Fix the version check that determines the availability of the TTSTAMP
ioctl.
Clemens Ladisch [Mon, 14 Jan 2008 07:49:35 +0000 (08:49 +0100)]
pcm plug plugin: remove duplicated expression
Remove a needlessly duplicated expression.
Jaroslav Kysela [Fri, 11 Jan 2008 16:21:44 +0000 (17:21 +0100)]
Added possibility to disable also channel and format conversions + softvol.
Unified disable option using mode bits in snd_pcm_open().
Jaroslav Kysela [Fri, 11 Jan 2008 07:54:07 +0000 (08:54 +0100)]
SND_PCM_TSTAMP_MMAP -> SND_PCM_TSTAMP_ENABLE change
Jaroslav Kysela [Thu, 10 Jan 2008 09:01:14 +0000 (10:01 +0100)]
Implemented snd_pcm_rewind() for the dmix plugin
Takashi Iwai [Wed, 9 Jan 2008 16:21:09 +0000 (17:21 +0100)]
Don't use deprecated functions inside
Use the new functions in snd_pcm_sw_params_dump().
Takashi Iwai [Wed, 9 Jan 2008 16:17:58 +0000 (17:17 +0100)]
Avoid (null) in printf
Show '[builtin]' when the library name is NULL in error messages.
Takashi Iwai [Wed, 9 Jan 2008 16:17:14 +0000 (17:17 +0100)]
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.
Jaroslav Kysela [Wed, 9 Jan 2008 12:50:45 +0000 (13:50 +0100)]
Impemented snd_pcm_htimestamp() function.
Jaroslav Kysela [Wed, 9 Jan 2008 10:13:34 +0000 (11:13 +0100)]
Add support for monotonic timestamps
Clemens Ladisch [Wed, 9 Jan 2008 08:42:42 +0000 (09:42 +0100)]
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.
Takashi Iwai [Wed, 9 Jan 2008 08:45:26 +0000 (09:45 +0100)]
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.
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.
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.
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.
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.
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.
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
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).
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
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.
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).