mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dtmf: Update dtmfdetect to make it MSVC friendly
https://bugzilla.gnome.org/show_bug.cgi?id=602465
This commit is contained in:
parent
12837a2611
commit
1f04af784c
2 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
detriment.
|
detriment.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __TONE_DETECT_H__
|
||||||
|
#define __TONE_DETECT_H__
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
float v2;
|
float v2;
|
||||||
|
@ -83,4 +88,6 @@ int zap_dtmf_get (dtmf_detect_state_t *s,
|
||||||
char *buf,
|
char *buf,
|
||||||
int max);
|
int max);
|
||||||
|
|
||||||
|
#endif /* __TONE_DETECT_H__ */
|
||||||
|
|
||||||
/*- End of file ------------------------------------------------------------*/
|
/*- End of file ------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue