-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
35 lines (26 loc) · 859 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
au_check(info)
read an write _frames_ (as opposed to samples)
manpage:
document au_info()
au_info:
display num of samples/frames too
(usualy this will go into the header)
pcm:
increment file->frames and file->samples when writing
int to float: (*samples++ * 1.0) / INT8_MAX) can be below then -1
float to int: *samples++ = RFLE(p) * INT8_MAX will never be -1
So we differ between >0 and <0, but is it worth it?
libsndfile doesn't care
support 24 bit
test suite
see what libsndfile/tests does, pcm* in particular
all conversions, in both directions, watch the diffs
more encodings:
log PCM: alaw, mulaw
FLAC, OPUS, Ogg Vorbis
audio.h declares everything
cleanly split the public interface and the private parts
and declare only the public stuff in audio.h
large file support?
what does libsndfile do on 32 bit systems?
support tags?