To call Azure Marketplace Translation (and Speech) service

Dependencies:   EthernetInterface-FRDM HTTPClient-SSL R_BSP SDFileSystem TLV320_RBSP USBHost mbed-rtos mbed-src

Embed: (wiki syntax)

« Back to documentation index

dec_wav Class Reference

dec_wav Class Reference

A class to communicate a dec_wav. More...

#include <dec_wav.h>

Public Member Functions

bool AnalyzeHeder (uint8_t *p_title, uint8_t *p_artist, uint8_t *p_album, uint16_t tag_size, FILE *fp)
 analyze header
size_t GetNextData (void *buf, size_t len)
 get next data
uint16_t GetChannel ()
 get channel
uint16_t GetBlockSize ()
 get block size
uint32_t GetSamplingRate ()
 get sampling rate

Detailed Description

A class to communicate a dec_wav.

Definition at line 10 of file dec_wav.h.


Member Function Documentation

bool AnalyzeHeder ( uint8_t *  p_title,
uint8_t *  p_artist,
uint8_t *  p_album,
uint16_t  tag_size,
FILE *  fp 
)

analyze header

Parameters:
p_titletitle tag buffer
p_artistartist tag buffer
p_albumalbum tag buffer
tag_sizetag buffer size
fpfile pointer
Returns:
true = success, false = failure

Definition at line 22 of file dec_wav.h.

uint16_t GetBlockSize (  )

get block size

Returns:
block size

Definition at line 230 of file dec_wav.h.

uint16_t GetChannel (  )

get channel

Returns:
channel

Definition at line 222 of file dec_wav.h.

size_t GetNextData ( void *  buf,
size_t  len 
)

get next data

Parameters:
bufdata buffer address
lendata buffer length
Returns:
get data size

Definition at line 167 of file dec_wav.h.

uint32_t GetSamplingRate (  )

get sampling rate

Returns:
sampling rate

Definition at line 238 of file dec_wav.h.