blob: 20f936e65a2941126db615cc3d239cfa08f6bc5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- libecasound/eca-chainsetup-position.cpp.orig Fri Oct 6 18:08:00 2000
+++ libecasound/eca-chainsetup-position.cpp Wed Dec 20 00:42:14 2000
@@ -43,11 +43,11 @@
}
long int ECA_CHAINSETUP_POSITION::length_in_seconds(void) const {
- return(static_cast<double>(length_rep) / srate_rep);
+ return(static_cast<long int>(length_rep) / srate_rep);
}
long int ECA_CHAINSETUP_POSITION::position_in_seconds(void) const {
- return(static_cast<double>(curpos_rep) / srate_rep);
+ return(static_cast<long int>(curpos_rep) / srate_rep);
}
double ECA_CHAINSETUP_POSITION::length_in_seconds_exact(void) const {
|