Added StereoMono display.
This commit is contained in:
parent
eaa2e021a6
commit
76b9131d03
9 changed files with 117 additions and 12 deletions
|
@ -72,6 +72,14 @@ XMMSHandler::medialib_info (XMMSResult *res)
|
|||
m_mw->getMD ()->m_khz->setNumber (b/1000, 2);
|
||||
}
|
||||
|
||||
if (res->getDictValue ("channels:out", &b)) {
|
||||
if (b == 1) {
|
||||
m_mw->getMD ()->m_stereo->setStereoMono (0, 1);
|
||||
} else {
|
||||
m_mw->getMD ()->m_stereo->setStereoMono (1, 0);
|
||||
}
|
||||
}
|
||||
|
||||
delete res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue