mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 00:26:41 +02:00
Log chunk age
This commit is contained in:
parent
2b894c8b07
commit
ecd5f57b0c
3 changed files with 27 additions and 2 deletions
|
@ -57,7 +57,7 @@ void PipeStream::do_connect()
|
|||
{
|
||||
int fd = open(uri_.path.c_str(), O_RDONLY | O_NONBLOCK);
|
||||
int pipe_size = -1;
|
||||
#ifndef MACOS
|
||||
#if !defined(MACOS)
|
||||
pipe_size = fcntl(fd, F_GETPIPE_SZ);
|
||||
#endif
|
||||
LOG(INFO, LOG_TAG) << "Stream: " << name_ << ", connect to pipe: " << uri_.path << ", fd: " << fd << ", pipe size: " << pipe_size << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue