old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Branch:
- LargeFile_Tests
- Revision:
- 82:3694ee23a4d7
- Parent:
- 81:ec3a68c93bee
- Child:
- 83:5b61f67f3020
--- a/NotchingDemo.cpp Tue Oct 01 21:07:58 2019 +0000
+++ b/NotchingDemo.cpp Wed Oct 02 18:37:28 2019 +0000
@@ -510,7 +510,7 @@
fseek(wavfile2,Positions.notch_transitions_start_pts[1],SEEK_SET);
fseek(wavfile3,Positions.notch_transitions_start_pts[2],Positions.notch_transitions_start_pts[2]);
printf("about to play wav file\n\r");
- //Play_WaveFileLoop(Sound1,Sound2, Sound3, wavfile1,wavfile2, Positions);
+ Play_WaveFileLoop(Sound1,Sound2, Sound3, wavfile1,wavfile2, Positions);
printf("finished playing Wav file\n\r");
@@ -630,7 +630,7 @@
-
+/*
//Sound1=======================================================================================
if( slice1 == (Positions.notch_start_pts[NotchingSet.Notch + 1]) ) {
@@ -806,16 +806,16 @@
} else {
-
+*/
fseek(wavfile1,Positions.notch_position_indicators[NotchingSet.Notch],Positions.notch_position_indicators[NotchingSet.Notch]);
fread(Sound1.FileInfo.slice_buf, Sound1.FileInfo.FileFormat.block_align,1,wavfile1);
data_sptr1=(short *)Sound1.FileInfo.slice_buf;
Positions.notch_position_indicators[NotchingSet.Notch] = Positions.notch_position_indicators[NotchingSet.Notch] + 2;
- }
+ // }
- }
+ //}
//=============================================================================================