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
Mike Brady
cdca17558d
Add new alsa option -- disable_synchronization
2016-03-26 21:53:09 +00:00
Mike Brady
ce589005f5
Bump for updates
2016-03-26 21:52:05 +00:00
Mike Brady
6f93f55d00
Add version string to debug info, move settings printout to level 1, remove Startup and Exit log messages
2016-03-26 21:43:47 +00:00
Mike Brady
b608655c71
Add comment that get_reference_timestamp_stuff is okay type-wise
2016-03-26 21:42:14 +00:00
Mike Brady
cca403c260
Add no-sync option, don't try to sync if delay() returns -1, check and comment some integer and sign promotion, update stats printing, (but more to do there).
2016-03-26 21:40:59 +00:00
Mike Brady
548d07716a
Add field to disable synchronisation.
2016-03-26 21:37:17 +00:00
Mike Brady
e3986855dd
Add type check comment.
2016-03-26 21:36:40 +00:00
Mike Brady
953ee31349
add option disable synchronization; delay() should return a signed integer, duh.
2016-03-26 21:35:49 +00:00
Mike Brady
71ed15b31e
delay() should return a signed integer, duh.
2016-03-26 21:34:33 +00:00
Mike Brady
a29a049ba0
Update README.md
2016-03-24 11:18:50 +00:00
Mke Brady
24bd670842
Use snd_pcm_delay instead of snd_pcm_avail_delay, see if it fixes an incompatability with some DACs.
2016-03-24 09:26:02 +00:00
Mike McKnight
89f47af295
Merged upstream changes
2016-03-17 09:16:06 -06:00
Mike Brady
e1b64fdcbb
Update RELEASENOTES.md
2016-03-17 09:56:02 +00:00
Mke Brady
7b3694d9a6
Correct mishandling of avahi poll-thread error conditions. This was causing Shairport Sync to crash e.g. when the network disappeared
2016-03-17 09:41:32 +00:00
Mke Brady
cdd04c1de5
Update to reflect development version 2.9.3
2016-03-17 09:33:00 +00:00
Mike Brady
d6a8390b2f
Update audio.h
2016-03-03 16:58:16 +00:00
Mike Brady
954504e885
2.8.1 – final
2016-03-03 15:36:25 +00:00
Mike Brady
0edab32e32
2.8.1 – final
2016-03-03 15:35:31 +00:00
Mike Brady
50d96b6564
Update audio_stdout.c
2016-03-03 15:06:57 +00:00
Mike Brady
107df039fa
Update copyright notice
2016-03-03 15:05:55 +00:00