Takashi Iwai
17dbb93a9a
Add src/control/ctl_symbols_list.c to .hgignore
2007-03-28 13:49:23 +02:00
Takashi Iwai
77b4d5f97a
Add --with-ctl-plugins configure option
...
Added --with-ctl-plugins configure option to specify the optinal
plugins to build.
2007-03-28 13:48:04 +02:00
Takashi Iwai
c16111516f
Define an array of default rate plugins
...
Define an array of default rate plugins, set speexrate as the first
entry. The linear is used as a fallback.
2007-03-28 12:38:27 +02:00
Takashi Iwai
c6bebac05e
Trivial fix of compile warning
...
Fix unused variable j.
2007-03-22 01:17:22 +01:00
Takashi Iwai
36987b02c0
String array for default rate plugin list
...
Change the rate converter type to allow string arrays in addition to
a string. When a string array is given, the rate plugin probes each
string and try to load the converter plugin in the order of the list.
For example, you can set
defaults.pcm.rate_converter [ "samplerate" "linear" ]
so that samplerate plugin is preferred to linear plugin if it's
installed.
2007-03-22 00:58:42 +01:00
Takashi Iwai
70e4ec9d08
Allow build without libdl and libpthread
...
Allow building alsa-lib without libdl and libpthread.
Added new options to configure, --with-libdl and --with-pthread.
2007-03-22 00:48:18 +01:00
Rene Herman
9a75eec664
Fix alsa-devel ML address
...
This replaces all occurences of alsa-devel@lists.s[ource]f[orge].net
that a simple recursive grep found in the current HG ALSA repos by
alsa-devel@alsa-project.org .
Signed-off-by: Rene Herman <rene.herman@gmail.com>
2007-03-21 12:21:38 +01:00
Takashi Iwai
0c03968e13
Fix build with no PCM plugin
...
When pcm plugin is disabled, the static build fails because of
lack of pcm_symbols_list.c. Fixed now.
2007-03-16 15:22:27 +01:00
Takashi Iwai
36cc1daad8
Remove _snd_pcm_link_descriptors() and more comments
...
Removed the obsoleted _snd_pcm_link_descriptors() from pcm_local.h.
Added more comments on multi plugin.
2007-03-13 10:44:28 +01:00
Takashi Iwai
8048321c76
More better fix for linked start/stop
...
Instead of link_fd, more generic callback link_slaves is introduced.
This is called for linking the slave streams as the source to the
given master stream.
2007-03-13 02:52:33 +01:00
Takashi Iwai
1753ae794f
Fix start/stop of multi plugin
...
The start/stop of sync'ed stream of multi plugin.
This should make some JACK users with multiple devices happier.
2007-03-13 00:40:22 +01:00
Clemens Ladisch
ffcffac13d
fix a signedness warning
2007-03-12 08:27:15 +01:00
Takashi Iwai
6329db3af1
Improve the sample conversion in plug layer
...
Improve the sample conversion in plug layer for the sample bits
reduction. Use round instead of truncating, which introduces
more quantization noise.
Original patch by Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
2007-03-09 17:06:23 +01:00
Takashi Iwai
fbc2a6fa09
Check _POSIX_SOURCE for timeval definition
...
Check _POSIX_SOURCE for struct timeval definition.
In rare cases, _POSIX_C_SOURCE isn't defined but only _POSIX_SOURCE
is set, and it results in the confliction of timeval definition.
2007-03-09 15:30:38 +01:00
Jaroslav Kysela
ba4291aa1b
Added tag v1.0.14rc3 for changeset 3cfb9808fb42
2007-02-26 09:21:12 +01:00
Jaroslav Kysela
afb23f3f58
release 1.0.14rc3
...
Patch-level: Merged
2007-02-26 09:21:12 +01:00
Clemens Ladisch
98f8b6c9a8
add USB-Audio.conf to Makefile.am
2007-02-13 14:03:30 +01:00
Clemens Ladisch
09eb800771
enable dmix-ing and proper 5.1 routing for USB audio devices
...
add a configuration file for USB audio devices
2007-02-13 09:01:31 +01:00
Clemens Ladisch
f54f03bfc4
fix SNDERR() format strings/arguments
2007-02-12 13:45:57 +01:00
Clemens Ladisch
0c49463b8c
remove superfluous strdup() calls
...
Remove same calls of strdup() that were unnecessary because the
temporary string would not be modified or held longer than the lifetime
of the original string.
2007-02-12 13:45:03 +01:00
Clemens Ladisch
ebc0ea9b54
add card_name configuration function
...
Add a configuration function "card_name" so that configuration files can
use device-specific definitions based on a card's short name.
2007-02-12 13:43:49 +01:00
Takashi Iwai
e8094c4322
Update emu10k1.h for new version
...
Updated emu10k1.h for newer version.
The size of emu10k1_fx8010_control_gpr_t is changed. The apps need to
issue SNDRV_EMU10K1_IOCTL_PVERSION first to switch to the new ABI.
2007-01-19 18:36:48 +01:00
Takashi Iwai
b3f998dbc9
add support for symbol prefixes in shared libraries
...
attached patch updates the Version script so that it supports SYMBOL_PREFIX
From: Mike Frysinger <vapier@gentoo.org>
2007-01-17 15:19:52 +01:00
Jaroslav Kysela
f6d264f54d
Added tag v1.0.14rc2 for changeset d1c1d7803371
2007-01-15 14:21:41 +01:00
Jaroslav Kysela
1c82cd7623
release 1.0.14rc2
...
Patch-level: Merged
2007-01-15 14:21:41 +01:00
Takashi Iwai
c818bab2e3
Fix compile warning with internal function
...
Fixed the compile warning refering to the internal function
snd_pcm_hw_params_set_format_first.
2007-01-08 16:39:26 +01:00
Takashi Iwai
6972e3e585
Fix error code in timer_query.c
...
Fix the returned error code for the invalid timer definition.
2007-01-08 16:29:16 +01:00
Benoit Fouet
31910617f2
initialize dl handles where it needs to
...
this trivial patch initializes dl handle in timer.c and timer_query.c
where it needs to.
Signed-off-by: Benoit Fouet <benoit.fouet@purplelabs.com>
2007-01-08 15:07:02 +01:00
Jaroslav Kysela
4a1cefd24d
pcm_ladspa - fix none policy
...
In some configurations, channel samples were not copied correctly.
Also, fix memory leaks and remove extra end-of-line chars from SNDERR
strings.
2006-12-20 16:01:27 +01:00
Jaroslav Kysela
2c02c139f4
remove snd_ctl_iface_conf_name() prototype, namehint doxygen cleanups
2006-12-07 15:29:20 +01:00
Jaroslav Kysela
19b2e9afa0
Added tag v1.0.14rc1 for changeset f5f02f509ea160bf35cbd3c0015e49f42ddf49f6
2006-12-07 15:04:29 +01:00
Jaroslav Kysela
93b453f4b8
release 1.0.14rc1
...
Patch-level: Merged
2006-12-07 15:04:28 +01:00
Jaroslav Kysela
6d90397add
add snd_device_name_get_hint() prototype to include/control.h
2006-12-05 11:52:37 +01:00
Clemens Ladisch
8a36b67b9f
direct pcm plugins: fix format selection
...
The old format tried to do something when the requested format was not
supported by the hardware, but did not actually select any other format.
Now we try to switch to any format supported by dmix, or any other
format when the plugin is not dmix.
2006-12-04 18:20:40 +01:00
Clemens Ladisch
9819099e0e
direct pcm plugins: fix channel number selection
...
The code to set the number of channels did not work when the requested
channel count was not available and when the min/max channel counts were
not identical.
Replacing the entire selection code with
snd_pcm_hw_params_set_channels_near() gives the same result in the cases
where it previously worked, and works in all other cases.
2006-12-04 18:14:13 +01:00
Clemens Ladisch
0f99fe7830
fix string list parameter in snd_device_name_(free_)hint prototypes
...
Fix the type of the string list parameter in the prototypes of
snd_device_name_hint() and snd_device_name_free_hint(). The prototypes
used char**, while the implementation and the users are using void**.
2006-12-04 18:07:46 +01:00
Jaroslav Kysela
1ba513f96f
add snd_device_name_get_hint() function, make hints private to alsa-lib (void)
...
We can define more string groups for one hint now. It is quite easy
flexible for future.
2006-11-30 13:41:53 +01:00
Takashi Iwai
70c20571e1
Fix CS46xx.conf default capture
...
Fix the capture slave to hw for CS46xx default PCM since dsnoop
seems not working with this hardware well.
2006-11-24 16:29:45 +01:00
Clemens Ladisch
125b22189e
fix a typo
...
fix a typo introduced in changeset d14ade7ede2a
2006-11-16 07:49:24 +01:00
James Courtier-Dutton
631814e0b3
Compatibility problem with automake 1.10 fixed.
...
alsa bug#2592
2006-11-12 21:37:45 +00:00
Takashi Iwai
10e3360575
Fix device name listing with card = -1
...
Fixed the device name listing with card = -1, such as
aplay -L.
2006-11-06 17:37:15 +01:00
Jaroslav Kysela
9df5c28f55
namehint changes: longname -> cardname, use get_card_name instead longname
2006-10-27 18:19:48 +02:00
Takashi Iwai
c9610c024d
Fix build of static library
...
- Add missing pcm_empty entry
- Return the array pointer instead of the first array member.
Otherwise only the first entry is linked to the binary.
2006-10-27 16:08:21 +02:00
Jaroslav Kysela
03389a444b
change iface argument for namehint function to const char *
...
remove snd_ctl_iface_conf_name function
2006-10-27 13:31:32 +02:00
Clemens Ladisch
252fd43461
rawmidi: do not abort when seeing the hint node
...
Add the hint node to the nodes that are allowed in rawmidi definitions,
and factor out the detection of such nodes into a common function.
2006-10-27 10:54:08 +02:00
Jaroslav Kysela
ddf9599542
pcm: fix ipc offset calculation for direct plugins
...
Also add more accurate description to x24 formats.
2006-10-23 11:34:00 +02:00
Takashi Iwai
21207351a8
Revert dmix.conf and dsnoop.conf
...
Revert dmix.conf and dsnoop.conf.
The ipc key offset had been already modified to be unique for
each card, stream, device and subdevice interanally in dmix &
co plugins.
2006-10-20 17:57:16 +02:00
James Courtier-Dutton
6d511eefa0
Implements support for capture/playback enums.
2006-10-13 22:06:17 +01:00
Jaroslav Kysela
a185898230
added pcm_empty plugin and .hgignore additions
2006-10-13 18:01:27 +02:00
Jaroslav Kysela
d7916981bf
pcm config files cleanups and name hint extension
...
- remove device 0/subdevice 0 from configuration files (it's default)
- name_hint
- fixed parsing slaves
- obtain device numbers directly from 'type hw' configurations to
avoid poluting of configurations scripts with hint.device lines
2006-10-12 16:27:23 +02:00