|
|
template<typename T > |
| static opus_int32 | opus_encode (OpusEncoder *st, const T *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) |
| |
|
template<> |
| opus_int32 | opus_encode< float > (OpusEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) |
| |
|
template<> |
| opus_int32 | opus_encode< short > (OpusEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) |
| |