Commit Graph
1545 Commits
Author SHA1 Message Date
Mike Brady 04eeaa837e Change password authentication to the same as an AirPort Express running 7.6.4. Only look for authentication once per session, to suit AllStream/Streambels 2016-05-20 15:41:19 +01:00
Mike Brady 49d27c35f2 Change Zeroconf strings to match those of a First Generation AirPort Express running firmware 7.6.4 2016-05-20 15:39:18 +01:00
Mike Brady 83d15d0667 Merge pull request #296 from joerg-krause/parsable-statistics
Make statistics output more parsable
2016-05-16 22:22:58 +01:00
Jörg Krause 78f5153b11 Make statistics output more parsable 2016-05-16 21:52:22 +02:00
Mike Brady 0eaf97ab0e Update RELEASENOTES.md 2016-05-16 13:53:58 +01:00
Mike Brady 04914a7ddb Reflect bug fix in ipv6 link-local connections 2016-05-16 13:52:23 +01:00
Mike Brady dcca13c67b Merge branch 'development' of https://github.com/mikebrady/shairport-sync into development
Forgot changes.
2016-05-13 16:33:08 +00:00
Mike Brady 284dfb94bf Add scope_id to information used to bind an outgoing IPv6 port. Makes it work with link-local addresses. 2016-05-13 16:32:13 +00:00
Mike Brady 51ad2cd385 Alter the wording of an error message a tiny bit. 2016-05-11 09:18:02 +00:00
Mike Brady 30386ae08c Add some information to message if the listening port (normally port 5000) is already in use. 2016-05-11 09:08:10 +00:00
Mike Brady 43e29d5979 Merge pull request #294 from joerg-krause/fix-vol2attn
Fix vol2attn
2016-05-09 15:01:27 +01:00
Jörg Krause f230e3e543 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
2016-05-09 15:10:37 +02:00
Mike Brady 02651562a4 Only try to set volume at play if there's a mixer. 2016-05-09 11:28:37 +00:00
Mike Brady b2474c7b05 Add some debug information to help understand some of the startup dynamics 2016-05-09 11:00:23 +01:00
Mike Brady 98607e55f4 Update RELEASENOTES.md 2016-05-08 14:47:55 +01:00
Mike Brady f5ee4c1635 Update RELEASENOTES.md 2016-05-08 14:45:13 +01:00
Mike Brady 2239efe8ca Check for zero length or NULL play buffers and skip them if they happen. 2016-05-08 13:17:47 +01:00
Mike Brady 429b04f13c Reinstate end of conversation detection. 2016-05-07 16:30:11 +01:00
Mike Brady 1b7fceb7d1 Merge pull request #293 from joerg-krause/alsa-softvol
Add support for ALSA softvol plugin
2016-05-07 10:52:05 +01:00
Mike Brady ecb1359779 Bump to reflect bug fix. 2016-05-07 09:44:09 +01:00
Mike Brady f01e86f5e9 Fix a diagnostic that actually caused the connection to be dropped occasinally. 2016-05-07 09:41:51 +01:00
Mike Brady 58f3758ad6 Fix warning about redefined function. 2016-05-07 08:01:46 +00:00
Mike Brady ab979d5967 Fix warning about redefined function. 2016-05-07 08:01:05 +00:00
Jörg Krause f3dcf8d69b 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.
2016-05-06 22:23:16 +02:00
Mike Brady 6cfc9f9897 Demote some debug messages, add check for empty or null buffer argument to pcm_snd_writei 2016-05-06 16:28:40 +00:00
Mike Brady cc04032936 Update configure.ac 2016-05-02 22:39:52 +01:00
Mike Brady 20b322a9a2 Update RELEASENOTES.md 2016-05-02 22:39:24 +01:00
Mike Brady 76724fd06d Fix omitted line.
Thanks to https://github.com/ejurgensen
2016-05-02 21:46:08 +01:00
Mike Brady 99afe8ef29 Wait for network to have started
http://unix.stackexchange.com/questions/126009/cause-a-script-to-execute-after-networking-has-started
2016-05-02 17:08:00 +01:00
Mike Brady 8f9a431988 Update RELEASENOTES.md 2016-05-02 16:01:05 +01:00
Mike Brady 6f1b2b1a7f Merge branch 'development' of github.com:mikebrady/shairport-sync into development
Forgot.
2016-05-02 14:01:09 +01:00
Mike Brady bbff2d1efb Get IPv6 working properly 2016-05-02 13:58:17 +01:00
Mike Brady 1b0c637f69 Update RELEASENOTES.md 2016-05-02 10:38:59 +01:00
Mike Brady 3de20db857 Update RELEASENOTES.md 2016-05-02 10:34:34 +01:00
Mike Brady dc591cb073 Update RELEASENOTES.md 2016-05-02 10:33:55 +01:00
Mike Brady 4a45244804 To reflect changes -- always use the IP number we started with, playback_mode instead of mono 2016-05-02 09:47:50 +01:00
Mike Brady 1fd794af71 tidy up diagnostic messages 2016-05-02 09:45:44 +01:00
Mike Brady c50af16abb Disable avahi browser function 2016-05-02 09:45:00 +01:00
Mike Brady 1bb56b4ca1 Change mono setting to playback_mode setting and add to config file. 2016-05-02 09:07:39 +01:00
Mike Brady 5028cd1f9f 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 2016-05-01 22:37:57 +01:00
Mike Brady ac68037782 Add a local argument fo rtp_setup so we know what local ip address to use 2016-05-01 22:36:19 +01:00
Mike Brady 186ef58e44 Merge pull request #283 from rkam/development
Init metadata_sock to -1 so it doesn't look like an fd. Thanks!
2016-05-01 11:52:14 +01:00
rkam c886b9a9e7 Init metadata_sock to -1 so it doesn't look like an fd. 2016-04-30 19:14:18 -07:00
Mike Brady 6d2f5217a1 Merge pull request #281 from faceless2/development
Metadata over UDP – looks great, thanks.
2016-04-27 14:09:02 +02:00
mike fd56780575 Added option to broadcast metadata over UDP 2016-04-27 12:09:19 +01:00
mike eb91a0fe84 Merging upstream
Merge remote-tracking branch 'upstream/development' into development
2016-04-27 10:27:21 +01:00
Mike Brady d02bb0e336 If the volume is out of range 0 -- -30 or -144, return minimum vol 2016-04-27 10:23:15 +02:00
mike 52376ff43c Check for null regtype 2016-04-25 12:03:39 +01:00
Mike Brady 5c5c25324f Update RELEASENOTES.md 2016-04-25 09:27:04 +02:00
Mike Brady d21f9e046f Update to reflect development status 2016-04-25 09:21:02 +02:00