mirror of
https://github.com/google/liblc3.git
synced 2026-04-28 01:44:48 +00:00
feature: Add High-Resolution LC3 plus mode
Duplicate interfaces for HR mode spec: Remove intermediate quantized table fix: legacy lc3_frame_bytes() and lc3_resolve_bitrate() Cosmetic: rename fast_xxx math function to lc3_xxx
This commit is contained in:
@@ -29,12 +29,14 @@
|
||||
* fp Opened file, moved after header on return
|
||||
* frame_us Return frame duration, in us
|
||||
* srate_hz Return samplerate, in Hz
|
||||
* hrmode Return true when high-resolution mode enabled
|
||||
* nchannels Return number of channels
|
||||
* nsamples Return count of source samples by channels
|
||||
* return 0: Ok -1: Bad LC3 File
|
||||
*/
|
||||
int lc3bin_read_header(FILE *fp,
|
||||
int *frame_us, int *srate_hz, int *nchannels, int *nsamples);
|
||||
int *frame_us, int *srate_hz, bool *hrmode,
|
||||
int *nchannels, int *nsamples);
|
||||
|
||||
/**
|
||||
* Read LC3 block of data
|
||||
@@ -50,12 +52,14 @@ int lc3bin_read_data(FILE *fp, int nchannels, void *buffer);
|
||||
* fp Opened file, moved after header on return
|
||||
* frame_us Frame duration, in us
|
||||
* srate_hz Samplerate, in Hz
|
||||
* hrmode True when high-resolution mode enabled
|
||||
* bitrate Bitrate indication of the stream, in bps
|
||||
* nchannels Number of channels
|
||||
* nsamples Count of source samples by channels
|
||||
*/
|
||||
void lc3bin_write_header(FILE *fp,
|
||||
int frame_us, int srate_hz, int bitrate, int nchannels, int nsamples);
|
||||
int frame_us, int srate_hz, bool hrmode,
|
||||
int bitrate, int nchannels, int nsamples);
|
||||
|
||||
/**
|
||||
* Write LC3 block of data
|
||||
|
||||
Reference in New Issue
Block a user