|
a/src/ohsndrcv.cxx |
|
b/src/ohsndrcv.cxx |
|
... |
|
... |
45 |
// uninvolved
|
45 |
// uninvolved
|
46 |
Internal(UpMpd *dv, const string& starterpath, int port)
|
46 |
Internal(UpMpd *dv, const string& starterpath, int port)
|
47 |
: dev(dv), makeisendercmd(starterpath), mpdport(port) {
|
47 |
: dev(dv), makeisendercmd(starterpath), mpdport(port) {
|
48 |
// Stream volume control ? This decides if the aux mpd has
|
48 |
// Stream volume control ? This decides if the aux mpd has
|
49 |
// mixer "software" or "none"
|
49 |
// mixer "software" or "none"
|
50 |
std::unique_lock<std::mutex>(g_configlock);
|
|
|
51 |
string value;
|
50 |
string value;
|
52 |
if (g_config->get("scstreamscaled", value)) {
|
51 |
if (g_config->get("scstreamscaled", value)) {
|
53 |
scalestream = atoi(value.c_str()) != 0;
|
52 |
scalestream = atoi(value.c_str()) != 0;
|
54 |
}
|
53 |
}
|
55 |
}
|
54 |
}
|