Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.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.byterate != format.samplerate * format.framesize) in wave_read_header()
110 fseek(fp, sizeof(format) - (8 + format.size), SEEK_CUR); in wave_read_header()
116 *bitdepth = format.bitdepth; in wave_read_header()
117 *samplesize = format.framesize / format.channels; in wave_read_header()
118 *samplerate = format.samplerate; in wave_read_header()
119 *nchannels = format.channels; 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.5.0-3.4.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))
129 print('{{ {:14.7e}, {:14.7e} }},'.format(np.cos(k), np.sin(k)),
165 print('\n--- sns ge table, sr:{} ---'.format(sr))
184 print('\n--- LTPF resampler {:d} KHz to 12.8 KHz ---'.format(sr))
194 '{: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.5.0-3.4.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.5.0-3.4.0/
DREADME.md54 according given parameter. The LC3 binary file format used is the non
55 standard format described by the reference encoder / decoder tools.
DLICENSE185 comment syntax for the file format. We also recommend that a