1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00
Commit Graph

369 Commits

Author SHA1 Message Date
Alexandre Ratchov
b97efa105d arpa/net.h is not needed 2012-10-26 16:51:09 +02:00
Alexandre Ratchov
52d941c80b include arpa/inet.h 2012-10-26 16:41:36 +02:00
Alexandre Ratchov
e750088847 fix bufsz arithmetic 2012-10-26 15:29:12 +02:00
Alexandre Ratchov
532c615895 use snd_pcm_poll_descriptors_count at initialisation 2012-10-26 15:01:04 +02:00
Alexandre Ratchov
80a52c9600 add alsa rawmidi support 2012-10-26 14:30:48 +02:00
Alexandre Ratchov
9f6bcbbc0e rmidi is not blocking as well 2012-10-26 10:55:57 +02:00
Alexandre Ratchov
dc9bbf8f45 linux needs _GNU_SOURCE for setres{u,g}id 2012-10-26 10:09:59 +02:00
Alexandre Ratchov
cafb58318d remove unused timestamping bits 2012-10-24 14:58:21 +02:00
Alexandre Ratchov
dce7a088e5 fix signedness warnings 2012-10-24 14:55:51 +02:00
Alexandre Ratchov
ab4a96fb39 fix signedness warnings 2012-10-24 14:53:37 +02:00
Alexandre Ratchov
ea0d66a62d add explicit flow control in the protocol and use it for both midi and audio 2012-10-24 12:45:13 +02:00
Alexandre Ratchov
3a6bc9af60 rearrange debug traces 2012-10-24 10:31:19 +02:00
Alexandre Ratchov
708d668654 add frames vs bytes arithmetic in assert 2012-10-20 09:52:44 +02:00
Alexandre Ratchov
8ca941be6f handle both EPIPE and ESTRPIPE 2012-10-17 22:43:01 +02:00
Alexandre Ratchov
10bd2bb48a panic() if read buffer overruns 2012-10-16 09:47:48 +02:00
Alexandre Ratchov
c3b7829b02 better debug traces 2012-10-16 09:45:53 +02:00
Alexandre Ratchov
e7b81ffcd0 free buffers in dev_close(), delete midi port in dev_del() 2012-10-15 18:53:38 +02:00
Alexandre Ratchov
3edbce0c18 fix memory leaks 2012-10-15 18:43:34 +02:00
Alexandre Ratchov
61c00bcef2 close the device only if it's opened 2012-10-15 18:19:07 +02:00
Alexandre Ratchov
cf80edff3e check for missed tick after record cycle completion 2012-10-08 23:36:29 +02:00
Alexandre Ratchov
e1a4e8daba remove sndiod links before installing 2012-10-08 23:19:03 +02:00
Alexandre Ratchov
792b22dc90 log slot details only if its allocated 2012-10-08 18:26:44 +02:00
Alexandre Ratchov
a525ed859b unbreak volume calculation 2012-10-08 17:46:48 +02:00
Alexandre Ratchov
857707b227 allow sndio anonymouse uid to be changed; dont check its home directory 2012-10-07 15:55:52 +02:00
Alexandre Ratchov
983c8433a2 allow sndiod user to be changed, dont check its home directory 2012-10-07 15:50:49 +02:00
Alexandre Ratchov
bca3235a53 dont try to decode device input in monitoring cycles 2012-10-07 13:46:51 +02:00
Alexandre Ratchov
f29564da69 better xmalloc from midish 2012-10-06 14:18:49 +02:00
Alexandre Ratchov
49feb9131a include arpa/inet.h to get byte order conv 2012-10-06 12:29:02 +02:00
Alexandre Ratchov
258123a17c use a local variable to store volume 2012-10-06 12:27:03 +02:00
Alexandre Ratchov
aecccdb36f use int for nfds 2012-10-06 12:25:25 +02:00
Alexandre Ratchov
ce83ee0567 add missing compat includes 2012-10-06 12:24:03 +02:00
Alexandre Ratchov
bde184cd77 save fifo pointers for debug purposes 2012-10-05 21:27:11 +02:00
Alexandre Ratchov
8a85df2977 tweak debug traces 2012-10-05 20:42:52 +02:00
Alexandre Ratchov
c52770bd18 make debug level 1 less verbose 2012-10-05 19:37:47 +02:00
Alexandre Ratchov
37c1d89c64 use max(idelta, odelta) as clock reference 2012-10-05 19:35:31 +02:00
Alexandre Ratchov
c257a68d18 ensure there are at least two periods 2012-10-05 18:15:58 +02:00
Alexandre Ratchov
9c73c409dc poll only bits set by sio_pollfd 2012-10-05 18:03:13 +02:00
Alexandre Ratchov
2b5ee784cb backout last 2012-10-05 17:59:32 +02:00
Alexandre Ratchov
283aab28b0 fix msb usage in aparams_native() 2012-10-05 17:58:11 +02:00
Alexandre Ratchov
8d3f1fbe70 poll the right number of descriptors 2012-10-05 17:07:18 +02:00
Alexandre Ratchov
03907f98dc more libsndio consistency checks 2012-10-05 16:04:45 +02:00
Alexandre Ratchov
753faf3d11 check consistency of libsndio 2012-10-05 14:30:56 +02:00
Alexandre Ratchov
9f7e689a0a Remove deadcode. Calculate volume weights for play stream only.
Current position for rec-only devices is zero.
2012-10-05 14:30:29 +02:00
Alexandre Ratchov
7709b5d017 style 2012-10-05 14:24:38 +02:00
Alexandre Ratchov
2630880acc handle rec xruns as well 2012-10-04 19:22:15 +02:00
Alexandre Ratchov
8961afb69e include arpa/inet.h to get byte order routines 2012-10-04 15:24:43 +02:00
Alexandre Ratchov
a3a786b16e handle xruns 2012-10-04 15:24:08 +02:00
Alexandre Ratchov
5136ef4aad trim spaces at end of lines 2012-10-03 15:41:56 +02:00
Alexandre Ratchov
8c5a080731 dont dump stream state if debugging isn't enabled 2012-09-27 10:40:11 +02:00
Alexandre Ratchov
f0f8c69cac hide some debug info 2012-09-26 22:33:37 +02:00