mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-28 08:26:16 +02:00
Use standard timestamping for JackStream chunks
This commit is contained in:
parent
da6041dcfe
commit
1f6bb07dd6
2 changed files with 10 additions and 14 deletions
|
@ -65,8 +65,6 @@ protected:
|
|||
|
||||
jack_client_t* client_;
|
||||
std::vector<jack_port_t*> ports_;
|
||||
jack_nframes_t jackConnectFrames_;
|
||||
jack_time_t jackTimeAdjust_;
|
||||
SampleFormat jackSampleFormat_;
|
||||
|
||||
std::string autoConnectRegex_;
|
||||
|
@ -82,6 +80,8 @@ protected:
|
|||
bool send_silence_;
|
||||
/// silence duration before switching the stream to idle
|
||||
std::chrono::milliseconds idle_threshold_;
|
||||
/// first read after idle => reset chunk timestamp
|
||||
bool first_;
|
||||
};
|
||||
|
||||
} // namespace streamreader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue