# DVS Audio Library (ap_ds) Open Source License Version 2.0

**Version: 2.0**
**Effective Date: March 22, 2026**
**Applies to: ap_ds version 2.4.1 and above (except for subsequent license updates)**
**Project Homepage: https://www.dvsyun.top/ap_ds | https://apds.top**

---

## 1. Definitions

1.1. **“Software”** means the DVS Audio Library (ap_ds) project and all its components, source code, object code, and related documentation. The official name of this project is “ap_ds”, and the following names are also granted as officially recognized brand identifiers:
   - AP_DS
   - Audio Library By DVS
   - DVS Audio Player
   (All of the above names are case-insensitive and are considered officially recognized brand names.)

1.2. **“Source Code”** means the human-readable form of the Software, which is the basis for modification, study, and distribution.

1.3. **“Modified Version”** means any derivative work created by modifying, supplementing, translating, or otherwise altering the Software, in whole or in part.

1.4. **“Distribute”** means making the Software or a Modified Version available to any third party by any means or medium.

1.5. **“You”** means any individual or legal entity exercising the rights granted under this License.

1.6. **“Independent Brand”** means a completely new project name, logo, and brand identity that has no confusing association with the official names of the Software (including but not limited to “ap_ds”, “AP_DS”, “Audio Library By DVS”, “DVS Audio Player”, and any variants thereof).

---

## 2. Grant of License

Subject to the terms and conditions of this License, the Author hereby grants You a perpetual, worldwide, royalty-free, non-exclusive, irrevocable right to:

2.1. **Use and Run**: Run the Software on any computer system for any lawful purpose.

2.2. **Copy and Distribute**: Make any number of copies of the Software and Distribute them.

2.3. **Study and Modify**: Study the Software's Source Code and make any modifications to meet Your needs.

2.4. **Integrate and Commercially Use**: Integrate the Software into Your products or projects, and use it in any commercial context, including but not limited to commercial product integration, cloud service deployment, selling solutions incorporating the Software, and internal corporate use.

---

## 3. Obligations and Restrictions

### 3.1. Attribution and Source Identification
Any time the Software or a Modified Version is used, Distributed, or integrated, You must:

   a) **Retain Original Copyright Notices**: Keep intact all original copyright, patent, and trademark notices in all copies of the Software.

   b) **Provide Prominent Source Attribution**: Clearly and conspicuously state the following information in the software documentation, official website, user interface, or related materials:
      ```
      Based on DVS Audio Library (ap_ds) v[version number]
      Original Author: Dvs (DvsXT)
      Project Homepage: https://www.dvsyun.top/ap_ds | https://apds.top
      ```

   c) **Add Notice for Modified Versions**: If You Distribute a Modified Version, in addition to the attribution above, You must add the following notice:
      ```
      This is a modified version maintained by [Your Name/Organization].
      Support: [Your Contact Information].
      This version is not the official version and is not affiliated with the original author.
      ```

### 3.2. Brand Protection
To prevent brand confusion and project fragmentation, Modified Versions must comply with the following strict rules:

   a) **Prohibition on Using Original Brand Names**: You must not name a Modified Version “ap_ds”, “AP_DS”, “Audio Library By DVS”, “DVS Audio Player”, or any variant, combination, or derivative that could cause confusion.

   b) **Requirement for Independent Brand**: Modified Versions must use a completely independent project name and establish their own independent project identity, documentation, and community.

   c) **Maintainer Responsibility Statement**: The distributor of a Modified Version must state prominently on their project homepage or in a conspicuous location:
      ```
      This project is based on DVS Audio Library (ap_ds) but has evolved independently and is fully maintained by [Your Name].
      For the original version, please visit: https://www.dvsyun.top/ap_ds or https://apds.top.
      The maintainer is solely responsible for any issues related to this project.
      ```

### 3.3. Quality Commitment for Modified Versions
If You Distribute a Modified Version, You must:

   a) **Clearly State the Nature of Modifications**: Clearly indicate that this is a modified version and list the key modifications and compatibility notes compared to the original version.

   b) **Provide Technical Support**: Provide a valid means of technical support contact for the Modified Version You distribute, and define the scope of support.

   c) **Not Mislead Users**: You must not imply in any way that Your Modified Version is officially endorsed, supported, or is a continuation of the original project.

### 3.4. Prohibited Uses
You must not use the Software for any illegal activities, malicious purposes, or actions that violate local laws or regulations, including but not limited to:
   a) Disrupting computer systems or network security.
   b) Distributing malware or viruses.
   c) Infringing on the intellectual property or privacy rights of others.

---

## 4. Patent Grant

4.1. **Patent License**: The Author hereby grants You a worldwide, royalty-free, non-exclusive, non-transferable patent license to make, use, sell, offer for sale, import, or otherwise transfer the Software.

4.2. **Patent Defense Termination**: If You or Your affiliates file a patent infringement lawsuit against the Author regarding the Software, all rights granted to You under this License will automatically and immediately terminate.

---

## 5. Technical Transparency and Security

5.1. **Right to Security Review**: Any user has the right to conduct a security audit of the Software's Source Code. Commercial users may engage third-party professionals for this purpose.

5.2. **Security Reporting**: Reporting discovered security issues to the original Author (me@dvsyun.top) is encouraged, and public disclosure after resolution is supported.

5.3. **No Backdoors Commitment**: The officially released version commits to containing no malicious code, backdoors, or user-data collection features without explicit user consent.

---

## 6. Disclaimer of Warranty and Limitation of Liability

6.1. **Disclaimer of Warranty**: THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND ABSENCE OF ERRORS.

6.2. **Limitation of Liability**: TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES (INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA LOSS, OR BUSINESS INTERRUPTION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE.

---

## 7. License Management and Termination

7.1. **Version Control**: This License is version 2.0. Subsequent versions will be published on the project homepage. You may choose to follow the terms of this version or any later version.

7.2. **Compatibility**: This License is compatible with the MIT, BSD 3-Clause, and Apache 2.0 licenses.

7.3. **Automatic Termination**: Your rights under this License will terminate automatically if You fail to comply with its terms. However, if You cease all non-compliance and cure all violations within 30 days of receiving notice from the copyright holder, and the copyright holder has not terminated Your rights within that period, Your rights will be reinstated.

---

## 8. Governing Law and Dispute Resolution

8.1. **Governing Law**: This License shall be governed by the laws of the People's Republic of China, without regard to its conflict of law provisions.

8.2. **Dispute Resolution**: Any dispute arising out of or in connection with this License shall first be resolved through friendly negotiation. If negotiation fails, either party may submit the dispute to the competent people's court located in the project author's domicile.

---

## 9. Contact Information

9.1. **Licensing and Inquiries**:
   - Email: me@dvsyun.top or dvs6666@163.com
   - Project Homepage: https://www.dvsyun.top/ap_ds | https://apds.top
   - Response Time: Within 7 business days

9.2. **Technical Support**:
   - Priority should be given to submitting issues via GitHub Issues.
   - Urgent matters can be directed to the emails above.

---

**BY USING, COPYING, MODIFYING, OR DISTRIBUTING THE SOFTWARE, YOU ACCEPT ALL TERMS AND CONDITIONS OF THIS LICENSE.**
```
