| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Patch-level: Merged
|
|
|
|
|
| |
Fixed the compile warning refering to the internal function
snd_pcm_hw_params_set_format_first.
|
|
|
|
| |
Fix the returned error code for the invalid timer definition.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
In some configurations, channel samples were not copied correctly.
Also, fix memory leaks and remove extra end-of-line chars from SNDERR
strings.
|
| |
|
| |
|
|
|
|
| |
Patch-level: Merged
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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**.
|
|
|
|
|
| |
We can define more string groups for one hint now. It is quite easy
flexible for future.
|
|
|
|
|
| |
Fix the capture slave to hw for CS46xx default PCM since dsnoop
seems not working with this hardware well.
|
|
|
|
| |
fix a typo introduced in changeset d14ade7ede2a
|
|
|
|
| |
alsa bug#2592
|
|
|
|
|
| |
Fixed the device name listing with card = -1, such as
aplay -L.
|
| |
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
remove snd_ctl_iface_conf_name function
|
|
|
|
|
| |
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.
|
|
|
|
| |
Also add more accurate description to x24 formats.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
These functions were not used in applications anyway.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
See ALSA bug#1573
Also add card_inum, iadd, imul functions to configuration files.
|
|
|
|
|
| |
- returned wrong error when the namehint section does not exist
- variable underflow for the rawmidi interface
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
See also ALSA bug#1689
|
|
|
|
| |
FIXME: It might cause problems on some platforms when tv_usec is not long type.
|
|
|
|
|
|
|
|
|
|
|
| |
-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 .
|
|
|
|
|
|
| |
Use dmix/dsnoop for maestro3 boards. Although maestro3 has multiple
playback capability, it supports only two streams (with the currently
available firmware).
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
If volume or switch write fails, the internal contents for element
is changed, but it is wrong. Reread the whole simple element in this
case to get correct values.
|
| |
|
|
|
|
| |
Patch-level: Merged
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See: bug#2274
checking for versioned symbols... ./configure: line 19347: test: "1: integer
expression expected
./configure: line 19350: test: "1: integer expression expected
This is caused by my libtool VERSION string:
VERSION="1.5.22 Debian 1.5.22-2"
The test in configure.in can't currently deal with the quotes.
|
|
|
|
| |
See: bug#2465
|
| |
|
|
|
|
| |
remove one warning from tlv_read routine in control.c
|
|
|
|
|
|
|
|
|
|
| |
Make sure that the rate plugin does not try to change the slave's
boundary value when setting software parameters; such a change wouldn't
affect the slave pcm.
Furthermore, the stop_threshold conversion code used the wrong boundary
value, and the silence_size conversion code did not take into account
the boundary value at all.
|
|
|
|
|
|
|
|
|
|
| |
the alisp.c file includes wordexp.h even though it doesnt actually use any
wordexp functions ... causes trouble when target doesnt have wordexp
support :)
patch attached to scrub said headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
the src/names.c file includes many more headers than it actually needs ...
this causes troubles when porting to a target that lacks those headers :)
patch attached to scrub said headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|