Skip to content

Commit 3044eed

Browse files
authored
Merge pull request #23 from sipsorcery-org/openai-mods
Implement improved audio interface.
2 parents 56f20c0 + aa5b4b1 commit 3044eed

File tree

5 files changed

+219
-76
lines changed

5 files changed

+219
-76
lines changed

LICENSE

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
1-
BSD 3-Clause License
1+
# License
22

3-
Copyright (c) 2020, Aaron Clauson
3+
## 1. BSD 3-Clause "New" or "Revised" License
4+
5+
Copyright (c) 2020–2025 Aaron Clauson
46
All rights reserved.
57

6-
Redistribution and use in source and binary forms, with or without
7-
modification, are permitted provided that the following conditions are met:
8-
9-
1. Redistributions of source code must retain the above copyright notice, this
10-
list of conditions and the following disclaimer.
11-
12-
2. Redistributions in binary form must reproduce the above copyright notice,
13-
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15-
16-
3. Neither the name of the copyright holder nor the names of its
17-
contributors may be used to endorse or promote products derived from
18-
this software without specific prior written permission.
19-
20-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
9+
10+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
11+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
12+
3. Neither the name “SIP Sorcery,” nor “Aaron Clauson,” nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
13+
14+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
16+
---
17+
18+
## 2. Additional Restriction: Boycott, Divestment, Sanctions (BDS) – Attribution-NonCommercial-ShareAlike
19+
20+
**Boycott Divestment Sanctions – Attribution-NonCommercial-ShareAlike (BDS BY-NC-SA)**
21+
22+
This software **must not be used** to further the Apartheid policies of Israel. Use, modification, or distribution **inside** Israel and the Occupied Territories is strictly forbidden until the demands of the Boycott, Divestment and Sanctions movement have been met:
23+
24+
* Israel has ended the occupation and colonization of all Arab lands occupied in 1967 and dismantled the Wall;
25+
* Arab-Palestinian citizens of Israel have been granted full equality; and
26+
* Palestinian refugees have obtained the right to return to their homes and properties as stipulated in UN Resolution 194.
27+
28+
For all other geographic regions **outside** of Israel and the Occupied Territories, use, modification, and distribution are permitted under the terms of the **BSD 3-Clause "New" or "Revised" License** above (Section 1), provided that any future use, modification, or distribution carries the above BDS restriction and abides by the ShareAlike and NonCommercial principles.
29+
30+
This restriction is **not** intended to limit the rights of Israelis or any other people residing outside of Israel and the Occupied Territories.
31+
32+
In any instance where the BSD 3-Clause License conflicts with the above restriction, the above restriction shall be interpreted as superior, and all other non-conflicting provisions of the BSD 3-Clause license shall remain in effect.

src/SIPSorceryMedia.Windows.csproj

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
<ItemGroup>
44
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
55
<PackageReference Include="NAudio" Version="2.2.1" />
6-
<PackageReference Include="SIPSorceryMedia.Abstractions" Version="8.0.10" />
6+
<PackageReference Include="SIPSorceryMedia.Abstractions" Version="8.0.12" />
77
</ItemGroup>
88

99
<PropertyGroup>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
12+
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
1113
<PackageId>SIPSorceryMedia.Windows</PackageId>
1214
<TargetFrameworks>net8.0-windows10.0.17763.0</TargetFrameworks>
1315
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
@@ -23,13 +25,15 @@
2325
<PackageIconUrl>http://www.sipsorcery.com/mainsite/favicon.ico</PackageIconUrl>
2426
<PackageIcon>icon.png</PackageIcon>
2527
<RepositoryUrl>https://github.com/sipsorcery-org/SIPSorceryMedia.Windows</RepositoryUrl>
26-
<Version>8.0.11</Version>
27-
<AssemblyVersion>8.0.11.0</AssemblyVersion>
28-
<FileVersion>8.0.11.0</FileVersion>
28+
<PackageReadmeFile>README.md</PackageReadmeFile>
29+
<Version>8.0.13-pre</Version>
30+
<AssemblyVersion>8.0.13.0</AssemblyVersion>
31+
<FileVersion>8.0.13.0</FileVersion>
2932
<RepositoryType>git</RepositoryType>
3033
<RepositoryBranch>master</RepositoryBranch>
3134
<PackageTags>WebRTC VoIP SIPSorcery Audio Video Codecs Encoders Decoders</PackageTags>
32-
<PackageReleaseNotes>-v8.0.11: Support more than one audo channel.
35+
<PackageReleaseNotes>-v8.0.13-pre: Improvements to audio sink handling and implementeed IAudioEndPoint interface.
36+
-v8.0.11: Support more than one audo channel.
3337
-v8.0.7: Updated for changes to abstractions library.
3438
-v6.0.5: Updated for changes to abstractions library.
3539
-v6.0.4: Updated for changes to abstractions library.
@@ -55,7 +59,7 @@
5559

5660
<ItemGroup>
5761
<None Include="icon.png" Pack="true" PackagePath="" />
58-
<None Include="readme.md" Pack="true" PackagePath="\" />
62+
<None Include="..\README.md" Pack="true" PackagePath="" />
5963
</ItemGroup>
6064

6165
<PropertyGroup>

0 commit comments

Comments
 (0)