Permalink
Browse files

audio: SoundTouch library adjustments

  • Loading branch information...
fzurita committed Feb 28, 2016
1 parent 9eb17c7 commit cbbb7b41caa97363d88535981128145d04b39b7b
Showing with 5 additions and 4 deletions.
  1. +5 −4 jni/mupen64plus-audio-sles/main.cpp
@@ -771,17 +771,18 @@ float GetAverageTime( float* feedTimes, int numTimes)
void* audioConsumer(void* param)
{
/*
static int sequenceLenMS = 63;
static int seekWindowMS = 16;
static int overlapMS = 7;
static int overlapMS = 7;*/
soundTouch.setSampleRate(GameFreq);
soundTouch.setChannels(2);
soundTouch.setSetting( SETTING_USE_QUICKSEEK, 0 );
soundTouch.setSetting( SETTING_USE_AA_FILTER, 1 );
soundTouch.setSetting( SETTING_SEQUENCE_MS, sequenceLenMS );
soundTouch.setSetting( SETTING_SEEKWINDOW_MS, seekWindowMS );
soundTouch.setSetting( SETTING_OVERLAP_MS, overlapMS );
//soundTouch.setSetting( SETTING_SEQUENCE_MS, sequenceLenMS );
//soundTouch.setSetting( SETTING_SEEKWINDOW_MS, seekWindowMS );
//soundTouch.setSetting( SETTING_OVERLAP_MS, overlapMS );
soundTouch.setRate(GameFreq*1.0/OutputFreq);

0 comments on commit cbbb7b4

Please sign in to comment.