github publish

This commit is contained in:
Ondrej Novak 2025-01-24 18:27:22 +01:00
commit 506e23bf32
542 changed files with 120675 additions and 0 deletions

20
LIBS/WAV.H Normal file
View file

@ -0,0 +1,20 @@
#ifndef _WAV_H
#define _WAV_H
#define WAV_RIFF "RIFF"
#define WAV_WAVE "WAVE"
#define WAV_FMT "fmt "
#define WAV_DATA "data"
typedef struct t_wave
{
unsigned short wav_mode,chans;
long freq,bps;
}T_WAVE;
int find_chunk(FILE *riff,char *name); //-1 neuspech, jinak pozice
int get_chunk_size(FILE *riff); //velikost
int read_chunk(FILE *riff,void *mem); // 1 neuspech
#endif