summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
997912a)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
#include <endian.h>
/* This is the logical arrangement of the struct but we are splitting it
#include <endian.h>
/* This is the logical arrangement of the struct but we are splitting it
- * because it is more easy to handle the variable length extradata
+ * because it is easier to handle the variable length extradata that way.
*
* strongly inspired by http://www.mpg123.de/mpg123/mpg123/wav.c
*/
*
* strongly inspired by http://www.mpg123.de/mpg123/mpg123/wav.c
*/
uint32_t nAvgBytesPerSec;
uint16_t nBlockAlign;
uint16_t wBitsPerSample;
uint32_t nAvgBytesPerSec;
uint16_t nBlockAlign;
uint16_t wBitsPerSample;
- uint16_t cbSize; /* cbSize = sizeof(extardata) */
+ uint16_t cbSize; /* cbSize = sizeof(extradata) */
uint8_t extradata[];
} fmt;
struct _data
uint8_t extradata[];
} fmt;
struct _data
- uint16_t len; /* same size as fmt.cbSize */
+ uint16_t len; /* same storage size as fmt.cbSize */