File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1086,6 +1086,13 @@ void maxiSample::getLength() {
1086
1086
length=myDataSize*0.5 ;
1087
1087
}
1088
1088
1089
+ double maxiSample::getPosition () {
1090
+ return position;
1091
+ }
1092
+
1093
+ double maxiSample::getRecordPosition () {
1094
+ return recordPosition;
1095
+ }
1089
1096
void maxiSample::setLength (unsigned long numSamples) {
1090
1097
cout << " Length: " << numSamples << endl;
1091
1098
short *newData = (short *) malloc (sizeof (short ) * numSamples);
Original file line number Diff line number Diff line change @@ -222,6 +222,8 @@ class maxiSample {
222
222
int mySampleRate;
223
223
long length;
224
224
void getLength ();
225
+ double getPosition ();
226
+ double getRecordPosition ();
225
227
void setLength (unsigned long numSamples);
226
228
short myBitsPerSample;
227
229
You can’t perform that action at this time.
0 commit comments