You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/examples/cacheannounce
Stefan Sayer 7dcb7e2abb
added OpenSSL linking exception to license
16 years ago
..
etc mem cached audio files implementation - improves performance 4-5% over announcement from file (G711) 19 years ago
CacheAnnounce.cpp added OpenSSL linking exception to license 16 years ago
CacheAnnounce.h added OpenSSL linking exception to license 16 years ago
Makefile mem cached audio files implementation - improves performance 4-5% over announcement from file (G711) 19 years ago
Readme.cacheannounce mem cached audio files implementation - improves performance 4-5% over announcement from file (G711) 19 years ago

Readme.cacheannounce

cacheannounce always plays the default announce to the caller.

This is a example of how to use the mem cached versions of AmAudioFile: 
AmFileCache/AmCachedAudioFile.

The AmFileCache class can load a file once (AmFileCache::load), 
and the AmCachedAudioFile then uses the file from memory. AmFileCache 
objects can e.g. be created at startup and passed to the session object
which creates AmCachedAudioFile objects to play back the files. 

Measurements with 100 calls playing back default_en.wav encoded as PCMU
have shown a 4-5% performance increase (192,607,161 Ir's vs. 201,569,407 Ir's) 
over the normal not cached announcement application.