Commit Graph

48 Commits

Author SHA1 Message Date
Quipyowert2
a894128edd Printf unsigned long with %lu instead of %li (latency.c)
Signed-off-by: Nathan Mills <the.true.nathan.mills@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-04-09 10:27:36 +02:00
Jaroslav Kysela
deb07a0b20 test/latency: use frame bytes correctly in writebuf()
Reported-by: Alessandro Lapini <alessandro.lapini@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-03-01 12:44:44 +01:00
Jaroslav Kysela
6852f88e80 test/latecy: fix typo in tstamp compare
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2018-10-24 12:07:33 +02:00
Jaroslav Kysela
5b9041bced Change FSF address (Franklin Street)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2017-11-14 14:29:26 +01:00
Mario Domenech Goulart
c34f74c818 test/latency.c: Fix string argument to getopt_long, so now it handles -E and -B
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-08-08 16:29:03 +02:00
Raymond Yau
7ed19bbc9a test/latency: print error message when 2 periods per buffer not supported
Print error message when playback/capture does not support 2 periods
per buffer.

Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-04-20 14:11:59 +02:00
Jaroslav Kysela
eb3768563a test/latency: fix timediff calculation
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-08-04 19:48:00 +02: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
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
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
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
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
3eba62e9a8 fixed the old multi-line strings. 2003-07-14 10:22:39 +00:00
Jaroslav Kysela
d763d83ee2 Fixed format parameter according description 2003-02-17 18:01:16 +00:00
Jaroslav Kysela
6979732fa5 Changed sw_params to follow hw_params (unify functions) 2002-10-19 19:09:46 +00:00
Jaroslav Kysela
7f3942d827 Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when
ALSA_PCM_NEW_HW_PARAMS_API is defined.
Updated documentation and test code to new API.
2002-09-19 16:12:13 +00:00
Jaroslav Kysela
b9343e0834 - unified snd_pcm_hw_params_* functions
- added backward compatibility for older non-compatible functions
- added --with-compat-rc3 to configure script to build library
  backwards compatible with 0.9.0rc3
- added symbol versioning like libc.so.6
  - ALSA_0.9      - alsa base
  - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*)
2002-09-17 12:33:05 +00:00
Jaroslav Kysela
853304bbf4 Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
Jaroslav Kysela
3e3df2d32b Updated GNU GPL license (address).
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00
Jaroslav Kysela
ef035eacfe Fixed the period size setup for hardware with fixed values 2001-11-16 10:59:29 +00:00
Jaroslav Kysela
c580e02348 Added time, poll and effect options and code. 2001-10-31 16:03:33 +00:00
Jaroslav Kysela
78522ea0ea Fixed the right latency settings and added block mode 2001-10-26 16:12:01 +00:00
Jaroslav Kysela
e441ec8013 Added -s option 2001-10-15 12:36:55 +00:00
Jaroslav Kysela
ff913d0143 2nd fix for initial write 2001-10-15 11:49:36 +00:00
Jaroslav Kysela
183da83f8e Fixed initial write 2001-10-15 11:47:53 +00:00
Jaroslav Kysela
36a2810081 Added arguments 2001-08-10 16:44:08 +00:00
Jaroslav Kysela
7f498ce393 Updated for latest API 2001-08-10 08:56:25 +00:00
Jaroslav Kysela
41bb7068f2 Merged pcmfinal branch. 2000-11-20 20:10:46 +00:00
Abramo Bagnara
2ea3fd4bb3 Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap 2000-09-29 20:49:18 +00:00
Jaroslav Kysela
6962a9d6ce Merged pcmplug branch. 2000-09-24 09:57:26 +00:00
Abramo Bagnara
3733bbdcff Some cleaning renames. Prepared API for new plugins 2000-09-12 07:11:00 +00:00
Abramo Bagnara
72fa3cc203 Linked streams fix. Ported latency.c 2000-07-24 09:17:14 +00:00
Abramo Bagnara
eee70747eb Ported to new API 2000-07-18 13:38:58 +00:00
Abramo Bagnara
1a7f88d10e Better names for ALSA API. Added min_fragments, max_fragments. 2000-05-27 16:52:17 +00:00
Jaroslav Kysela
1cd6778173 Merged pcm2 branch. 2000-05-08 18:53:38 +00:00
Jaroslav Kysela
4637dfaa3e Fixed return codes (added EPIPE). 2000-02-22 17:36:34 +00:00
Jaroslav Kysela
5c946996db Updated to current API.. 2000-02-04 10:07:20 +00:00
Jaroslav Kysela
4ec59e7283 Added back commented code (latency change) 1999-12-08 21:58:27 +00:00
Jaroslav Kysela
9d8af2f147 NO FILL mode selected... 1999-12-08 19:22:10 +00:00
Jaroslav Kysela
c96b62dc65 Changed format back to S16_LE... 1999-11-19 19:06:05 +00:00
Jaroslav Kysela
deeb7a35d5 Some fixes... 1999-11-19 19:05:22 +00:00
Jaroslav Kysela
600dc6ae32 Merged pcm-v2 branch into main CVS tree. 1999-11-06 23:47:07 +00:00
Jaroslav Kysela
dc126564c7 PCM changes (record->capture)... 1999-06-12 19:23:10 +00:00
Jaroslav Kysela
c6d9012d55 Fixes for new types... 1999-06-03 21:41:29 +00:00
Jaroslav Kysela
fb1938d29f Coding style.. 1998-11-27 15:07:56 +00:00
Jaroslav Kysela
3bb1db2e17 Added latency example... 1998-11-27 00:13:09 +00:00