Commit Graph
1527 Commits
Author SHA1 Message Date
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
Mike Brady 51b60cfa37 Merge branch 'master' into development 2016-04-25 09:11:03 +02:00
Mike Brady 39e863d38c Merge pull request #277 from faceless2/development
Added option for mono output.
2016-04-25 09:06:35 +02:00
mike 46bcdce764 Added option for mono output 2016-04-24 21:25:24 +01:00
Mike Brady 18236516f9 Update RELEASENOTES.md 2016-04-24 11:19:53 +02:00
Mike Brady 223fba3818 Fix bug caused by regtype not being initialised under some circumetances. 2016-04-24 10:15:25 +01:00
Mike Brady ed4ec933e7 Update TROUBLESHOOTING.md
Add info about Pi 3's WiFi
2016-04-19 11:24:52 +01:00
Mike Brady 56fc451dd4 Create UPDATING.md 2016-04-19 11:21:00 +01:00
Mike Brady 6a91cfd257 Update TROUBLESHOOTING.md 2016-04-18 17:29:19 +01:00
Mike Brady b64c0f5c5c Update README.md 2016-04-15 19:47:45 +01:00
Mike Brady 7d43e0ec01 Update README.md 2016-04-15 19:44:14 +01:00
Mike Brady 8d5f04bf99 Update README.md 2016-04-15 19:39:31 +01:00
Mike Brady 5a6d91b8cd Update shairport-sync.spec 2016-04-15 19:36:06 +01:00
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