This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
TT#59703 add build test for dtmf_rx_fillin()
closes
#787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
changes/27/30427/6
Richard Fuchs
7 years ago
parent
7803930d21
commit
f960799cdd
9 changed files
with
37 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
daemon/.gitignore
+4
-0
daemon/Makefile
+1
-0
daemon/codec.c
+1
-1
lib/common.Makefile
+7
-0
lib/dtmf_rx_fillin-01.h
+12
-0
lib/dtmf_rx_fillin-02.h
+6
-0
lib/dtmf_rx_fillin-test.c
+1
-0
t/.gitignore
+4
-0
t/Makefile
+ 1
- 0
daemon/.gitignore
View File
@ -17,3 +17,4 @@ streambuf.c
ssllib.c
dtmflib.c
*-test
dtmf_rx_fillin.h
+ 4
- 0
daemon/Makefile
View File
@ -139,4 +139,8 @@ MANS= $(PODS:.pod=.8)
i
n
c
l
u
d
e
.
.
/
l
i
b
/
c
o
m
m
o
n
.
M
a
k
e
f
i
l
e
i
f
e
q
(
$(
with_transcoding
)
,
y
e
s
)
.depend
:
dtmf_rx_fillin
.
h
e
n
d
i
f
i
n
c
l
u
d
e
.
d
e
p
e
n
d
+ 1
- 0
daemon/codec.c
View File
@ -17,6 +17,7 @@
#
include
"dtmf.h"
#
include
"resample.h"
#
include
"dtmflib.h"
#
include
"dtmf_rx_fillin.h"
+ 1
- 1
lib/common.Makefile
View File
@ -11,7 +11,7 @@ debug:
dep: .depend
BUILD_TEST_ALTS = fix_frame_channel_layout.h
BUILD_TEST_ALTS = fix_frame_channel_layout.h
dtmf_rx_fillin.h
clean:
rm -f $(OBJS) $(TARGET) $(LIBSRCS) $(DAEMONSRCS) $(MANS) $(ADD_CLEAN) .depend core core.*
+ 7
- 0
lib/dtmf_rx_fillin-01.h
View File
@ -0,0 +1,7 @@
#
include
<sys/types.h>
#
include
<inttypes.h>
#
include
<stdio.h>
#
include
<spandsp/telephony.h>
#
include
<spandsp/super_tone_rx.h>
#
include
<spandsp/logging.h>
#
include
<spandsp/dtmf.h>
+ 12
- 0
lib/dtmf_rx_fillin-02.h
View File
@ -0,0 +1,12 @@
#
include
<sys/types.h>
#
include
<inttypes.h>
#
include
<stdio.h>
#
include
<spandsp/telephony.h>
#
include
<spandsp/super_tone_rx.h>
#
include
<spandsp/logging.h>
#
include
<spandsp/dtmf.h>
#
include
"compat.h"
INLINE
void
dtmf_rx_fillin
(
dtmf_rx_state_t
*
dsp
,
int
n
)
{
/
/
stub
}
+ 6
- 0
lib/dtmf_rx_fillin-test.c
View File
@ -0,0 +1,6 @@
#
include
"dtmf_rx_fillin.h"
int
main
(
void
)
{
dtmf_rx_state_t
*
dsp
=
NULL
;
dtmf_rx_fillin
(
dsp
,
0
)
;
return
0
;
}
+ 1
- 0
t/.gitignore
View File
@ -51,3 +51,4 @@ media_player.c
dtmflib.c
test-dtmf-detect
*-test
dtmf_rx_fillin.h
+ 4
- 0
t/Makefile
View File
@ -133,3 +133,7 @@ const_str_hash-test.strhash: const_str_hash-test.strhash.o $(COMMONOBJS)
tests-preload.so
:
tests
-
preload
.
c
$(
CC
)
-g -D_GNU_SOURCE -std
=
c99 -o
$@
-Wall -shared -fPIC $<
i
f
e
q
(
$(
with_transcoding
)
,
y
e
s
)
.depend
:
dtmf_rx_fillin
.
h
e
n
d
i
f
Write
Preview
Loading…
Cancel
Save