Commit graph

16 commits

Author SHA1 Message Date
John Spencer
1d3f7975f9 Fix invalid long long format specifier
Per POSIX:

       L      Specifies that a following a, A, e, E, f, F, g, or G  conversion
              specifier applies to a long double argument.

L is only intended to be used with long doubles, not long long ints.

the proper way is to use "ll" instead.

Signed-off-by: John Spencer <maillist-alsa@barfooze.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-04-24 15:38:45 +02:00
Takashi Iwai
6bef13e251 Fix printf for size_t
Need to use z prefix for size_t type.

midiloop.c: In function ‘main’:
midiloop.c:172:2: warning: format ‘%i’ expects type ‘int’, but argument 2 has type ‘size_t’
....

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-04 09:19:09 +02: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
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
27472b56a6 Changes for static build. 2001-10-24 14:14:11 +00:00
Jaroslav Kysela
0a8749a802 Changed location of asoundlib.h from sys dir to alsa dir.
(it means that official location is '#include <alsa/asoundlib.h>')
2001-09-11 09:34:13 +00:00
Jaroslav Kysela
977a9a33f0 * Cleaned the alsa.conf syntax:
- added pcm.front, pcm.rear, pcm.center_lfe blocks
* Added configuration for EMU10K1 (it's fully working one!!!)
* snd_config_redirect_load->snd_config_refer_load rename
* snd_config_search_alias code change (works also with pairs base.key)
* cleanups in the evaluate function (the function prototype has been changed)
2001-06-15 08:47:59 +00:00
Jaroslav Kysela
e74a7322ca Minor bugfix. 2001-04-27 08:33:22 +00:00
Jaroslav Kysela
f0c7d62ef9 minor changes 2001-04-27 08:19:53 +00:00
Jaroslav Kysela
128e710940 Ported 2001-04-24 19:46:14 +00:00
Jaroslav Kysela
34c76ccf73 Fixed test tools for latest API 2000-11-25 13:07:24 +00:00
Jaroslav Kysela
cc214bdfea Big rawmidi update - added subdevices support. 2000-11-03 10:11:50 +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
b38376b91f Cleanups 2000-09-25 19:57: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
744c87fd12 Added midiloop utility.. 2000-03-04 15:50:15 +00:00