mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-15 18:16:44 +02:00
Add some comments, clean ups
This commit is contained in:
parent
2a6360a832
commit
184254b35f
6 changed files with 13 additions and 13 deletions
|
@ -5,9 +5,9 @@
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
- Client: Windows support (Issue #24)
|
- Client: Windows support (Issue #24)
|
||||||
- Client: Add hardware mixer (Issue #318)
|
- Client: add hardware mixer (Issue #318)
|
||||||
- Client: Add "script" and "none" mixer (Issue #302)
|
- Client: add "script" and "none" mixer (Issue #302)
|
||||||
- Client: Add sharingmode for audio device (if supported)
|
- Client: add sharingmode for audio device (if supported)
|
||||||
- Logging: configurable sink and filters (Issue #30, #561, #122, #559)
|
- Logging: configurable sink and filters (Issue #30, #561, #122, #559)
|
||||||
- Librespot: add option "disable-audio-cache=[false|true]"
|
- Librespot: add option "disable-audio-cache=[false|true]"
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
- Client: high CPU load and crash during playback (Issue #609)
|
- Client: high CPU load and crash during playback (Issue #609)
|
||||||
- Client: improved handling of USB audio disconnects (Issue #64)
|
- Client: improved handling of USB audio disconnects (Issue #64)
|
||||||
- Client: latency is forgotten (Issue #476, #588)
|
- Client: latency is forgotten (Issue #476, #588)
|
||||||
|
- Client: fix segfault on mac when playback is paused (Issue #560)
|
||||||
- Server: fix crash if client disconnects during connect
|
- Server: fix crash if client disconnects during connect
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
VERSION = 0.19.0
|
VERSION = 0.20.0
|
||||||
BIN = snapclient
|
BIN = snapclient
|
||||||
|
|
||||||
ifeq ($(TARGET), FREEBSD)
|
ifeq ($(TARGET), FREEBSD)
|
||||||
|
|
|
@ -367,8 +367,9 @@ void Controller::worker()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// // Do initial time sync with the server
|
// Do initial time sync with the server
|
||||||
sendTimeSyncMessage(50);
|
sendTimeSyncMessage(50);
|
||||||
|
// Start receiver loop
|
||||||
getNextMessage();
|
getNextMessage();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -48,7 +48,7 @@ public:
|
||||||
// void stop();
|
// void stop();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
using MdnsHandler = std::function<void(const boost::system::error_code&, const std::string&, uint16_t)>;
|
using MdnsHandler = std::function<void(const boost::system::error_code& ec, const std::string& host, uint16_t port)>;
|
||||||
void worker();
|
void worker();
|
||||||
void reconnect();
|
void reconnect();
|
||||||
void browseMdns(const MdnsHandler& handler);
|
void browseMdns(const MdnsHandler& handler);
|
||||||
|
|
|
@ -271,10 +271,7 @@ int main(int argc, char** argv)
|
||||||
daemon = std::make_unique<Daemon>(user, group, pidFile);
|
daemon = std::make_unique<Daemon>(user, group, pidFile);
|
||||||
LOG(NOTICE, LOG_TAG) << "daemonizing" << std::endl;
|
LOG(NOTICE, LOG_TAG) << "daemonizing" << std::endl;
|
||||||
daemon->daemonize();
|
daemon->daemonize();
|
||||||
if (processPriority < -20)
|
processPriority = std::min(std::max(-20, processPriority), 19);
|
||||||
processPriority = -20;
|
|
||||||
else if (processPriority > 19)
|
|
||||||
processPriority = 19;
|
|
||||||
if (processPriority != 0)
|
if (processPriority != 0)
|
||||||
setpriority(PRIO_PROCESS, 0, processPriority);
|
setpriority(PRIO_PROCESS, 0, processPriority);
|
||||||
LOG(NOTICE, LOG_TAG) << "daemon started" << std::endl;
|
LOG(NOTICE, LOG_TAG) << "daemon started" << std::endl;
|
||||||
|
|
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -2,9 +2,9 @@ snapcast (0.20.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Features
|
* Features
|
||||||
-Client: Windows support (Issue #24)
|
-Client: Windows support (Issue #24)
|
||||||
-Client: Add hardware mixer (Issue #318)
|
-Client: add hardware mixer (Issue #318)
|
||||||
-Client: Add "script" and "none" mixer (Issue #302)
|
-Client: add "script" and "none" mixer (Issue #302)
|
||||||
-Client: Add sharingmode for audio device (if supported)
|
-Client: add sharingmode for audio device (if supported)
|
||||||
-Logging: configurable sink and filters (Issue #30, #561, #122, #559)
|
-Logging: configurable sink and filters (Issue #30, #561, #122, #559)
|
||||||
-Librespot: add option "disable-audio-cache=[false|true]"
|
-Librespot: add option "disable-audio-cache=[false|true]"
|
||||||
* Bugfixes
|
* Bugfixes
|
||||||
|
@ -13,6 +13,7 @@ snapcast (0.20.0-1) unstable; urgency=medium
|
||||||
-Client: high CPU load and crash during playback (Issue #609)
|
-Client: high CPU load and crash during playback (Issue #609)
|
||||||
-Client: improved handling of USB audio disconnects (Issue #64)
|
-Client: improved handling of USB audio disconnects (Issue #64)
|
||||||
-Client: latency is forgotten (Issue #476, #588)
|
-Client: latency is forgotten (Issue #476, #588)
|
||||||
|
-Client: fix segfault on mac when playback is paused (Issue #560)
|
||||||
-Server: fix crash if client disconnects during connect
|
-Server: fix crash if client disconnects during connect
|
||||||
* General
|
* General
|
||||||
-Client: use less threads and thus less ressources
|
-Client: use less threads and thus less ressources
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue