mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-28 13:58:48 +02:00
Fix permission check
This commit is contained in:
parent
0d32b5864b
commit
1a9d0b3516
3 changed files with 5 additions and 3 deletions
|
@ -63,7 +63,8 @@ using namespace std::chrono_literals;
|
|||
|
||||
static constexpr auto LOG_TAG = "Snapclient";
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
PcmDevice getPcmDevice(const std::string& player, const std::string& parameter, const std::string& soundcard)
|
||||
{
|
||||
LOG(DEBUG, LOG_TAG) << "Trying to get PCM device for player: " << player << ", parameter: " << ", card: " << soundcard << "\n";
|
||||
|
@ -104,6 +105,7 @@ PcmDevice getPcmDevice(const std::string& player, const std::string& parameter,
|
|||
pcm_device.name = soundcard;
|
||||
return pcm_device;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
#ifdef WINDOWS
|
||||
// hack to avoid case destinction in the signal handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue