Click here to Skip to main content
15,897,704 members
Articles / Programming Languages / C# 4.0

Fun with Google Speech Recognition Service

Rate me:
Please Sign up or sign in to vote.
4.14/5 (7 votes)
13 May 2024CPOL2 min read 81.6K   10.4K   21  
Create text issues in Redmine by using Google speech recognition service
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently

#pragma once


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>

//vorbis
#include <vorbis/vorbisenc.h>

//mpeg
#include "mad.h"

//flac
#include "FLAC/metadata.h"
#include "FLAC/stream_encoder.h"

#define FIXED32_FRACBITS 28
#define FIXED32_MIN ((int) -0x80000000L)
#define FIXED32_MAX ((int) +0x7fffffffL)
#define FIXED32_ONE ((int) 0x10000000)


#ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
#include <io.h>
#include <fcntl.h>
#endif

#if defined(__MACOS__) && defined(__MWERKS__)
#include <console.h>      /* CodeWarrior's Mac "command-line" support */
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions