mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@10688 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0e2173d2ae
commit
ff0f6e493e
1 changed files with 2 additions and 8 deletions
|
|
@ -1132,8 +1132,6 @@ AudioClock::index_to_field (int index) const
|
||||||
return Timecode_Seconds;
|
return Timecode_Seconds;
|
||||||
} else if (index < 13) {
|
} else if (index < 13) {
|
||||||
return Timecode_Frames;
|
return Timecode_Frames;
|
||||||
} else {
|
|
||||||
return Field (0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BBT:
|
case BBT:
|
||||||
|
|
@ -1143,11 +1141,8 @@ AudioClock::index_to_field (int index) const
|
||||||
return Beats;
|
return Beats;
|
||||||
} else if (index < 12) {
|
} else if (index < 12) {
|
||||||
return Ticks;
|
return Ticks;
|
||||||
} else {
|
|
||||||
return Field (0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MinSec:
|
case MinSec:
|
||||||
if (index < 3) {
|
if (index < 3) {
|
||||||
return Timecode_Hours;
|
return Timecode_Hours;
|
||||||
|
|
@ -1157,15 +1152,14 @@ AudioClock::index_to_field (int index) const
|
||||||
return MS_Seconds;
|
return MS_Seconds;
|
||||||
} else if (index < 12) {
|
} else if (index < 12) {
|
||||||
return MS_Milliseconds;
|
return MS_Milliseconds;
|
||||||
} else {
|
|
||||||
return Field (0);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Frames:
|
case Frames:
|
||||||
return AudioFrames;
|
return AudioFrames;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return Field (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue