FS-4527 --resolve add resample core support for asr. This code is very isolated and only effects mod_unimrcp at this time.

This commit is contained in:
Jeff Lenk
2012-10-10 14:20:07 -05:00
parent 1aea82488b
commit 9bbee350c2
3 changed files with 53 additions and 0 deletions

View File

@@ -408,6 +408,14 @@ struct switch_asr_handle {
char *param;
/*! the handle's memory pool */
switch_memory_pool_t *memory_pool;
switch_buffer_t *buffer;
switch_byte_t *dbuf;
switch_size_t dbuflen;
switch_audio_resampler_t *resampler;
/*! the current samplerate */
uint32_t samplerate;
/*! the current native samplerate */
uint32_t native_rate;
/*! private data for the format module to store handle specific info */
void *private_info;
};