> It does better, see attached alsadrop2.c.
$ gcc -oalsadrop2 -lasound -lpthread -g alsadrop2.c
alsadrop2.c: In function ‘threadexe’:
alsadrop2.c:35:3: warning: format ‘%d’ expects argument of type ‘int’, but
argument 4 has type ‘snd_pcm_sframes_t’ [-Wformat=]
printf("%d %p %d\n",i3,buf1,fram
Hi Martin
Updated mseconsts_es.pas
Regards
--
Julio Jiménez Borreguero
mseconsts_es.pas.7z
Description: application/7z-compressed
--
Check out the vibrant tech community on one of the world's most
engaging tech sites,
Not yet...
$ gcc -oalsadrop2 -lasound -lpthread -g alsadrop2.c `pkg-config --cflags
--libs alsa`
alsadrop2.c: In function ‘threadexe’:
alsadrop2.c:38:3: warning: format ‘%d’ expects argument of type ‘int’, but
argument 4 has type ‘snd_pcm_sframes_t’ [-Wformat=]
printf("%d %p %d\n",i3,buf1,fram
Ok, I get it:
$ gcc -oalsadrop2 -lasound -pthread -g alsadrop2.c `pkg-config --cflags
--libs alsa`
alsadrop2.c: In function ‘threadexe’:
alsadrop2.c:38:3: warning: format ‘%d’ expects argument of type ‘int’, but
argument 4 has type ‘snd_pcm_sframes_t’ [-Wformat=]
printf("%d %p %d\n",i3,buf1,fr
Hello Martin.
On my system, in alsadrop2.c with usleep(70) in line 124 ---> crash if
using "sysdefault" alsa device.
With usleep(100) or more ---> OK, no crash and my ears do not feel any
difference with alsadrop2 compiled with device = "sysdefault" vs "default"
(or missed something).
In
5 matches
Mail list logo