Displaying 2 results from an estimated 2 matches for "speex_echo_state_blob_get_size".
2011 Apr 04
3
[patch] speex AEC state save & restore
...tant.
To use this feature, proceeed as this:
- use speex_echo_ctl() with SPEEX_ECHO_GET_BLOB to obtain a
SpeexEchoStateBlob, at the end of an audio session, when the echo
canceller is supposed to be converged.
- save the blob to a disk file for example, using
speex_echo_state_blob_get_data() and speex_echo_state_blob_get_size() to
retrieve the actual data
To restore the state later, after a reboot or a process restart, do the
following:
- read the data from the file where you previously save the blob's
contents
- instanciate a blob object from this data using
speex_echo_state_blob_new_from_memory()
- assign the...
2011 Apr 04
0
[patch] speex AEC state save & restore
...proceeed as this:
> - use speex_echo_ctl() with SPEEX_ECHO_GET_BLOB to obtain a
> SpeexEchoStateBlob, at the end of an audio session, when the echo
> canceller is supposed to be converged.
> - save the blob to a disk file for example, using
> speex_echo_state_blob_get_data() and speex_echo_state_blob_get_size() to
> retrieve the actual data
>
> To restore the state later, after a reboot or a process restart, do the
> following:
> - read the data from the file where you previously save the blob's
> contents
> - instanciate a blob object from this data using
> speex_echo_st...