|
PebbleOS
|
#include <stdint.h>#include <stdbool.h>#include <stddef.h>#include <pbl/services/voice_endpoint.h>Functions | |
| bool | voice_speex_init (void) |
| Initialize the encoder and allocate its buffers. | |
| void | voice_speex_deinit (void) |
| Release the encoder and its buffers. | |
| void | voice_speex_get_transfer_info (AudioTransferInfoSpeex *info) |
| Get the transfer info sent to the phone before the encoded audio. | |
| int | voice_speex_get_frame_size (void) |
| Get the frame size. | |
| int16_t * | voice_speex_get_frame_buffer (void) |
| Get the buffer the microphone fills with one frame. | |
| size_t | voice_speex_get_frame_buffer_size (void) |
| Get the frame buffer size. | |
| int | voice_speex_encode_frame (int16_t *samples, uint8_t *encoded_data, size_t max_encoded_size) |
| Encode one frame. | |
| bool | voice_speex_is_initialized (void) |
| Check whether the encoder is initialized. | |