]> git.ipfire.org Git - thirdparty/shairport-sync.git/log
thirdparty/shairport-sync.git
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 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

9 years agodemote a debug message
Mike Brady [Sun, 27 Mar 2016 16:09:03 +0000 (16:09 +0000)] 
demote a debug message

9 years agoMake time_to_play a uint64_t and correctly handle addition or subtraction of the...
Mike Brady [Sun, 27 Mar 2016 14:59:02 +0000 (14:59 +0000)] 
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.

9 years agoGet packet stats at debug level 1
Mike Brady [Sat, 26 Mar 2016 22:26:52 +0000 (22:26 +0000)] 
Get packet stats at debug level 1

9 years agoAdd new alsa option -- disable_synchronization
Mike Brady [Sat, 26 Mar 2016 21:53:09 +0000 (21:53 +0000)] 
Add new alsa option -- disable_synchronization

9 years agoBump for updates
Mike Brady [Sat, 26 Mar 2016 21:52:05 +0000 (21:52 +0000)] 
Bump for updates

9 years agoAdd version string to debug info, move settings printout to level 1, remove Startup...
Mike Brady [Sat, 26 Mar 2016 21:43:47 +0000 (21:43 +0000)] 
Add version string to debug info, move settings printout to level 1, remove Startup and Exit log messages

9 years agoAdd comment that get_reference_timestamp_stuff is okay type-wise
Mike Brady [Sat, 26 Mar 2016 21:42:14 +0000 (21:42 +0000)] 
Add comment that get_reference_timestamp_stuff is okay type-wise

9 years agoAdd no-sync option, don't try to sync if delay() returns -1, check and comment some...
Mike Brady [Sat, 26 Mar 2016 21:40:59 +0000 (21:40 +0000)] 
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).

9 years agoAdd field to disable synchronisation.
Mike Brady [Sat, 26 Mar 2016 21:37:17 +0000 (21:37 +0000)] 
Add field to disable synchronisation.

9 years agoAdd type check comment.
Mike Brady [Sat, 26 Mar 2016 21:36:40 +0000 (21:36 +0000)] 
Add type check comment.

9 years agoadd option disable synchronization; delay() should return a signed integer, duh.
Mike Brady [Sat, 26 Mar 2016 21:35:49 +0000 (21:35 +0000)] 
add option disable synchronization; delay() should return a signed integer, duh.

9 years agodelay() should return a signed integer, duh.
Mike Brady [Sat, 26 Mar 2016 21:34:33 +0000 (21:34 +0000)] 
delay() should return a signed integer, duh.

9 years agoUpdate README.md
Mike Brady [Thu, 24 Mar 2016 11:18:50 +0000 (11:18 +0000)] 
Update README.md

9 years agoUse snd_pcm_delay instead of snd_pcm_avail_delay, see if it fixes an incompatability... 2.9.5
Mke Brady [Thu, 24 Mar 2016 09:26:02 +0000 (09:26 +0000)] 
Use snd_pcm_delay instead of snd_pcm_avail_delay, see if it fixes an incompatability with some DACs.

9 years agoMerged upstream changes
Mike McKnight [Thu, 17 Mar 2016 15:16:06 +0000 (09:16 -0600)] 
Merged upstream changes