Mike Brady
6ca90bf477
Update configure.ac
2016-04-15 19:33:45 +01:00
Mike Brady
8020a54b13
Update RELEASENOTES.md
2016-04-15 19:33:03 +01:00
Mike Brady
bbcc63f7f1
Merge pull request #270 from mikebrady/development
...
Merge in bug fixes and special-purpose enhancements
2016-04-15 19:30:14 +01:00
Mike Brady
68bef2a5b1
Update RELEASENOTES.md
2016-04-05 17:12:13 +01:00
Mike Brady
31ae47d0dd
Update RELEASENOTES.md
2016-04-05 17:11:56 +01:00
Mike Brady
c805f30708
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
...
Forgot about cleasnups done on another machine
2016-04-05 15:48:46 +00:00
Mke Brady
dace5b0511
Cleaned up a few warnings detected by clang
2016-04-05 16:48:29 +01:00
Mike Brady
3b8b258142
Bump to reflect fix to mute/volume control issue
2016-04-05 15:24:11 +00:00
Mike Brady
0a7d9b383b
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
...
Forgot about the github mods.
2016-04-05 10:21:06 +00:00
Mike Brady
fbdd65ac37
Fix a bug whereby when hardware muted, volume set to 0, i.e. 0dB which could be the maximum. Now explicitly set to minimum.
2016-04-05 10:20:14 +00:00
Mike Brady
46478a6ba7
Merge pull request #265 from Celestrion/bugfix-pcqinit
...
Mutex and Condition Variable Initialisation
2016-04-04 15:30:30 +01:00
Jonathan Patschke
1f67010c94
Mutex and Condition Variable Initialisation
...
Initialise the mutex and two condition variables inside pc_queue during pc_queue_init().
2016-04-04 07:57:52 -05:00
Mike Brady
ca5526ce85
Brown bag commit -- not printing delay error messages properly.
2016-04-02 20:32:44 +00:00
Mike Brady
1eaa2ac2d2
Bump to reflect addition of preliminary avahi support for knowing self ipv6 number.
2016-04-02 15:12:59 +00:00
Mike Brady
f864adf3d4
Add experimental Avahi browser code to detect ip numbers used to advertise service
2016-04-02 15:10:41 +00:00
Mike Brady
1f814c7c78
Tidy up alsa diagnostic messages and reinstate the nominal frame rate.
2016-04-02 15:09:29 +00:00
Mike Brady
c1118eedbf
Reduce minimum buffer length below which no stuffin will be done.
2016-04-02 15:08:17 +00:00
Mike Brady
b58a35ae0f
Delete shairport-sync.conf~
2016-04-01 18:11:35 +01:00
Mike Brady
46d49b7236
Fix incorrect reference to modify_delay_check
...
Thanks @PeterPablo
2016-04-01 17:54:11 +01:00
Mike Brady
bfadbf3801
Add ability to change regtype; clean up some diagnostic messages.
2016-04-01 16:30:36 +01:00
Mike Brady
ca8ae1fa62
Add ability to change regtype; tidy up and quieten some diagnostic messages.
2016-04-01 16:29:09 +01:00
Mike Brady
e22aa0e16b
Change wording of buffers-empty message.
2016-04-01 16:27:58 +01:00
Mike Brady
0d06016cb8
Clean up alsa settings information output -- make more precise too.
2016-04-01 16:27:06 +01:00
Mike Brady
890cdd68dd
Add regtype field and remove two own fields -- logfile and errfile
2016-04-01 16:26:04 +01:00
Mike Brady
863648e657
Merge pull request #260 from mcnoche/development
...
Avahi name collision fix and tweaking output for stats and end of streaming. Thanks Mike!
2016-04-01 11:56:44 +01:00
Mike McKnight
9323e65df8
Merge upstream and rebase local mods to development
2016-03-31 08:04:58 -06:00
Mike Brady
1ab4f9302f
Merge pull request #259 from mikebrady/modify_delay_check
...
Detect and handle when the packet buffers are exhausted. (!)
Modify the way `audio_alsa` gets delay information from the `alsa` subsystem.
Gracefully handle occasions when the delay information is unavailable or the delay returns a negative result.
Add an option to turn off synchronisation (this is probably temporary).
Add two options for setting `alsa` period size and `alsa` buffer size – advanced usage only.
Start to tidy up arithmetic errors due to sloppy observance of type mixing and promotion rules.
Add some `alsa` information to debug info.
Tidy up some debug messages; drop the priority of some and raise others.
2016-03-31 12:03:10 +01:00
Mike McKnight
357f047ca4
Cleaned up a little
2016-03-30 21:49:08 -06:00
Mike McKnight
490933984e
Fix for name collisions in avahi
2016-03-30 20:49:24 -06:00
Mike Brady
89f832d1b0
Merge branch 'modify_delay_check' of https://github.com/mikebrady/shairport-sync into modify_delay_check
...
Forgot about chenges made yesterday
2016-03-30 12:45:45 +00:00
Mike Brady
998f57dfe6
Bump to reflect extra alsa setting options and diagnostics.
2016-03-30 12:36:33 +00:00
Mike Brady
a3356c045f
Add entries for period size and buffer size.
2016-03-30 12:35:36 +00:00
Mike Brady
cbc4caa63a
Add the ability to set period size and buffer size. List characteristics of the alsa device afterwards.
2016-03-30 12:34:59 +00:00
Mike Brady
2e356f7c93
Reduce the minimum threshold for allowing interpolation to a buffer size of 2000
2016-03-30 10:58:33 +00:00
Mike Brady
c5f79ed07c
Downgrade the check of buffer size to an advisory rather than a must-comply.
2016-03-29 22:13:23 +00:00
Mike Brady
9a258b236c
Bump to reflect changes made to delay() and miscellaneous changes to arithmetic and debug stuff.
2016-03-29 16:30:13 +00:00
Mike Brady
0a9e4c8e51
Handle positive and negative delay() results and handle status returns separately.
2016-03-29 16:09:25 +00:00
Mike Brady
a7682415f1
Comment out the use of the delay() function, and update is to the new signature anyway.
2016-03-29 16:08:15 +00:00
Mike Brady
7189e18d69
Change latency representations to long as that's closr to what alsa uses.
2016-03-29 16:07:22 +00:00
Mike Brady
1e408d1b7c
Make the delay() procedurec return a frame value, positive or negative and a separate status value. Also, don't ever try to change the buffer size.
2016-03-29 16:06:26 +00:00
Mike Brady
beae604b70
Put debug message before attempt to recover from snd_pcm_delay negative result
2016-03-29 12:29:54 +00:00
Mike Brady
0bf3453390
Ensure the buffers exhausted message is sent one per occasion, slightly tidy up a calculation.
2016-03-29 12:06:03 +00:00
Mike Brady
82a033e590
Use type long for delay as it corresp[onds with the alsa type used
2016-03-29 12:04:34 +00:00
Mike Brady
c24c6bb265
Add a little extra information to diagnostic when a player packet out of sequence error is retected.
2016-03-28 08:40:52 +00:00
Mike Brady
1dde99daff
demote debug info about network
2016-03-27 16:32:24 +00:00
Mike Brady
fb7e86a5c0
Bump to shom more type and promotion checking...
2016-03-27 16:20:49 +00:00
Mike Brady
344d645b0a
tighten up calcuations of when to start sending silence and how to adjust it, taking account of C rules of type changing and promotion
2016-03-27 16:11:35 +00:00
Mike Brady
91f75f2100
demote a debug message
2016-03-27 16:09:03 +00:00
Mike Brady
ee240f2f6f
Make time_to_play a uint64_t and correctly handle addition or subtraction of the delta -- possible bug fix. Check types of arguments associated with caulcuation whether to wait or not.
2016-03-27 14:59:02 +00:00
Mike Brady
1805fdb867
Get packet stats at debug level 1
2016-03-26 22:26:52 +00:00