Skip to content

Commit f75b126

Browse files
FCE-3458: Extract Audio to JS from WebRTC (Part 1 — vendor miniaudio) (#57)
* FCE-3458: Vendor miniaudio v0.11.25 Adds the miniaudio single-header C library used for PCM resampling and format conversion in the audio extraction feature (Part 2). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * drop miniaudio from formatting --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3e136bd commit f75b126

4 files changed

Lines changed: 95927 additions & 1 deletion

File tree

NOTICE

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
This product includes third-party software components. Their respective
2+
licenses and notices are reproduced below.
3+
4+
================================================================================
5+
miniaudio v0.11.25
6+
================================================================================
7+
miniaudio - https://miniaud.io / https://github.com/mackron/miniaudio
8+
Author: David Reid <mackron@gmail.com>
9+
10+
Vendored as a single-header C library at:
11+
common/cpp/vendor/miniaudio.h
12+
common/cpp/vendor/miniaudio.c
13+
14+
miniaudio is dual-licensed: choose either the Public Domain (Unlicense) or the
15+
MIT No Attribution (MIT-0) license below.
16+
17+
--------------------------------------------------------------------------------
18+
ALTERNATIVE 1 - Public Domain (www.unlicense.org)
19+
--------------------------------------------------------------------------------
20+
This is free and unencumbered software released into the public domain.
21+
22+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
23+
software, either in source code form or as a compiled binary, for any purpose,
24+
commercial or non-commercial, and by any means.
25+
26+
In jurisdictions that recognize copyright laws, the author or authors of this
27+
software dedicate any and all copyright interest in the software to the public
28+
domain. We make this dedication for the benefit of the public at large and to
29+
the detriment of our heirs and successors. We intend this dedication to be an
30+
overt act of relinquishment in perpetuity of all present and future rights to
31+
this software under copyright law.
32+
33+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36+
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
37+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
38+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
39+
40+
For more information, please refer to <http://unlicense.org/>
41+
42+
--------------------------------------------------------------------------------
43+
ALTERNATIVE 2 - MIT No Attribution
44+
--------------------------------------------------------------------------------
45+
Copyright 2026 David Reid
46+
47+
Permission is hereby granted, free of charge, to any person obtaining a copy of
48+
this software and associated documentation files (the "Software"), to deal in
49+
the Software without restriction, including without limitation the rights to
50+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
51+
of the Software, and to permit persons to whom the Software is furnished to do
52+
so.
53+
54+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60+
SOFTWARE.

common/cpp/vendor/miniaudio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#define MA_IMPLEMENTATION
2+
#include "miniaudio.h"

0 commit comments

Comments
 (0)