Fix accidental C++ style comments from r28341

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-11-05 17:22:46 +00:00
parent 981a639ade
commit 6d59785024

View file

@ -320,19 +320,19 @@ void audiohw_set_recvol(int left, int right, int type)
void audiohw_set_monitor(bool enable)
{
if (enable) {
// set volume to 0 dB
/* set volume to 0 dB */
wm8975_regs[LOUTMIX1] &= ~LOUTMIX1_LI2LOVOL_MASK;
wm8975_regs[LOUTMIX1] |= LOUTMIX1_LI2LOVOL(2);
wm8975_regs[ROUTMIX2] &= ~ROUTMIX2_RI2ROVOL_MASK;
wm8975_regs[ROUTMIX2] |= ROUTMIX2_RI2ROVOL(2);
// set mux to line input
/* set mux to line input */
wm8975_write_and(LOUTMIX1, ~7);
wm8975_write_and(ROUTMIX1, ~7);
// enable bypass
/* enable bypass */
wm8975_write_or(LOUTMIX1, LOUTMIX1_LI2LO);
wm8975_write_or(ROUTMIX2, ROUTMIX2_RI2RO);
} else {
// disable bypass
/* disable bypass */
wm8975_write_and(LOUTMIX1, ~LOUTMIX1_LI2LO);
wm8975_write_and(ROUTMIX2, ~ROUTMIX2_RI2RO);
}