Added StereoMono display.

This commit is contained in:
Tobias Rundstrom 2006-02-19 18:12:39 -03:00
parent eaa2e021a6
commit 76b9131d03
9 changed files with 117 additions and 12 deletions

View file

@ -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;
}