components/desktop/espeak/patches/01-wave_sada.patch
changeset 7334 95f9efb22a51
equal deleted inserted replaced
7333:85747fa32c93 7334:95f9efb22a51
       
     1 Patch imported from Desktop gate, where it was listed as:
       
     2 # date:2010-10-27 owner:yippi type:bug
       
     3 
       
     4 Fixes build error:
       
     5 wave_sada.cpp: In function 'void wave_init(int)':
       
     6 wave_sada.cpp:86:2: error: 'wave_samplerate' was not declared in this scope
       
     7   wave_samplerate = srate;
       
     8   ^
       
     9 
       
    10 Fix has already been integrated upstream:
       
    11 https://sourceforge.net/p/espeak/code/257/tree//trunk/src/wave_sada.cpp?diff=248
       
    12 
       
    13 --- espeak-1.44.05-source/src/wave_sada.cpp-orig	2010-10-27 23:38:38.475656462 -0500
       
    14 +++ espeak-1.44.05-source/src/wave_sada.cpp	2010-10-27 23:40:35.828458218 -0500
       
    15 @@ -63,6 +63,7 @@ static uint32_t total_samples_skipped;
       
    16  //
       
    17  static uint32_t last_play_position=0;
       
    18  
       
    19 +static uint32_t wave_samplerate;
       
    20  //>
       
    21  // wave_init 
       
    22  //