Commit graph

2313 commits

Author SHA1 Message Date
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
Jaroslav Kysela
b40a116b8e Remove snd_name_list() and snd_name_list_free() functions.
These functions were not used in applications anyway.
2006-10-12 14:52:07 +02:00
Jaroslav Kysela
10cca7c03b pcm direct plugins - fix memory leak (sconf must be deleted) 2006-10-12 14:42:45 +02:00
Jaroslav Kysela
1300e70573 more name hint interace updates
- add long card name to device description
- create empty PCM plugin to allow right hint description parsing
- reorder devices in alsa.conf
- make namehint more configurable (using default.namehint.showall switch)
- add two levels basic and exteded for hints to default configuration files
- do not show direct device aliases
- removed all known memory leaks
2006-10-12 14:34:23 +02:00
Jaroslav Kysela
aa7a0dd70b add card number to ipc key for dmix / dsnoop PCM definitions
See ALSA bug#1573
Also add card_inum, iadd, imul functions to configuration files.
2006-10-11 15:59:19 +02:00
Jaroslav Kysela
faf8aad99a fix two issues in snd_device_name_hint()
- returned wrong error when the namehint section does not exist
- variable underflow for the rawmidi interface
2006-10-11 13:59:42 +02:00
Jaroslav Kysela
13fdc41785 add snd_device_name_hint() function and initial implementation
- add snd_device_name_hint() and snd_device_name_free_hint() functions
- add snd_ctl_iface_conf_name() functions
- do not accept parameters for the plugin definition without @args section
- add defaults.pcm.dmix.card/device and dsnoop.card/device definitions
- add hints for HDA-Intel.conf, pcm/dmix.conf, pcm/dsnoop.conf and alsa.conf
- add test/namehint test utility
- doxygen related cleanups
2006-10-11 13:18:57 +02:00
Jaroslav Kysela
b223fbba23 revert back one diff from changeset 2219 (fix various warnings) 2006-10-06 15:22:34 +02:00
Jaroslav Kysela
57eb3145b8 fix various warnings
See also ALSA bug#1689
2006-10-06 13:18:34 +02:00
Jaroslav Kysela
8c9e4114a2 Add struct timeval and timespec definition when _POSIX_C_SOURCE is not defined
FIXME: It might cause problems on some platforms when tv_usec is not long type.
2006-10-06 11:01:40 +02:00
Jaroslav Kysela
7668e264af alsa.pc's Libs shouldn't contain -lm -ldl -lpthread
-lm -ldl -lpthread are _not_ needed in Libs (since the alsa interface
doesn't depend on libm, libdl or libpthread interface) and just bring
unneeded dependencies. These should rather be put in Libs.private:

Libs: -L${libdir} -lasound
Libs.private: -lm -ldl -lpthread

See ALSA bug#2212 .
2006-10-06 10:38:39 +02:00
Takashi Iwai
1a87651393 Use dmix/dsnoop for maestro3 boards
Use dmix/dsnoop for maestro3 boards.  Although maestro3 has multiple
playback capability, it supports only two streams (with the currently
available firmware).
2006-10-04 17:33:25 +02:00
Takashi Iwai
1827d9ccff Fix snd_pcm_open_noupdate() to refer alias
Fixed snd_pcm_open_noupdate() to refer alias.  This fixes the call like

	% aplay -Dplug:bah

where bah is an alias of a certain definition.
2006-10-04 17:32:22 +02:00
Mike Frysinger
285d859974 allow building out of tree (sort of)
the current configure script assumes that it will be run in the srcdir ... i
often build things out of tree so you can quickly punt all the generated
files:
mkdir build
cd build
../configure
cd ..
rm -r build
clean!

this tweaks the configure script in a few places to use the correct variable
instead of assuming that configure is always in $PWD ...

i say "sort of" in the subject because there is still the issues of the pcm
symbols list being generated in $builddir instead of $srcdir and the alsa
include symlink, but these doesnt really concern me for what i need ;)

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2006-10-04 17:30:26 +02:00
Jaroslav Kysela
bc9b4553b4 alsa-lib: test dir: make check: static building doesn't work on PIC architectures
Some architectures, such as AMD64, IA64 and Alpha cannot mix PIC and non-PIC
objects when creating a PIC output. Hardened compilers (which uses SSP and
PIE) creates PIC executables, passing -static in CFLAGS for tests in make
check in alsa-lib makes their linking to fail.

See bug#1541
2006-10-04 10:39:55 +02:00