File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ distributable :
2+ url : https://downloads.xiph.org/releases/speex/speex-1.2.1.tar.gz
3+ strip-components : 1
4+
5+ versions :
6+ url : https://ftp.osuosl.org/pub/xiph/releases/speex/
7+ match : /speex-\d+\.\d+\.\d+.tar.gz/
8+ strip :
9+ - /^speex-/
10+ - /\.tar\.gz$/
11+
12+ dependencies :
13+ xiph.org/ogg : ' *'
14+
15+ build :
16+ dependencies :
17+ tea.xyz/gx/cc : c99
18+ tea.xyz/gx/make : ' *'
19+ freedesktop.org/pkg-config : ' *'
20+ script : |
21+ ./configure $ARGS
22+ make --jobs {{ hw.concurrency }} install
23+ env :
24+ ARGS :
25+ - --prefix="{{prefix}}"
26+
27+ provides :
28+ - bin/speexdec
29+
30+ test :
31+ dependencies :
32+ tea.xyz/gx/cc : c99
33+ script :
34+ cc test.c -lspeex -o test
Original file line number Diff line number Diff line change 1+ #include <speex/speex.h>
2+
3+ int main () {
4+ SpeexBits bits ;
5+ void * enc_state ;
6+
7+ speex_bits_init (& bits );
8+ enc_state = speex_encoder_init (& speex_nb_mode );
9+
10+ speex_bits_destroy (& bits );
11+ speex_encoder_destroy (enc_state );
12+
13+ return 0 ;
14+ }
You can’t perform that action at this time.
0 commit comments