Home
last modified time | relevance | path

Searched refs:format (Results 1 – 10 of 10) sorted by relevance

/liblc3-3.7.0-3.6.0/tools/
Dwave.c96 struct wave_format format; in wave_read_header() local
104 if (fread(&format, sizeof(format), 1, fp) != 1 in wave_read_header()
105 || format.id != WAVE_FORMAT_ID in wave_read_header()
106 || format.fmt != WAVE_FORMAT_PCM in wave_read_header()
107 || format.channels <= 0 in wave_read_header()
108 || format.samplerate <= 0 in wave_read_header()
109 || format.framesize <= 0 in wave_read_header()
110 || format.byterate != format.samplerate * format.framesize) in wave_read_header()
113 fseek(fp, sizeof(format) - (8 + format.size), SEEK_CUR); in wave_read_header()
119 *bitdepth = format.bitdepth; in wave_read_header()
[all …]
Ddlc3.c47 static void error(int status, const char *format, ...) in error() argument
53 va_start(args, format); in error()
54 vfprintf(stderr, format, args); in error()
Delc3.c39 static void error(int status, const char *format, ...) in error() argument
45 va_start(args, format); in error()
46 vfprintf(stderr, format, args); in error()
/liblc3-3.7.0-3.6.0/tables/
Dmktables.py93 print('{:14.8e},'.format(v), end = '\n' if i%m == m-1 else ' ')
103 print('\n--- fft bf2 twiddles {:3d} ---'.format(n))
107 print('{{ {:14.7e}, {:14.7e} }},'.format(np.cos(k), np.sin(k)),
112 print('\n--- fft bf3 twiddles {:3d} ---'.format(n))
117 ' {{ {:14.7e}, {:14.7e} }} }},').format(
125 print('\n--- mdct rot twiddles {:3d} ---'.format(n))
130 print('{{ {:14.7e}, {:14.7e} }},'.format(
167 print('\n--- sns ge table, sr:{} ---'.format(sr))
186 print('\n--- LTPF resampler {:d} KHz to 12.8 KHz ---'.format(sr))
196 '{:5d}, {:5d}, {:5d}, {:5d}, {:5d},'.format(
[all …]
Dfastmath.py40 .format(p[0], p[1], p[2], p[3], p[4]))
78 .format(p[0], p[1], p[2], p[3], p[4]))
106 .format(int(np.ldexp(a, 15) + 0.5),
/liblc3-3.7.0-3.6.0/test/
Drun.py34 print('[{:^6}] {:}'.format('...', m[1]), end='\r', flush=True)
36 print('[{:^6}] {:}'.format('OK' if ret else 'FAILED', m[1]))
Dbitstream.py37 print(''.join('{:02x} '.format(x)
Dencoder.py135 print(''.join('{:02x} '.format(x)
/liblc3-3.7.0-3.6.0/
DREADME.md55 according given parameter. The LC3 binary file format used is the non
56 standard format described by the reference encoder / decoder tools.
DLICENSE185 comment syntax for the file format. We also recommend that a