mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Fix pulse device selection
This commit is contained in:
parent
63bc3b766b
commit
8586e43d05
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ void PulsePlayer::start()
|
||||||
bufattr_.tlength = pa_usec_to_bytes(latency_.count(), &pa_ss_);
|
bufattr_.tlength = pa_usec_to_bytes(latency_.count(), &pa_ss_);
|
||||||
|
|
||||||
const char* device = nullptr;
|
const char* device = nullptr;
|
||||||
if (settings_.pcm_device.name == DEFAULT_DEVICE)
|
if (settings_.pcm_device.name != DEFAULT_DEVICE)
|
||||||
device = settings_.pcm_device.name.c_str();
|
device = settings_.pcm_device.name.c_str();
|
||||||
|
|
||||||
int result = pa_stream_connect_playback(
|
int result = pa_stream_connect_playback(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue