Commit Graph
32 Commits
Author SHA1 Message Date
Mke Brady ea25011394 Functional volume_range_db setting in the general stanza 2015-10-07 22:33:20 +01:00
Mike Brady 2a4f404953 Disable using linear mixer scale for the time being. 2015-10-03 21:33:10 +01:00
Mke Brady b82952dc13 Remove some scaffolding, turn off some debug messages 2015-10-03 20:26:06 +01:00
Mke Brady ba02dee443 playing with using just a linear mixer 2015-10-03 12:49:56 +01:00
Mike Brady e052b5fb9e Use pkg-config to find libdaemon -- useful in FreeBSD -- and quieten a few warnings in FreeBSD 2014-10-11 19:55:29 +01:00
Mike Brady 312bcd03ba Remove mixer_type or -t stuff, add messages about deprecation 2015-08-20 10:15:12 -04:00
Mike Brady 3d10ddb5b5 Remove separate latencies for software and hardware mixers in alsa back end. 2015-07-10 14:56:30 +00:00
Mike Brady 8c68c722ea Reverty the hardware buffer size to 6615 -- might get rid of it. 2015-07-01 10:21:30 +00:00
Mike Brady 4654d9201d Fix small bug associating chosen buffer length 2015-06-18 16:56:04 +00:00
Mike Brady 193fd3f0ca Use two different buffer sizes for alsa -- a short one for software mixer, a longer one for hardware mixer, giving more resilience against delays, etc. without affecting responsiveness 2015-06-18 16:14:40 +00:00
Mike Brady 58a13cf800 Modify latency and buffer size limits, fix a few dying message bugs. 2015-06-02 13:18:07 +00:00
Mke Brady 87a0475c16 Reformat using clang-format. 2015-06-01 23:16:50 +01:00
Mke Brady c56a9ee26e Add support for settable buffer length and latency offset. 2015-06-01 21:36:18 +01:00
Mike Brady 744214df54 Apply command line arguments _after_ sewttings from configuration file 2015-05-20 19:58:07 +00:00
Mike Brady d1b06891af Parse libconfig info during init. 2015-05-04 17:15:19 +01:00
Mike Brady a2790fc102 Improve metadata output -- maybe it works reliably now. Add call to get audio parameters from back ends, to be able to give volume metadata. 2015-03-16 11:11:54 +00:00
Mke Brady 5a1a9a003c ALSA: Instead of draining before stopping, we now flush first -- better for OpenWrt; may actually be better all round. 2014-11-12 17:48:01 +00:00
Mike Brady c131662195 Store set volume and apply when the device is opened -- otherwise it is ignored. 2014-11-09 05:53:26 +00:00
Mke Brady eef08e4975 Change SIGUSR2 to turn on and off reserving the output device. 2014-10-19 16:43:59 +01:00
Mike Brady 8350488077 Refactor code to open and close the alsa device. Now it opens the device on play and closes it on pause or stop. Should speed up return of availability of device when client pauses or stops. 2014-09-25 18:17:45 +01:00
Mike Brady 689063ce8c Improve error messages, make them quieter sometimes. 2014-08-24 16:10:05 +01:00
Mike Brady 555f4400e1 Use snd_pcm_avail_delay instead of snd_pcm_delay; it seems to be more accurate. 2014-05-22 16:32:44 +00:00
Mike Brady ef76353e65 Turn off volume debug message, modify delay error message. 2014-05-20 15:19:06 +01:00
Mike Brady 1a0932d92a Remove extra returns and generally clean up some debug messages. 2014-05-19 19:12:13 +01:00
Mike Brady 7bacf5b36f Brown bad commit -- was too eager to remove 'redundant' code. 2014-05-09 18:48:28 +01:00
Mike Brady 82cef38bb3 Make use of vol2attn in software and hardware mixers. 2014-05-09 17:54:30 +01:00
Mike Brady d20f27f436 Add proper low-volume rolloff to the volume control -- see, for instance, the graph for the ALPS RK27 Potentiometer at http://tangentsoft.net/audio/atten.html. 2014-05-09 15:26:27 +01:00
Mike Brady 9a5e313d93 Improve error detection. 2014-05-05 21:19:58 +01:00
Mike Brady bc043ddfdf Add some extra diagnostics. 2014-05-01 23:10:55 +01:00
Mike Brady 2c40f23f43 add flush and delay functions, modify volume curve, add some diagnostics 2014-04-30 20:31:19 +01:00
James Laird 82518dc334 whitespace cleanups 2013-10-22 10:44:40 +11:00
Muffinman 95035f3389 Alsa output driver
Based on a bit of code of @Skaman and bit of mine, I've added support
for mixer and audio Alsa support.
2013-06-20 18:30:42 +10:00