This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_sound/flutter_sound.dart'; | |
| import 'dart:async'; | |
| import 'dart:typed_data'; | |
| import 'dart:collection'; | |
| const int SAMPLE_RATE = 8000; | |
| const int MAX_BUFFERED = 10*SAMPLE_RATE; | |
| // Each speech event captures the phrase identified and the PCM buffers used to identify it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include <experimental/coroutine> | |
| using namespace std::experimental; | |
| using namespace std; | |
| template<class T> | |
| struct gen | |
| { | |
| struct promise_type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <inttypes.h> | |
| #include <experimental/generator> | |
| #include <intrin.h> | |
| #include <functional> | |
| using namespace std::experimental; | |
| generator<int> ints(int start,int stride) | |
| { |