| 
| bool  | init (uint16_t format_id, uint16_t channel_number, uint32_t sampling_rate) | 
|   | Init function.  More...
  | 
|   | 
| bool  | init (uint16_t format_id, uint16_t channel_number, uint32_t sampling_rate, uint8_t bitwidth) | 
|   | Init function (Bitwidth can be specified)  More...
  | 
|   | 
| bool  | getHeader (WAVHEADER *wav_header, uint32_t data_size) | 
|   | Get WAV header.  More...
  | 
|   | 
◆ init() [1/2]
      
        
          | bool init  | 
          ( | 
          uint16_t  | 
          format_id,  | 
        
        
           | 
           | 
          uint16_t  | 
          channel_number,  | 
        
        
           | 
           | 
          uint32_t  | 
          sampling_rate  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Init function. 
Set WAV container information A bitlength is fixed to 16bit
- Parameters
 - 
  
    | [in] | format_id | WAV format type  | 
    | [in] | channel_number | Number of channels  | 
    | [in] | sampling_rate | Sampling rate  | 
  
   
 
 
◆ init() [2/2]
      
        
          | bool init  | 
          ( | 
          uint16_t  | 
          format_id,  | 
        
        
           | 
           | 
          uint16_t  | 
          channel_number,  | 
        
        
           | 
           | 
          uint32_t  | 
          sampling_rate,  | 
        
        
           | 
           | 
          uint8_t  | 
          bitwidth  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Init function (Bitwidth can be specified) 
Set WAV container information
- Parameters
 - 
  
    | [in] | format_id | WAV format type  | 
    | [in] | channel_number | Number of channels  | 
    | [in] | sampling_rate | Sampling rate  | 
    | [in] | bitwidth | Bit per sample  | 
  
   
 
 
◆ getHeader()
      
        
          | bool getHeader  | 
          ( | 
          WAVHEADER *  | 
          wav_header,  | 
        
        
           | 
           | 
          uint32_t  | 
          data_size  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get WAV header. 
Get WAV container header information. The Informations depends on parameters of "init()".
- Parameters
 - 
  
    | [out] | wav_header | WAV continer header  | 
    | [in] | data_size | Wav data size to set header parameter  | 
  
   
 
 
The documentation for this class was generated from the following file: