41#ifndef __EST_WAVE_UTILS_H__
42#define __EST_WAVE_UTILS_H__
45#include "EST_cutils.h"
46#include "EST_rw_status.h"
47#include "EST_WaveFile.h"
49void ConvertToIeeeExtended(
double num,
unsigned char *
bytes);
50double ConvertFromIeeeExtended(
unsigned char *
bytes);
52int get_word_size(
enum EST_sample_type_t sample_type);
53enum EST_sample_type_t str_to_sample_type(
const char *type);
54const char *sample_type_to_str(
enum EST_sample_type_t type);
57 enum EST_sample_type_t sample_type,
int bo);
58enum EST_write_status save_raw_data(
FILE *fp,
const short *data,
int offset,
59 int num_samples,
int num_channels,
60 enum EST_sample_type_t sample_type,
int bo);
61enum EST_write_status save_raw_data_nc(
FILE *fp,
const short *data,
int offset,
62 int num_samples,
int num_channels,
63 enum EST_sample_type_t sample_type,
int bo);