Jaroslav Kysela
16cc295a3c
test/pcm: Fix error messages in async callback and add snd_pcm_start() condition
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-09-15 15:14:58 +02:00
Takashi Iwai
d31fd52e74
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>
2008-07-10 18:45:23 +02:00
Takashi Iwai
af2c3fbe7d
Fix type-punning in test/pcm.c
...
The cast won't work well with strict aliasing.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2008-07-10 18:44:15 +02:00
Jaroslav Kysela
8aaccc9484
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.
2008-05-09 16:02:02 +02:00
Aldrin Martoq
83c5a60778
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>
2008-02-22 17:49:01 +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
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
Clemens Ladisch
15e936e277
midiloop: use blocking mode
...
Busy waiting is evil - use blocking mode when reading the actual test data.
2007-11-12 08:49:10 +01:00
Jaroslav Kysela
d25e281230
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:24:55 +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
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
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
Jaroslav Kysela
e55ebd6859
pcm_min.c example - corrected comment
2006-01-10 09:58:15 +00:00
Jaroslav Kysela
8e9dbcad79
pcm_min - blocking mode is default - remove extra snd_pcm_nonblock() call
2006-01-06 20:10:04 +00:00
Jaroslav Kysela
4e1452ac07
Added pcm_min test & example - minimalistic pcm output
2006-01-06 20:01:08 +00:00
Takashi Iwai
c2f446b0a4
Remove code from check_PROGRAMS
...
Remove code from check_PROGRAMS (bug#1579).
2005-11-23 16:35:56 +00:00
Takashi Iwai
84ebfe7c92
Fix compile errors/warnings
...
Fix compile errors/warnings.
omixer is removed since ordinary_mixer isn't supported any more.
2005-11-21 10:48:52 +00:00
Jaroslav Kysela
62b9d00ad6
test/pcm.c - remove -EINTR handling (a job for alsa-lib)
2005-08-24 14:06:11 +00:00
Jaroslav Kysela
d9be3e3556
pcm.c test / example - Added EINTR handling
2005-08-23 12:57:48 +00:00
Jaroslav Kysela
3d1fa92490
added support for more sample widths
...
- patch taken from ALSA bug #1140
2005-05-30 10:22:18 +00:00
Jaroslav Kysela
8ec3e4ea6c
added full async interface to timer API
...
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions
- added async command to test/timer.c
2005-05-11 12:18:51 +00:00
Clemens Ladisch
b6d9e25311
midiloop - remove running status test
...
Do not use running status to prevent errors with devices
that add or remove running status bytes.
2005-04-29 15:19:45 +00:00
Jaroslav Kysela
f65d9f3108
Added snd_pcm_hw_params_set_rate_resample function
...
- snd_pcm_hw_params_set_rate_resample()
- snd_pcm_hw_params_get_rate_resample()
2005-04-12 12:09:55 +00:00
Jaroslav Kysela
1ac50201b0
latency test - Added -B and -E options
2005-03-25 08:53:48 +00:00
Nicolas FRANCOIS
0c43293f7f
Fix hyphens in man pages
...
This patch converts hyphens to minus signs in the man pages (for options,
emails, or command line examples).
This patch also closes one font modifier in iecset.1.
(s/\fIfalse\fI,/\fIfalse\fP,/)
Signed-off-by: Nicolas FRANCOIS <nicolas.francois@centraliens.net>
2004-10-08 16:15:32 +00:00
Jaroslav Kysela
dff4d5c466
Warning fixes
2004-04-06 17:28:01 +00:00
Jaroslav Kysela
23ed7623c6
Maarten de Boer <mdeboer@iua.upf.es>
...
The attached patch makes the alsa-lib/test/pmc.c generate_sine code
slightly more simple, efficient and readable (but not less accurate),
taking quite some calculation out of the loop.
2004-03-05 09:11:13 +00:00
Takashi Iwai
ebf1e77bb2
use AM_CFLAGS and AM_LDFLAGS for the recent automake.
2004-02-25 14:32:32 +00:00
Jaroslav Kysela
2f1a2513dc
Added verbose flag
2004-02-05 11:01:55 +00:00
Jaroslav Kysela
bd93d0a672
Fixed wrong initialization of start_threshold
2004-02-03 16:14:39 +00:00
Jaroslav Kysela
7a5a9f018c
'make check' fails on a Slackware 8.1 system with gcc-2.95.3 due to three
...
minor problems (one missing #define/#include statement, two misplaced
variable delarations) in test/code.c and test/queue_timer.c.
2004-01-27 19:49:48 +00:00
Jaroslav Kysela
d0facfde2b
ALISP update
...
- function names are more emacs-like
- implemented (format) function
- fixed numerous memory-leaks (valgrind is now happy)
Ordinary mixer
- added the global view (using hdsp names only)
2003-12-23 16:42:55 +00:00
Jaroslav Kysela
319c46a982
Added queue_timer.c by Chris Cannam <cannam@all-day-breakfast.com>
2003-12-18 12:14:17 +00:00
Jaroslav Kysela
d4af763f8a
Switch from old to new PCM API retaining binary compatibility
...
Changed version to 1.0.0pre1
2003-11-05 10:38:37 +00:00
Takashi Iwai
0cfc9189dd
moved iecset to alsa-utils
2003-10-23 16:53:11 +00:00
Jaroslav Kysela
ab61b62cb4
More changes to the ordinary mixer API
2003-10-13 12:06:45 +00:00
Jaroslav Kysela
72c814db2a
Fixed typo
2003-10-13 10:42:32 +00:00
Takashi Iwai
2fb3e68e11
added iecset program (this could be to alsa-utils after more
...
enhancements).
2003-09-30 17:02:14 +00:00
Jaroslav Kysela
60585e25fc
added snd_hctl_ctl() function
...
ordinary mixer:
- revised Ordinary Mixer I/O type
- sndo_mixer_open() take PCMs rather than strings to pass
the real relationship
- an initial version of toplevel alisp script
more alisp development:
- renamed a* functions to A* functions (acall -> Acall etc.)
- many improvements (unset*, exfun, Acall pcm_info, Asnderr, Asyserr)
2003-09-09 19:24:35 +00:00
Jaroslav Kysela
6ad93ac892
added snd_user_file() function
...
alisp extensions
- added nth, include, path commands
- added auto-exec functionality
- added helpers for C<->lisp interoperability
2003-09-03 19:25:08 +00:00
Takashi Iwai
0811da2a15
fixed the type prefix of printd for the time (unsigned long).
2003-07-14 10:23:16 +00:00
Takashi Iwai
3eba62e9a8
fixed the old multi-line strings.
2003-07-14 10:22:39 +00:00
Jaroslav Kysela
3cce88b444
Added async_direct method
2003-05-15 09:10:36 +00:00
Jaroslav Kysela
871c3e7656
Decoder is now generic MIDI device
2003-03-11 20:34:28 +00:00
Jaroslav Kysela
a261af535f
Removed get ticks
2003-03-07 20:27:18 +00:00
Jaroslav Kysela
498699c8aa
Reduced race window
2003-03-01 14:24:42 +00:00
Jaroslav Kysela
e90d914915
Use asm code directly from src/pcm/pcm_dmix_i386.h
2003-03-01 11:16:42 +00:00
Jaroslav Kysela
743f9a952d
Fixed small errors (size == 0 test) in asm code
2003-02-28 20:33:42 +00:00
Jaroslav Kysela
8bb29f007d
Synced with dmix plugin
2003-02-28 17:03:26 +00:00