From c954cfa1ffa57d67b855d47fb020172c52743528 Mon Sep 17 00:00:00 2001 From: "Christian R. Helmrich" Date: Fri, 28 Feb 2020 23:00:03 +0000 Subject: [PATCH] Update api --- api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.md b/api.md index 0d74425..f5c63e1 100644 --- a/api.md +++ b/api.md @@ -47,15 +47,15 @@ unsigned ExhaleEncAPI::`initEncoder`(unsigned char* const audioConfigBuffer, uin **Purpose** -initialize an *ExhaleEncAPI* object for encoding and allocate dynamic object memory. Also checks the validity of the parameters given to `exhaleCreate()` and, upon success, generates AudioSpecificConfig (ASC, including UsacConfig) data for the bit-stream header. The following parameters are available for storage of this data: +initialize an *ExhaleEncAPI* object for encoding and allocate dynamic object memory. Also checks the validity of the parameters given to `exhaleCreate()` and, upon success, generates *AudioSpecificConfig* (ASC, including *UsacConfig*) data for the bit-stream header. The following parameters are available for storage of this data: * *audioConfigBuffer*: pointer to an unsigned 8-bit integer buffer to which the ASC data will be written. The buffer must be at least 16 bytes large. May be `NULL`, in which case no ASC is generated. * *audioConfigBytes*: pointer to a single unsigned 32-bit integer to which the byte-size of the ASC data is written. Optional parameter, may be `NULL`, in which case the size information is discarded. **Since exhale 1.0.1**: If, when calling this function, the integer pointed to by *audioConfigBytes* is nonzero, that -integer is interpreted as program *loudnessInfo( )* payload according to [ISO/IEC 23003-4](https://www.iso.org/standard/75930.html), Dynamic -Range Control (DRC), and included in the *UsacConfig( )* data generated by this function. The +integer is interpreted as program *loudnessInfo* payload according to [ISO/IEC 23003-4](https://www.iso.org/standard/75930.html), Dynamic +Range Control (DRC), and included in the *UsacConfig* data generated by this function. The bits of the nonzero integer pointed to by *audioConfigBytes* are interpreted as follows: | Bit Offset | Number of Bits | Syntax Element (Specification Table in ISO/IEC 23003-4) |