Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Branch:
- LargeFile_Tests
- Revision:
- 68:55e26c5e837b
- Parent:
- 67:043fe0b81343
- Child:
- 69:df10ee3ad523
diff -r 043fe0b81343 -r 55e26c5e837b NotchingDemo.cpp
--- 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);