Johannes Pohl

Results 209 comments of Johannes Pohl

The [python-snapcast project](https://github.com/happyleavesaoc/python-snapcast) is not only a python control client, but also has some basic [player client code](https://github.com/happyleavesaoc/python-snapcast/tree/master/snapcast/client) that might be easier to read. > Note: This is experimental. Synchronization...

@jerryr this function is where the magic happens :wink: The main playback loop, no matter what implementation (alsa, coreaudio, ...) is as simple as: 1. get PCM data from the...

btw: there is a C implementation of Snapcast: [SnapCastC](https://github.com/christf/snapcastc). I think this implementation uses the same protocol and the player should be compatible to Snapcast.

Thanks, I'm just wondering, if there is a simpler way using an [`alsa` stream](https://github.com/badaix/snapcast/blob/master/doc/configuration.md#alsa), it should be superior to any `pipe` solution.

Agree, should be default for Pulseaudio. Changing the default is not that straight forward, the default is already given on top most level in the program options. I might change...

I would even say that PulseAudio should be the default audio backend on Systems that have PulseAudio installed, i.e. for desktop systems.

The hostname is just a default for the client name. Specifying a different client default name would be a feature to think about, but in the end it will be...

thanks for the PR, I will review it. But I'm wondering why your changes are lost after server restart. Is this only true for client names or does the server...

You can override the host id with `--hostID`: ``` snapclient --help Allowed options: --help produce help message -v, --version show version number -h, --host arg server hostname or ip address...

Even there is nothing obvious in the logs, they could help. You could have a message like this: ``` if (rate != sampleFormat_.rate()) { LOG(WARNING, LOG_TAG)