Skip to content

Commit

Permalink
Merge pull request #1 from ysak-y/convert_sample_rate_to_selected_val…
Browse files Browse the repository at this point in the history
…ue_in_ios

Convert sample rate to selected value in ios
  • Loading branch information
ysak-y authored Apr 1, 2020
2 parents 9285a70 + 07daf12 commit 2a71f2f
Show file tree
Hide file tree
Showing 11,032 changed files with 55,711 additions and 31,493 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add this line to your pubspec.yaml file:

```
dependencies:
flutter_audio_capture: ^0.0.1
flutter_audio_capture: ^0.0.2
```

and execute
Expand Down Expand Up @@ -64,7 +64,7 @@ void onError(Object e) {
FlutterAudioCapture plugin = new FlutterAudioCapture();
// Start to capture audio stream buffer
// sampleRate: sample rate you want (Android only)
// sampleRate: sample rate you want
// bufferSize: buffer size you want (iOS only)
await plugin.start(listener, onError, sampleRate: 16000, bufferSize: 3000);
// Stop to capture audio stream buffer
Expand Down
2 changes: 1 addition & 1 deletion doc/api/__404error.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h1>404: Something's gone wrong :-(</h1>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
19 changes: 18 additions & 1 deletion doc/api/dart-async/AsyncError-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h5>dart:async library</h5>

<li class="section-title"><a href="dart-async/dart-async-library.html#functions">Functions</a></li>
<li><a href="dart-async/runZoned.html">runZoned</a></li>
<li><a href="dart-async/runZonedGuarded.html">runZonedGuarded</a></li>
<li><a href="dart-async/scheduleMicrotask.html">scheduleMicrotask</a></li>


Expand Down Expand Up @@ -223,6 +224,20 @@ <h2>Operators</h2>
</section>


<section class="summary offset-anchor" id="static-methods">
<h2>Static Methods</h2>
<dl class="callables">
<dt id="defaultStackTrace" class="callable">
<span class="name"><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></span><span class="signature">(<wbr><span class="parameter" id="defaultStackTrace-param-error"><span class="type-annotation"><a href="dart-core/Object-class.html">Object</a></span> <span class="parameter-name">error</span></span>)
<span class="returntype parameter">&#8594; <a href="dart-core/StackTrace-class.html">StackTrace</a></span>
</span>
</dt>
<dd>
A default stack trace for an error. <a href="dart-async/AsyncError/defaultStackTrace.html">[...]</a>

</dd>
</dl>
</section>


</div> <!-- /.main-content -->
Expand All @@ -249,6 +264,8 @@ <h2>Operators</h2>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>


</ol>
Expand All @@ -259,7 +276,7 @@ <h2>Operators</h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
9 changes: 7 additions & 2 deletions doc/api/dart-async/AsyncError/AsyncError.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ <h5>AsyncError class</h5>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>


</ol>
Expand All @@ -89,7 +91,10 @@ <h5>AsyncError class</h5>

<section class="summary source-code" id="source">
<h2><span>Implementation</span></h2>
<pre class="language-dart"><code class="language-dart">AsyncError(this.error, this.stackTrace);</code></pre>
<pre class="language-dart"><code class="language-dart">AsyncError(this.error, StackTrace stackTrace)
: stackTrace = stackTrace ?? defaultStackTrace(error) {
ArgumentError.checkNotNull(error, &quot;error&quot;);
}</code></pre>
</section>

</div> <!-- /.main-content -->
Expand All @@ -102,7 +107,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
136 changes: 136 additions & 0 deletions doc/api/dart-async/AsyncError/defaultStackTrace.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
<meta name="description" content="API docs for the defaultStackTrace method from the AsyncError class, for the Dart programming language.">
<title>defaultStackTrace method - AsyncError class - dart:async library - Dart API</title>
<!-- required because all the links are pseudo-absolute -->
<base href="../..">

<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="static-assets/github.css">
<link rel="stylesheet" href="static-assets/styles.css">
<link rel="icon" href="static-assets/favicon.png">
<!-- header placeholder -->
</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
<button id="sidenav-left-toggle" type="button">&nbsp;</button>
<ol class="breadcrumbs gt-separated dark hidden-xs">
<li><a href="index.html">flutter_audio_capture</a></li>
<li><a href="dart-async/dart-async-library.html">dart:async</a></li>
<li><a href="dart-async/AsyncError-class.html">AsyncError</a></li>
<li class="self-crumb">defaultStackTrace method</li>
</ol>
<div class="self-name">defaultStackTrace</div>
<form class="search navbar-right" role="search">
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>

<main>

<div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
<header id="header-search-sidebar" class="hidden-l">
<form class="search-sidebar" role="search">
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
<li><a href="index.html">flutter_audio_capture</a></li>
<li><a href="dart-async/dart-async-library.html">dart:async</a></li>
<li><a href="dart-async/AsyncError-class.html">AsyncError</a></li>
<li class="self-crumb">defaultStackTrace method</li>
</ol>

<h5>AsyncError class</h5>
<ol>

<li class="section-title"><a href="dart-async/AsyncError-class.html#constructors">Constructors</a></li>
<li><a href="dart-async/AsyncError/AsyncError.html">AsyncError</a></li>

<li class="section-title">
<a href="dart-async/AsyncError-class.html#instance-properties">Properties</a>
</li>
<li><a href="dart-async/AsyncError/error.html">error</a></li>
<li><a href="dart-async/AsyncError/stackTrace.html">stackTrace</a></li>
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>

<li class="section-title"><a href="dart-async/AsyncError-class.html#instance-methods">Methods</a></li>
<li><a href="dart-async/AsyncError/toString.html">toString</a></li>
<li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>

<li class="section-title inherited"><a href="dart-async/AsyncError-class.html#operators">Operators</a></li>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>



</ol>
</div><!--/.sidebar-offcanvas-->

<div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
<div><h1><span class="kind-method">defaultStackTrace</span> method</h1></div>

<section class="multi-line-signature">
<span class="returntype"><a href="dart-core/StackTrace-class.html">StackTrace</a></span>
<span class="name ">defaultStackTrace</span>
(<wbr><span class="parameter" id="defaultStackTrace-param-error"><span class="type-annotation"><a href="dart-core/Object-class.html">Object</a></span> <span class="parameter-name">error</span></span>)

</section>
<section class="desc markdown">
<p>A default stack trace for an error.</p>
<p>If <code>error</code> is an <a href="dart-core/Error-class.html">Error</a> and it has an <a href="dart-core/Error/stackTrace.html">Error.stackTrace</a>,
that stack trace is returned.
If not, the <a href="dart-core/StackTrace/empty-constant.html">StackTrace.empty</a> default stack trace is returned.</p>
</section>

<section class="summary source-code" id="source">
<h2><span>Implementation</span></h2>
<pre class="language-dart"><code class="language-dart">static StackTrace defaultStackTrace(Object error) {
if (error is Error) {
var stackTrace = error.stackTrace;
if (stackTrace != null) return stackTrace;
}
return StackTrace.empty;
}</code></pre>
</section>

</div> <!-- /.main-content -->

<div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
</div><!--/.sidebar-offcanvas-->

</main>

<footer>
<span class="no-break">
flutter_audio_capture
0.0.2
</span>

<!-- footer-text placeholder -->
</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>
<!-- footer placeholder -->

</body>

</html>
4 changes: 3 additions & 1 deletion doc/api/dart-async/AsyncError/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ <h5>AsyncError class</h5>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>



Expand Down Expand Up @@ -104,7 +106,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/dart-async/AsyncError/stackTrace.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ <h5>AsyncError class</h5>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>



Expand Down Expand Up @@ -104,7 +106,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/dart-async/AsyncError/toString.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ <h5>AsyncError class</h5>
<li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>


<li class="section-title"><a href="dart-async/AsyncError-class.html#static-methods">Static methods</a></li>
<li><a href="dart-async/AsyncError/defaultStackTrace.html">defaultStackTrace</a></li>



Expand Down Expand Up @@ -107,7 +109,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
3 changes: 2 additions & 1 deletion doc/api/dart-async/Completer-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h5>dart:async library</h5>

<li class="section-title"><a href="dart-async/dart-async-library.html#functions">Functions</a></li>
<li><a href="dart-async/runZoned.html">runZoned</a></li>
<li><a href="dart-async/runZonedGuarded.html">runZonedGuarded</a></li>
<li><a href="dart-async/scheduleMicrotask.html">scheduleMicrotask</a></li>


Expand Down Expand Up @@ -310,7 +311,7 @@ <h2>Operators</h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dart-async/Completer/Completer.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dart-async/Completer/Completer.sync.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dart-async/Completer/complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/dart-async/Completer/completeError.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h5>Completer class</h5>
<p>Calling <a href="dart-async/Completer/complete.html">complete</a> or <a href="dart-async/Completer/completeError.html">completeError</a> must be done at most once.</p>
<p>Completing a future with an error indicates that an exception was thrown
while trying to produce a value.</p>
<p>If <code>error</code> is <code>null</code>, it is replaced by a <a href="dart-core/NullThrownError-class.html">NullThrownError</a>.</p>
<p>The <code>error</code> must not be <code>null</code>.</p>
<p>If <code>error</code> is a <code>Future</code>, the future itself is used as the error value.
If you want to complete with the result of the future, you can use:</p>
<pre class="language-dart"><code>thisCompleter.complete(theFuture)
Expand All @@ -121,7 +121,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dart-async/Completer/future.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dart-async/Completer/isCompleted.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
3 changes: 2 additions & 1 deletion doc/api/dart-async/ControllerCallback.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h5>dart:async library</h5>

<li class="section-title"><a href="dart-async/dart-async-library.html#functions">Functions</a></li>
<li><a href="dart-async/runZoned.html">runZoned</a></li>
<li><a href="dart-async/runZonedGuarded.html">runZonedGuarded</a></li>
<li><a href="dart-async/scheduleMicrotask.html">scheduleMicrotask</a></li>


Expand Down Expand Up @@ -135,7 +136,7 @@ <h2><span>Implementation</span></h2>
<footer>
<span class="no-break">
flutter_audio_capture
0.0.1
0.0.2
</span>

<!-- footer-text placeholder -->
Expand Down
Loading

0 comments on commit 2a71f2f

Please sign in to comment.