|
a/src/ohsndrcv.cxx |
|
b/src/ohsndrcv.cxx |
|
... |
|
... |
201 |
}
|
201 |
}
|
202 |
|
202 |
|
203 |
if (script.empty()) {
|
203 |
if (script.empty()) {
|
204 |
// Internal source: copy mpd state
|
204 |
// Internal source: copy mpd state
|
205 |
copyMpd(m->dev->m_mpdcli, m->mpd, seekms);
|
205 |
copyMpd(m->dev->m_mpdcli, m->mpd, seekms);
|
206 |
if (m->scalestream)
|
206 |
if (m->scalestream) {
|
207 |
m->mpd->forceInternalVControl();
|
207 |
m->mpd->forceInternalVControl();
|
|
|
208 |
// Stream is scaled, set the main mixer to 100 to allow
|
|
|
209 |
// full scale. Actually this appears to have no effect
|
|
|
210 |
// (appear automagically for some other cause).
|
|
|
211 |
m->dev->m_mpdcli->setVolume(100);
|
|
|
212 |
}
|
208 |
m->origmpd = m->dev->m_mpdcli;
|
213 |
m->origmpd = m->dev->m_mpdcli;
|
209 |
m->dev->m_mpdcli = m->mpd;
|
214 |
m->dev->m_mpdcli = m->mpd;
|
210 |
} else {
|
215 |
} else {
|
211 |
m->origmpd = 0;
|
216 |
m->origmpd = 0;
|
212 |
}
|
217 |
}
|