Guillaume Revaillot
aacc4e802b
Allow to specify pulseaudio server instead of using default one.
...
Add "server" entry to pa config section, allowing to connect to a remote or a local system
pulseaudio instance instead of letting pulseaudio choose.
2020-03-27 09:39:11 +01:00
Mike Brady
83c0405d03
Add automatic bit depth and speed selection for alsa devices. Set rate and format to "auto" by default. Always look for the greatest bit depth, but the lowest multiple of 44,100.
...
Improve support for big-endian CPUs by adding support for explicit -endian formats, i.e. S16_LE, S16_BE, S24_LE, S24_BE, S32_LE, S32_BE.
For the "disable_standby_mode" setting, change "while_active" to "auto".
2019-05-07 10:19:04 +01:00
Mike Brady
89340f20c9
3.3 release candidate 0
2019-03-04 12:38:20 +00:00
Mike Brady
552218ab6e
Clean up audio help texts, add in the volume_range_hw_priority setting.
2019-02-05 11:26:54 +00:00
Mike Brady
aa5698fce2
Remove the preflight call - don't seem to need it.
2019-01-27 15:53:36 +00:00
Mike Brady
caf06c5aba
Add the idea of a preflight message to tell the backend that frames will be coming...
2019-01-07 17:34:50 +00:00
Mike Brady
80f15e1f57
clang format
2019-01-04 17:26:55 +00:00
Mike Brady
5e38fcd50f
Add default values for the interpolation threshold
2019-01-04 17:06:21 +00:00
Mike Brady
e0a4e5cde8
Format tidy-up
2018-10-21 17:10:23 +01:00
Mike Brady
2f73f1ac66
Revert previous change which was to unreference a stream prior to disconnection -- not needed.
2018-09-21 18:22:23 +01:00
Mike Brady
ae97af4ad1
Revert previous change which was to unreference a stream prior to disconnection -- not needed.
2018-09-21 18:18:32 +01:00
Mike Brady
0dce052535
Remove debug messages from pa start and pa stop
2018-09-21 17:45:13 +01:00
Mike Brady
c57d25652e
Unreference the pa stream when finished with it, so that it the sink can go idle.
2018-09-21 17:41:50 +01:00
Mike Brady
52af6c6c9a
Unreference the pa stream when finished with it, so that it the sink can go idle.
2018-09-21 17:36:49 +01:00
Maciej Wilczynski
947a0ca291
Add PA sink configuration option
2018-09-15 20:49:11 +02:00
Mike Brady
8cabb16f25
Initial very rough attempt at a jackaudio backend.
2018-08-31 12:39:18 +01:00
Mike Brady
ea20840d6c
Make the play function return a status (ignored for the present). Clean up audio_alsa by removing all the die calls and placing the alsa_mutex calls in pthread cleanup routines.
2018-07-29 13:45:42 +01:00
Mike Brady
8f76c853ed
clean up audio_pa definition of play
2018-05-14 10:01:15 +01:00
Mike Brady
0cd8a2ce90
Remove more causes of warnings at -Wextra levels
2018-03-07 22:05:11 +00:00
Mike Brady
07e46565ca
Eliminate almost all warnings from -Wall
2018-03-07 14:29:14 +00:00
Mike Brady
1637a79dd6
Add tinyhttp code for sending and reading responses. Clean up some dacp routines. Most new and modified rooutines untested.
2017-12-18 18:50:01 +00:00
Mike Brady
8ab46494fa
Make some additions to audio_pa to emit erro messages before it dies
2017-12-06 20:59:36 +00:00
Mike Brady
d46172e2eb
Don't disable PulseAudio autospawn
2017-10-30 10:45:38 +01:00
Mike Brady
48c1d3eb20
Add fixes suggested by using "infer"
2017-09-03 22:46:57 +01:00
Mike Brady
e513e5330c
Tidy up source using clang-format
2017-07-31 11:57:57 +02:00
Mike Brady
b7864b4ecf
Move common audio backend settings like buffer size and offsets to the "general" settings stanza. Improve the resync code a little.
2017-07-21 12:29:03 +02:00
Mike Brady
d428585715
Add code to read audio_backend_silent_lead_in_time settings.
2017-07-06 19:13:10 +01:00
Mike Brady
9ba3ed39a5
Add some settings to the new PulseAudio backend. Limit the silent lead-in time to pipe and stdout backends. Not tested much.
2017-06-30 20:05:48 +01:00
Mike Brady
d5ad994257
Stop generating multiple PA sound applications -- now, just generate one.
2017-06-13 07:58:17 +01:00
Mike Brady
5728820075
Make default buffer 0.35 seconds, turn off some debug code.
2017-05-18 10:35:40 +01:00
Mike Brady
66f13c46f9
Use lock and unlock to improve stability, ahem.
2017-05-17 17:29:18 +01:00
Mike Brady
1bbceea7ab
Cork output if underflow is detected.
2017-05-17 15:07:55 +01:00
Mike Brady
7f02d9f718
Change service name to Shairport Sync
2017-05-17 12:15:15 +01:00
Mike Brady
b3ae05ea60
Initial very rough full-fat pulseaudio backend
2017-05-17 08:49:40 +01:00