Switch to unified view
a/src/ohsndrcv.cxx | b/src/ohsndrcv.cxx | ||
---|---|---|---|
... |
... |
||
47 | : dev(dv), mpd(0), origmpd(0), isender(0), ssender(0), |
47 | : dev(dv), mpd(0), origmpd(0), isender(0), ssender(0), |
48 | makeisendercmd(starterpath), mpdport(port) { |
48 | makeisendercmd(starterpath), mpdport(port) { |
49 | // Stream volume control ? This decides if the aux mpd has mixer |
49 | // Stream volume control ? This decides if the aux mpd has mixer |
50 | // "software" or "none" |
50 | // "software" or "none" |
51 | scalestream = true; |
51 | scalestream = true; |
52 | PTMutexLocker conflock(g_configlock); |
52 | std::unique_lock<std::mutex>(g_configlock); |
53 | string value; |
53 | string value; |
54 | if (g_config->get("scstreamscaled", value)) { |
54 | if (g_config->get("scstreamscaled", value)) { |
55 | scalestream = atoi(value.c_str()) != 0; |
55 | scalestream = atoi(value.c_str()) != 0; |
56 | } |
56 | } |
57 | } |
57 | } |