Commit Graph

404 Commits

Author SHA1 Message Date
Alexandre Ratchov d6cb8d427d add bits for midi/N style port names 2012-11-06 20:52:40 +01:00
Alexandre Ratchov be643dd0ef set (unused) midi fill method 2012-11-06 12:37:50 +01:00
Alexandre Ratchov fffd1b2ad5 use flow control instead of throtteling 2012-11-04 23:07:45 +01:00
Alexandre Ratchov 2b55c6e659 tweak comments 2012-11-04 11:36:13 +01:00
Alexandre Ratchov cd8a3a6075 mem_alloc -> xmalloc 2012-11-03 18:09:50 +01:00
Alexandre Ratchov 5142109f22 make file i/o able to cross fifo bundary 2012-11-03 17:30:30 +01:00
Alexandre Ratchov 5fddbed369 make abuf structure use bytes 2012-11-02 19:05:29 +01:00
Alexandre Ratchov f2c1c70165 restart xfers when we get more tickets 2012-11-02 17:26:10 +01:00
Alexandre Ratchov fc38a92505 miofile -> port_mio 2012-11-02 15:58:34 +01:00
Alexandre Ratchov 8bdc288d6b fix leak: free s->mix.{decbuf,resampbuf} 2012-11-02 14:33:28 +01:00
Alexandre Ratchov fe60df1e1f remove unused #includes 2012-11-02 14:21:43 +01:00
Alexandre Ratchov 285549a2fb check that we run dev_cycle at block boundary 2012-11-02 14:15:24 +01:00
Alexandre Ratchov 22b132cf3a inline dev_sio_{read,write} since they are called only once 2012-11-02 13:39:06 +01:00
Alexandre Ratchov 532e76198c in siofile, use struct dev directly 2012-11-02 13:19:35 +01:00
Alexandre Ratchov d0d0d0ee32 s/state/cstate 2012-11-02 12:48:50 +01:00
Alexandre Ratchov a9dad9889f rename STATE_xxx to SIOFILE_xxx 2012-11-02 12:48:10 +01:00
Alexandre Ratchov e22f44cdfa move siofile structure into struct dev 2012-11-02 12:43:43 +01:00
Alexandre Ratchov ad00f359cc Dont insert twice recorded wav files (-o) on the list of recorded
files; with help from Remco <remco at d-compu.dyndns.org>
2012-11-02 12:19:02 +01:00
Alexandre Ratchov 3f1b2007ce initialize wav structure enough, for wav_close() to work 2012-11-02 12:05:56 +01:00
Alexandre Ratchov 718a891d31 fix clock ticks arithmetics 2012-10-30 08:19:25 +01:00
Alexandre Ratchov 26bf90b89d use gnu autoconf style HAVE_XXX macros 2012-10-29 18:08:36 +01:00
Alexandre Ratchov 03e8e6c99c dont panic on rec hw xruns 2012-10-29 15:33:55 +01:00
Alexandre Ratchov 0b0ca8995d tighter boundary checks 2012-10-29 15:32:51 +01:00
Alexandre Ratchov 766895ba25 use @user@ to set SNDIO_USER 2012-10-29 14:20:45 +01:00
Alexandre Ratchov d2102db943 free() slot conversion & resampling buffers 2012-10-29 14:18:48 +01:00
Alexandre Ratchov b7818cbbce fix flowctl causing deadlocks 2012-10-28 15:36:57 +01:00
Alexandre Ratchov a26dd8e520 remove wrong comment about wrong code 2012-10-27 15:02:44 +02:00
Alexandre Ratchov 42920b0c49 make privsep user settable 2012-10-27 14:55:18 +02:00
Alexandre Ratchov fcc55272a8 hide alsa defs if USA_ALSA is not defined 2012-10-27 14:11:23 +02:00
Alexandre Ratchov 9fc2222a4d comments 2012-10-27 10:57:50 +02:00
Alexandre Ratchov 5681bf83e2 backout debug traces additions 2012-10-27 10:53:27 +02:00
Alexandre Ratchov 4b0c3775f1 crank SIO_MAXNFDS 2012-10-26 18:53:30 +02:00
Alexandre Ratchov 1c240e397d snd_pcm_poll_descriptors_count is not reliable use SIO_MAXNFDS 2012-10-26 18:50:09 +02:00
Alexandre Ratchov 1e60e2e649 add mio_alsa 2012-10-26 18:11:15 +02:00
Alexandre Ratchov f7a1b42dce user netinet/inet.h rather than arpa/inet.h 2012-10-26 16:58:55 +02:00
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