mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:56:32 +01:00
Removed debugging message...
This commit is contained in:
parent
18c2009b87
commit
89cbc35ba4
1 changed files with 14 additions and 2 deletions
|
@ -516,10 +516,20 @@ mixer_update_cbar (int channel_index)
|
||||||
mixer_dc (DC_CBAR_RECORD);
|
mixer_dc (DC_CBAR_RECORD);
|
||||||
mvaddstr (y, x + 1, "RECORD");
|
mvaddstr (y, x + 1, "RECORD");
|
||||||
if (cdata.flags & SND_MIXER_FLG_RECORD_LEFT)
|
if (cdata.flags & SND_MIXER_FLG_RECORD_LEFT)
|
||||||
|
{
|
||||||
|
if (cdata.flags & SND_MIXER_FLG_LTOR_IN)
|
||||||
|
mvaddstr (y+2, x + 6, "L");
|
||||||
|
else
|
||||||
mvaddstr (y+1, x + 1, "L");
|
mvaddstr (y+1, x + 1, "L");
|
||||||
|
}
|
||||||
if (cdata.flags & SND_MIXER_FLG_RECORD_RIGHT)
|
if (cdata.flags & SND_MIXER_FLG_RECORD_RIGHT)
|
||||||
|
{
|
||||||
|
if (cdata.flags & SND_MIXER_FLG_RTOL_IN)
|
||||||
|
mvaddstr (y+2, x + 1, "R");
|
||||||
|
else
|
||||||
mvaddstr (y+1, x + 6, "R");
|
mvaddstr (y+1, x + 6, "R");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (cinfo.caps & SND_MIXER_CINFO_CAP_RECORD)
|
else if (cinfo.caps & SND_MIXER_CINFO_CAP_RECORD)
|
||||||
for (i = 0; i < 6; i++)
|
for (i = 0; i < 6; i++)
|
||||||
mvaddch (y, x + 1 + i, mixer_dc (DC_CBAR_NORECORD));
|
mvaddch (y, x + 1 + i, mixer_dc (DC_CBAR_NORECORD));
|
||||||
|
@ -651,7 +661,9 @@ mixer_init (void)
|
||||||
static void
|
static void
|
||||||
mixer_iteration_update(void *dummy, int channel)
|
mixer_iteration_update(void *dummy, int channel)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
fprintf( stderr, "*** channel = %i\n", channel );
|
fprintf( stderr, "*** channel = %i\n", channel );
|
||||||
|
#endif
|
||||||
mixer_update_cbar(channel);
|
mixer_update_cbar(channel);
|
||||||
refresh ();
|
refresh ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue