old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Revision 68:55e26c5e837b, committed 2019-09-29
- Comitter:
- roryhand
- Date:
- Sun Sep 29 20:54:34 2019 +0000
- Branch:
- LargeFile_Tests
- Parent:
- 67:043fe0b81343
- Child:
- 69:df10ee3ad523
- Commit message:
- WIP - more minor changes
Changed in this revision
| NotchingDemo.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NotchingDemo.cpp Sun Sep 29 20:53:01 2019 +0000
+++ b/NotchingDemo.cpp Sun Sep 29 20:54:34 2019 +0000
@@ -592,9 +592,9 @@
//Sound1=======================================================================================
- if( slice1 == (Positions.notch8_start_pt) ) {
- slice1 = Positions.notch7_start_pt;
- fseek(wavfile1,Positions.notch7_start_pt,SEEK_SET);
+ if( slice1 == (Positions.notch_start_pts[Notching.Notch + 1]) ) {
+ slice1 = Positions.notch_start_pts[Notching.Notch];
+ fseek(wavfile1,Positions.notch_start_pts[Notching.Notch],SEEK_SET);
}
fread(Sound1.FileInfo.slice_buf,Sound1.FileInfo.FileFormat.block_align,1,wavfile1);