Remove stereo mixing from track info tab

This commit is contained in:
Wirlaburla 2024-02-25 23:53:18 -06:00
parent ce9d82dc0d
commit 07cd2af3de

View File

@ -453,23 +453,21 @@ void displayHeader(xmp_module_info *mi, xmp_frame_info *fi) {
void displayInfo(xmp_module_info *mi, xmp_frame_info *fi) {
wattron(dis, A_BOLD);
mvwaddstr(dis, 1-vOffset, 1, "Format:");
mvwaddstr(dis, 2-vOffset, 1, "Stereo Mix:");
mvwaddstr(dis, 3-vOffset, 1, "Channels:");
mvwaddstr(dis, 5-vOffset, 1, "Instruments:");
mvwaddstr(dis, (7+mi->mod->ins)-vOffset, 1, "Samples:");
mvwaddstr(dis, 2-vOffset, 1, "Channels:");
mvwaddstr(dis, 4-vOffset, 1, "Instruments:");
mvwaddstr(dis, (6+mi->mod->ins)-vOffset, 1, "Samples:");
wattroff(dis, A_BOLD);
mvwprintw(dis, 1-vOffset, 16, mi->mod->type);
mvwprintw(dis, 2-vOffset, 16, "%i%%", smix);
mvwprintw(dis, 3-vOffset, 16, "%i", mi->mod->chn);
mvwprintw(dis, 5-vOffset, 16, "%i", mi->mod->ins);
mvwprintw(dis, (7+mi->mod->ins)-vOffset, 16, "%i", mi->mod->smp);
mvwprintw(dis, 2-vOffset, 16, "%i", mi->mod->chn);
mvwprintw(dis, 4-vOffset, 16, "%i", mi->mod->ins);
mvwprintw(dis, (6+mi->mod->ins)-vOffset, 16, "%i", mi->mod->smp);
for (int xi = 0; xi < mi->mod->ins; xi++) {
mvwprintw(dis, xi+6-vOffset, 1, "[%02X] %s", xi, mi->mod->xxi[xi].name);
mvwprintw(dis, xi+5-vOffset, 1, "[%02X] %s", xi, mi->mod->xxi[xi].name);
}
for (int xs = 0; xs < mi->mod->smp; xs++) {
mvwprintw(dis, xs+(8+mi->mod->ins)-vOffset, 1, "[%02X] %s", xs, mi->mod->xxs[xs].name);
mvwprintw(dis, xs+(7+mi->mod->ins)-vOffset, 1, "[%02X] %s", xs, mi->mod->xxs[xs].name);
}
}