more of the same

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5989 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-10-19 03:42:02 +00:00
parent f2c02d65ee
commit 7aa22799c9
3 changed files with 3 additions and 3 deletions

View File

@@ -1663,7 +1663,7 @@ static switch_status_t init_speech_engine(struct js_session *jss, char *engine,
int interval = 0;
read_codec = switch_core_session_get_read_codec(jss->session);
rate = read_codec->implementation->samples_per_second;
rate = read_codec->implementation->actual_samples_per_second;
interval = read_codec->implementation->microseconds_per_frame / 1000;
if (switch_core_codec_init(&jss->speech->codec,