Ticket #2259: 2259_imp_natives.patch

File 2259_imp_natives.patch, 729 bytes (added by meddle, 15 years ago)

C++ part patch

  • src/media_decoder/media_decoder.h

    ### Eclipse Workspace Patch 1.0
    #P sophie2-native
     
    2626static const int CHUNK_BYTES = CHUNK_SAMPLES * 4; 
    2727static const int BUFFER_SIZE = (AVCODEC_MAX_AUDIO_FRAME_SIZE * 6) / 2; 
    2828static const int CHUNK_MILLIS = 10; 
    29 static const int BUFFER_STEP = 1000; //ms 
    30 static const int BUFFER_EXTRA = 200; //ms 
     29static const int BUFFER_STEP = 1300; //ms 
     30static const int BUFFER_EXTRA = 1200; //ms 
    3131static const int BUFFER_LEN = BUFFER_STEP + BUFFER_EXTRA; //ms 
    3232static const int ALLOWED_DIST_MILLIS = 2000; 
    3333