]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
9 years agoMake statistics output more parsable 296/head
Jörg Krause [Tue, 10 May 2016 11:01:12 +0000 (13:01 +0200)] 
Make statistics output more parsable

9 years agoMerge pull request #294 from joerg-krause/fix-vol2attn
Mike Brady [Mon, 9 May 2016 14:01:27 +0000 (15:01 +0100)] 
Merge pull request #294 from joerg-krause/fix-vol2attn

Fix vol2attn

9 years agoFix vol2attn 294/head
Jörg Krause [Mon, 9 May 2016 13:07:21 +0000 (15:07 +0200)] 
Fix vol2attn

This fixes calculation of the scaled attenuation if `max_dB` is different from
zero.

Closes: https://github.com/mikebrady/shairport-sync/issues/290
9 years agoOnly try to set volume at play if there's a mixer.
Mike Brady [Mon, 9 May 2016 11:28:37 +0000 (11:28 +0000)] 
Only try to set volume at play if there's a mixer.

9 years agoAdd some debug information to help understand some of the startup dynamics
Mike Brady [Mon, 9 May 2016 10:00:23 +0000 (11:00 +0100)] 
Add some debug information to help understand some of the startup dynamics

9 years agoUpdate RELEASENOTES.md 2.8.3.5
Mike Brady [Sun, 8 May 2016 13:47:55 +0000 (14:47 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Sun, 8 May 2016 13:45:13 +0000 (14:45 +0100)] 
Update RELEASENOTES.md

9 years agoCheck for zero length or NULL play buffers and skip them if they happen.
Mike Brady [Sun, 8 May 2016 12:17:47 +0000 (13:17 +0100)] 
Check for zero length or NULL play buffers and skip them if they happen.

9 years agoReinstate end of conversation detection.
Mike Brady [Sat, 7 May 2016 15:30:11 +0000 (16:30 +0100)] 
Reinstate end of conversation detection.

9 years agoMerge pull request #293 from joerg-krause/alsa-softvol
Mike Brady [Sat, 7 May 2016 09:52:05 +0000 (10:52 +0100)] 
Merge pull request #293 from joerg-krause/alsa-softvol

Add support for ALSA softvol plugin

9 years agoBump to reflect bug fix.
Mike Brady [Sat, 7 May 2016 08:44:09 +0000 (09:44 +0100)] 
Bump to reflect bug fix.

9 years agoFix a diagnostic that actually caused the connection to be dropped occasinally.
Mike Brady [Sat, 7 May 2016 08:41:51 +0000 (09:41 +0100)] 
Fix a diagnostic that actually caused the connection to be dropped occasinally.

9 years agoFix warning about redefined function.
Mike Brady [Sat, 7 May 2016 08:01:46 +0000 (08:01 +0000)] 
Fix warning about redefined function.

9 years agoFix warning about redefined function.
Mike Brady [Sat, 7 May 2016 08:01:05 +0000 (08:01 +0000)] 
Fix warning about redefined function.

9 years agoAdd support for ALSA softvol plugin 293/head
Jörg Krause [Fri, 6 May 2016 20:03:44 +0000 (22:03 +0200)] 
Add support for ALSA softvol plugin

The ALSA softvol plugin allows the user to add a new volume control and control
the sound volume by software. This is necessary if the sound card can't control
the volume by hardware.

An example configuration in the `~/.asoundrc` file might look like this:
```
pcm.softvol {
  type softvol
  slave {
    pcm "hw:0"
  }
  control {
    name "Master"
    card 0
  }
  min_dB -57.2
  max_dB -6.2
}
ctl.softvol {
  type hw
  card 0
}
```

The corresponding entries in the shairport-sync would be:
```
alsa =
{
  output_device = "softvol";
  mixer_control_name = "Master";
}
```

Please check the (ALSA documentation)[http://alsa.opensrc.org/Softvol] and the
(ALSA PCM library reference)[http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html]

If shairport-syncs alsa backend does not have success in getting the dB volume
information from the hardware device it tries to get these information from a
software volume control with the name mixer device name as for the hardware
mixer.

9 years agoDemote some debug messages, add check for empty or null buffer argument to pcm_snd_writei
Mike Brady [Fri, 6 May 2016 16:28:40 +0000 (16:28 +0000)] 
Demote some debug messages, add check for empty or null buffer argument to pcm_snd_writei

9 years agoUpdate configure.ac 2.8.3.4
Mike Brady [Mon, 2 May 2016 21:39:52 +0000 (22:39 +0100)] 
Update configure.ac

9 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 2 May 2016 21:39:24 +0000 (22:39 +0100)] 
Update RELEASENOTES.md

9 years agoFix omitted line.
Mike Brady [Mon, 2 May 2016 20:46:08 +0000 (21:46 +0100)] 
Fix omitted line.

Thanks to https://github.com/ejurgensen

9 years agoWait for network to have started
Mike Brady [Mon, 2 May 2016 16:08:00 +0000 (17:08 +0100)] 
Wait for network to have started

http://unix.stackexchange.com/questions/126009/cause-a-script-to-execute-after-networking-has-started

9 years agoUpdate RELEASENOTES.md 2.8.3.3
Mike Brady [Mon, 2 May 2016 15:01:05 +0000 (16:01 +0100)] 
Update RELEASENOTES.md

9 years agoMerge branch 'development' of github.com:mikebrady/shairport-sync into development
Mike Brady [Mon, 2 May 2016 13:01:09 +0000 (14:01 +0100)] 
Merge branch 'development' of github.com:mikebrady/shairport-sync into development

Forgot.

9 years agoGet IPv6 working properly
Mike Brady [Mon, 2 May 2016 12:58:17 +0000 (13:58 +0100)] 
Get IPv6 working properly

9 years agoUpdate RELEASENOTES.md 2.8.3.2
Mike Brady [Mon, 2 May 2016 09:38:59 +0000 (10:38 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 2 May 2016 09:34:34 +0000 (10:34 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 2 May 2016 09:33:55 +0000 (10:33 +0100)] 
Update RELEASENOTES.md

9 years agoTo reflect changes -- always use the IP number we started with, playback_mode instead...
Mike Brady [Mon, 2 May 2016 08:47:50 +0000 (09:47 +0100)] 
To reflect changes -- always use the IP number we started with, playback_mode instead of mono

9 years agotidy up diagnostic messages
Mike Brady [Mon, 2 May 2016 08:45:44 +0000 (09:45 +0100)] 
tidy up diagnostic messages

9 years agoDisable avahi browser function
Mike Brady [Mon, 2 May 2016 08:45:00 +0000 (09:45 +0100)] 
Disable avahi browser function

9 years agoChange mono setting to playback_mode setting and add to config file.
Mike Brady [Mon, 2 May 2016 08:07:39 +0000 (09:07 +0100)] 
Change mono setting to playback_mode setting and add to config file.

9 years agoAdd information about local ip address so we can send back connections to the client...
Mike Brady [Sun, 1 May 2016 21:37:57 +0000 (22:37 +0100)] 
Add information about local ip address so we can send back connections to the client from the same ip number it used to contact us

9 years agoAdd a local argument fo rtp_setup so we know what local ip address to use
Mike Brady [Sun, 1 May 2016 21:36:19 +0000 (22:36 +0100)] 
Add a local argument fo rtp_setup so we know what local ip address to use

9 years agoMerge pull request #283 from rkam/development
Mike Brady [Sun, 1 May 2016 10:52:14 +0000 (11:52 +0100)] 
Merge pull request #283 from rkam/development

Init metadata_sock to -1 so it doesn't look like an fd. Thanks!

9 years agoInit metadata_sock to -1 so it doesn't look like an fd. 283/head
rkam [Sun, 1 May 2016 02:14:18 +0000 (19:14 -0700)] 
Init metadata_sock to -1 so it doesn't look like an fd.

9 years agoMerge pull request #281 from faceless2/development
Mike Brady [Wed, 27 Apr 2016 12:09:02 +0000 (14:09 +0200)] 
Merge pull request #281 from faceless2/development

Metadata over UDP – looks great, thanks.

9 years agoAdded option to broadcast metadata over UDP 281/head
mike [Wed, 27 Apr 2016 11:09:19 +0000 (12:09 +0100)] 
Added option to broadcast metadata over UDP

9 years agoMerging upstream
mike [Wed, 27 Apr 2016 09:27:21 +0000 (10:27 +0100)] 
Merging upstream
Merge remote-tracking branch 'upstream/development' into development

9 years agoIf the volume is out of range 0 -- -30 or -144, return minimum vol
Mike Brady [Wed, 27 Apr 2016 08:23:15 +0000 (10:23 +0200)] 
If the volume is out of range 0 -- -30 or -144, return minimum vol

9 years agoCheck for null regtype
mike [Mon, 25 Apr 2016 11:03:39 +0000 (12:03 +0100)] 
Check for null regtype

9 years agoUpdate RELEASENOTES.md
Mike Brady [Mon, 25 Apr 2016 07:27:04 +0000 (09:27 +0200)] 
Update RELEASENOTES.md

9 years agoUpdate to reflect development status
Mike Brady [Mon, 25 Apr 2016 07:21:02 +0000 (09:21 +0200)] 
Update to reflect development status

9 years agoMerge branch 'master' into development
Mike Brady [Mon, 25 Apr 2016 07:11:03 +0000 (09:11 +0200)] 
Merge branch 'master' into development

9 years agoMerge pull request #277 from faceless2/development
Mike Brady [Mon, 25 Apr 2016 07:06:35 +0000 (09:06 +0200)] 
Merge pull request #277 from faceless2/development

Added option for mono output.

9 years agoAdded option for mono output 277/head
mike [Sun, 24 Apr 2016 20:25:24 +0000 (21:25 +0100)] 
Added option for mono output

9 years agoUpdate RELEASENOTES.md 2.8.3
Mike Brady [Sun, 24 Apr 2016 09:19:53 +0000 (11:19 +0200)] 
Update RELEASENOTES.md

9 years agoFix bug caused by regtype not being initialised under some circumetances.
Mike Brady [Sun, 24 Apr 2016 09:15:25 +0000 (10:15 +0100)] 
Fix bug caused by regtype not being initialised under some circumetances.

9 years agoUpdate TROUBLESHOOTING.md
Mike Brady [Tue, 19 Apr 2016 10:24:52 +0000 (11:24 +0100)] 
Update TROUBLESHOOTING.md

Add info about Pi 3's WiFi

9 years agoCreate UPDATING.md
Mike Brady [Tue, 19 Apr 2016 10:21:00 +0000 (11:21 +0100)] 
Create UPDATING.md

9 years agoUpdate TROUBLESHOOTING.md
Mike Brady [Mon, 18 Apr 2016 16:29:19 +0000 (17:29 +0100)] 
Update TROUBLESHOOTING.md

9 years agoUpdate README.md 2.8.2
Mike Brady [Fri, 15 Apr 2016 18:47:45 +0000 (19:47 +0100)] 
Update README.md

9 years agoUpdate README.md
Mike Brady [Fri, 15 Apr 2016 18:44:14 +0000 (19:44 +0100)] 
Update README.md

9 years agoUpdate README.md
Mike Brady [Fri, 15 Apr 2016 18:39:31 +0000 (19:39 +0100)] 
Update README.md

9 years agoUpdate shairport-sync.spec
Mike Brady [Fri, 15 Apr 2016 18:36:06 +0000 (19:36 +0100)] 
Update shairport-sync.spec

9 years agoUpdate configure.ac
Mike Brady [Fri, 15 Apr 2016 18:33:45 +0000 (19:33 +0100)] 
Update configure.ac

9 years agoUpdate RELEASENOTES.md
Mike Brady [Fri, 15 Apr 2016 18:33:03 +0000 (19:33 +0100)] 
Update RELEASENOTES.md

9 years agoMerge pull request #270 from mikebrady/development
Mike Brady [Fri, 15 Apr 2016 18:30:14 +0000 (19:30 +0100)] 
Merge pull request #270 from mikebrady/development

Merge in bug fixes and special-purpose enhancements

9 years agoUpdate RELEASENOTES.md 270/head 2.9.5.7
Mike Brady [Tue, 5 Apr 2016 16:12:13 +0000 (17:12 +0100)] 
Update RELEASENOTES.md

9 years agoUpdate RELEASENOTES.md
Mike Brady [Tue, 5 Apr 2016 16:11:56 +0000 (17:11 +0100)] 
Update RELEASENOTES.md

9 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Tue, 5 Apr 2016 15:48:46 +0000 (15:48 +0000)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot about cleasnups done on another machine

9 years agoCleaned up a few warnings detected by clang
Mke Brady [Tue, 5 Apr 2016 15:48:29 +0000 (16:48 +0100)] 
Cleaned up a few warnings detected by clang

9 years agoBump to reflect fix to mute/volume control issue
Mike Brady [Tue, 5 Apr 2016 15:24:11 +0000 (15:24 +0000)] 
Bump to reflect fix to mute/volume control issue

9 years agoMerge branch 'development' of https://github.com/mikebrady/shairport-sync into develo...
Mike Brady [Tue, 5 Apr 2016 10:21:06 +0000 (10:21 +0000)] 
Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development

Forgot about the github mods.

9 years agoFix a bug whereby when hardware muted, volume set to 0, i.e. 0dB which could be the...
Mike Brady [Tue, 5 Apr 2016 10:20:14 +0000 (10:20 +0000)] 
Fix a bug whereby when hardware muted, volume set to 0, i.e. 0dB which could be the maximum. Now explicitly set to minimum.

9 years agoMerge pull request #265 from Celestrion/bugfix-pcqinit
Mike Brady [Mon, 4 Apr 2016 14:30:30 +0000 (15:30 +0100)] 
Merge pull request #265 from Celestrion/bugfix-pcqinit

Mutex and Condition Variable Initialisation

9 years agoMutex and Condition Variable Initialisation 265/head
Jonathan Patschke [Mon, 4 Apr 2016 12:57:52 +0000 (07:57 -0500)] 
Mutex and Condition Variable Initialisation

Initialise the mutex and two condition variables inside pc_queue during pc_queue_init().

9 years agoBrown bag commit -- not printing delay error messages properly.
Mike Brady [Sat, 2 Apr 2016 20:32:44 +0000 (20:32 +0000)] 
Brown bag commit -- not printing delay error messages properly.

9 years agoBump to reflect addition of preliminary avahi support for knowing self ipv6 number.
Mike Brady [Sat, 2 Apr 2016 15:12:59 +0000 (15:12 +0000)] 
Bump to reflect addition of preliminary avahi support for knowing self ipv6 number.

9 years agoAdd experimental Avahi browser code to detect ip numbers used to advertise service
Mike Brady [Sat, 2 Apr 2016 15:10:41 +0000 (15:10 +0000)] 
Add experimental Avahi browser code to detect ip numbers used to advertise service

9 years agoTidy up alsa diagnostic messages and reinstate the nominal frame rate.
Mike Brady [Sat, 2 Apr 2016 15:09:29 +0000 (15:09 +0000)] 
Tidy up alsa diagnostic messages and reinstate the nominal frame rate.

9 years agoReduce minimum buffer length below which no stuffin will be done.
Mike Brady [Sat, 2 Apr 2016 15:08:17 +0000 (15:08 +0000)] 
Reduce minimum buffer length below which no stuffin will be done.

9 years agoDelete shairport-sync.conf~
Mike Brady [Fri, 1 Apr 2016 17:11:35 +0000 (18:11 +0100)] 
Delete shairport-sync.conf~

9 years agoFix incorrect reference to modify_delay_check
Mike Brady [Fri, 1 Apr 2016 16:54:11 +0000 (17:54 +0100)] 
Fix incorrect reference to modify_delay_check

Thanks @PeterPablo

9 years agoAdd ability to change regtype; clean up some diagnostic messages.
Mike Brady [Fri, 1 Apr 2016 15:30:36 +0000 (16:30 +0100)] 
Add ability to change regtype; clean up some diagnostic messages.

9 years agoAdd ability to change regtype; tidy up and quieten some diagnostic messages.
Mike Brady [Fri, 1 Apr 2016 15:29:09 +0000 (16:29 +0100)] 
Add ability to change regtype; tidy up and quieten some diagnostic messages.

9 years agoChange wording of buffers-empty message.
Mike Brady [Fri, 1 Apr 2016 15:27:58 +0000 (16:27 +0100)] 
Change wording of buffers-empty message.

9 years agoClean up alsa settings information output -- make more precise too.
Mike Brady [Fri, 1 Apr 2016 15:27:06 +0000 (16:27 +0100)] 
Clean up alsa settings information output -- make more precise too.

9 years agoAdd regtype field and remove two own fields -- logfile and errfile
Mike Brady [Fri, 1 Apr 2016 15:26:04 +0000 (16:26 +0100)] 
Add regtype field and remove two own fields -- logfile and errfile

9 years agoMerge pull request #260 from mcnoche/development
Mike Brady [Fri, 1 Apr 2016 10:56:44 +0000 (11:56 +0100)] 
Merge pull request #260 from mcnoche/development

Avahi name collision fix and tweaking output for stats and end of streaming. Thanks Mike!

9 years agoMerge upstream and rebase local mods to development 260/head
Mike McKnight [Thu, 31 Mar 2016 14:04:58 +0000 (08:04 -0600)] 
Merge upstream and rebase local mods to development

9 years agoMerge pull request #259 from mikebrady/modify_delay_check
Mike Brady [Thu, 31 Mar 2016 11:03:10 +0000 (12:03 +0100)] 
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.

9 years agoCleaned up a little 257/head
Mike McKnight [Thu, 31 Mar 2016 03:49:08 +0000 (21:49 -0600)] 
Cleaned up a little

9 years agoFix for name collisions in avahi
Mike McKnight [Thu, 31 Mar 2016 02:49:24 +0000 (20:49 -0600)] 
Fix for name collisions in avahi

9 years agoMerge branch 'modify_delay_check' of https://github.com/mikebrady/shairport-sync... 259/head
Mike Brady [Wed, 30 Mar 2016 12:45:45 +0000 (12:45 +0000)] 
Merge branch 'modify_delay_check' of https://github.com/mikebrady/shairport-sync into modify_delay_check

Forgot about chenges made yesterday

9 years agoBump to reflect extra alsa setting options and diagnostics.
Mike Brady [Wed, 30 Mar 2016 12:36:33 +0000 (12:36 +0000)] 
Bump to reflect extra alsa setting options and diagnostics.

9 years agoAdd entries for period size and buffer size.
Mike Brady [Wed, 30 Mar 2016 12:35:36 +0000 (12:35 +0000)] 
Add entries for period size and buffer size.

9 years agoAdd the ability to set period size and buffer size. List characteristics of the alsa...
Mike Brady [Wed, 30 Mar 2016 12:34:59 +0000 (12:34 +0000)] 
Add the ability to set period size and buffer size. List characteristics of the alsa device afterwards.

9 years agoReduce the minimum threshold for allowing interpolation to a buffer size of 2000
Mike Brady [Wed, 30 Mar 2016 10:58:33 +0000 (10:58 +0000)] 
Reduce the minimum threshold for allowing interpolation to a buffer size of 2000

9 years agoDowngrade the check of buffer size to an advisory rather than a must-comply.
Mike Brady [Tue, 29 Mar 2016 22:13:23 +0000 (22:13 +0000)] 
Downgrade the check of buffer size to an advisory rather than a must-comply.

9 years agoBump to reflect changes made to delay() and miscellaneous changes to arithmetic and...
Mike Brady [Tue, 29 Mar 2016 16:30:13 +0000 (16:30 +0000)] 
Bump to reflect changes made to delay() and miscellaneous changes to arithmetic and debug stuff.

9 years agoHandle positive and negative delay() results and handle status returns separately.
Mike Brady [Tue, 29 Mar 2016 16:09:25 +0000 (16:09 +0000)] 
Handle positive and negative delay() results and handle status returns separately.

9 years agoComment out the use of the delay() function, and update is to the new signature anyway.
Mike Brady [Tue, 29 Mar 2016 16:08:15 +0000 (16:08 +0000)] 
Comment out the use of the delay() function, and update is to the new signature anyway.

9 years agoChange latency representations to long as that's closr to what alsa uses.
Mike Brady [Tue, 29 Mar 2016 16:07:22 +0000 (16:07 +0000)] 
Change latency representations to long as that's closr to what alsa uses.

9 years agoMake the delay() procedurec return a frame value, positive or negative and a separate...
Mike Brady [Tue, 29 Mar 2016 16:06:26 +0000 (16:06 +0000)] 
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.

9 years agoPut debug message before attempt to recover from snd_pcm_delay negative result
Mike Brady [Tue, 29 Mar 2016 12:29:54 +0000 (12:29 +0000)] 
Put debug message before attempt to recover from snd_pcm_delay negative result

9 years agoEnsure the buffers exhausted message is sent one per occasion, slightly tidy up a...
Mike Brady [Tue, 29 Mar 2016 12:06:03 +0000 (12:06 +0000)] 
Ensure the buffers exhausted message is sent one per occasion, slightly tidy up a calculation.

9 years agoUse type long for delay as it corresp[onds with the alsa type used
Mike Brady [Tue, 29 Mar 2016 12:04:34 +0000 (12:04 +0000)] 
Use type long for delay as it corresp[onds with the alsa type used

9 years agoAdd a little extra information to diagnostic when a player packet out of sequence...
Mike Brady [Mon, 28 Mar 2016 08:40:52 +0000 (08:40 +0000)] 
Add a little extra information to diagnostic when a player packet out of sequence error is retected.

9 years agodemote debug info about network 2.9.5.2
Mike Brady [Sun, 27 Mar 2016 16:32:24 +0000 (16:32 +0000)] 
demote debug info about network

9 years agoBump to shom more type and promotion checking...
Mike Brady [Sun, 27 Mar 2016 16:20:49 +0000 (16:20 +0000)] 
Bump to shom more type and promotion checking...

9 years agotighten up calcuations of when to start sending silence and how to adjust it, taking...
Mike Brady [Sun, 27 Mar 2016 16:11:35 +0000 (16:11 +0000)] 
tighten up calcuations of when to start sending silence and how to adjust it, taking account of C rules of type changing and promotion