[PR #858] [MERGED] feat: add G.711 a-law algorithm #1365

Open
opened 2026-01-29 15:19:47 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/858
Author: @HiSunzhenliang
Created: 9/25/2021
Status: Merged
Merged: 10/3/2021
Merged by: @ayaankhan98

Base: masterHead: master


📝 Commits (9)

  • d75aef4 feat: add G.711 a-law algorithm
  • 7869efd chore: add CMakeLists.txt for audio/
  • c45402b updating DIRECTORY.md
  • 98005f3 docs: add explanation to G.711 a-law algorithm
  • 7ed780f docs: adjust comments to G.711 a-law algorithm
  • 517465d docs: adjust comments to G.711 a-law algorithm
  • f50a338 test: add self-test for G.711 a-law algorithm
  • f456e71 fix: initialize variables to zero
  • 6a235af docs: adjust comments to G.711 a-law algorithm

📊 Changes

4 files changed (+236 additions, -2 deletions)

View changed files

📝 CMakeLists.txt (+3 -2)
📝 DIRECTORY.md (+3 -0)
audio/CMakeLists.txt (+14 -0)
audio/alaw.c (+216 -0)

📄 Description

Description of Change

  1. add G.711 a-law algorithm
  2. add audio/

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/858 **Author:** [@HiSunzhenliang](https://github.com/HiSunzhenliang) **Created:** 9/25/2021 **Status:** ✅ Merged **Merged:** 10/3/2021 **Merged by:** [@ayaankhan98](https://github.com/ayaankhan98) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`d75aef4`](https://github.com/TheAlgorithms/C/commit/d75aef47ebf1f283863ef0df4cc1ecf07dbd5391) feat: add G.711 a-law algorithm - [`7869efd`](https://github.com/TheAlgorithms/C/commit/7869efda37661560d990689b0e7a845405269bea) chore: add CMakeLists.txt for audio/ - [`c45402b`](https://github.com/TheAlgorithms/C/commit/c45402bd9854486b6f68fbcd4bcf395a310cf8c1) updating DIRECTORY.md - [`98005f3`](https://github.com/TheAlgorithms/C/commit/98005f3d84fc3dca460041c6987400fa263f754c) docs: add explanation to G.711 a-law algorithm - [`7ed780f`](https://github.com/TheAlgorithms/C/commit/7ed780ff3df11811682e843e7b87a0848a6f9ddc) docs: adjust comments to G.711 a-law algorithm - [`517465d`](https://github.com/TheAlgorithms/C/commit/517465de508385d1f267f4d9b8ae98c75b968a5f) docs: adjust comments to G.711 a-law algorithm - [`f50a338`](https://github.com/TheAlgorithms/C/commit/f50a338739dc817293fe57e9040ed43e9b60f927) test: add self-test for G.711 a-law algorithm - [`f456e71`](https://github.com/TheAlgorithms/C/commit/f456e71a65804e2d0d8d9ba87d00cbd0b01181de) fix: initialize variables to zero - [`6a235af`](https://github.com/TheAlgorithms/C/commit/6a235af4101153c211403a4c049b98875766caf5) docs: adjust comments to G.711 a-law algorithm ### 📊 Changes **4 files changed** (+236 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -2) 📝 `DIRECTORY.md` (+3 -0) ➕ `audio/CMakeLists.txt` (+14 -0) ➕ `audio/alaw.c` (+216 -0) </details> ### 📄 Description #### Description of Change 1. add G.711 a-law algorithm 2. add audio/ <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/858"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:19:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1365