Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add setBitrate() helper #21

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

portasynthinca3
Copy link
Contributor

This is just a simple function, essentially an alias to encoderCTL: this.encoderCTL(4002, val). It would be nice to have it in the library itself though, rater than the projects that depend on it as they won't have to carry this magic number around.

@abalabahaha abalabahaha changed the title Add encoderBitRate function feat: add setBitrate() helper Apr 24, 2023
@abalabahaha
Copy link
Owner

Sorry for the slight delay, thanks.

Changing to setBitrate (opus uses bitrate as one word, so I'd rather stick with that)

@abalabahaha abalabahaha merged commit 4f2c6eb into abalabahaha:master Apr 24, 2023
LUISDASARTIMANHAS referenced this pull request in LUISDASARTIMANHAS/discord-bot-template-with-node-js-server Dec 31, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [opusscript](https://togithub.com/abalabahaha/opusscript) | [`^0.0.8`
-> `^0.1.0`](https://renovatebot.com/diffs/npm/opusscript/0.0.8/0.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/opusscript/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/opusscript/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/opusscript/0.0.8/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/opusscript/0.0.8/0.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>abalabahaha/opusscript (opusscript)</summary>

###
[`v0.1.1`](https://togithub.com/abalabahaha/opusscript/releases/tag/0.1.1)

[Compare
Source](https://togithub.com/abalabahaha/opusscript/compare/0.1.0...0.1.1)

#### What's Changed

- fix: export missing \_free by
[@&#8203;erox93](https://togithub.com/erox93) in
[https://github.com/abalabahaha/opusscript/pull/23](https://togithub.com/abalabahaha/opusscript/pull/23)

#### New Contributors

- [@&#8203;erox93](https://togithub.com/erox93) made their first
contribution in
[https://github.com/abalabahaha/opusscript/pull/23](https://togithub.com/abalabahaha/opusscript/pull/23)

**Full Changelog**:
abalabahaha/opusscript@0.1.0...0.1.1

###
[`v0.1.0`](https://togithub.com/abalabahaha/opusscript/releases/tag/0.1.0)

[Compare
Source](https://togithub.com/abalabahaha/opusscript/compare/0.0.8...0.1.0)

#### What's Changed

- feat: bump libopus to 1.4 by
[@&#8203;abalabahaha](https://togithub.com/abalabahaha) in
abalabahaha/opusscript@95f7504
- feat: add setBitrate() helper by
[@&#8203;portasynthinca3](https://togithub.com/portasynthinca3) in
[https://github.com/abalabahaha/opusscript/pull/21](https://togithub.com/abalabahaha/opusscript/pull/21)

#### New Contributors

- [@&#8203;portasynthinca3](https://togithub.com/portasynthinca3) made
their first contribution in
[https://github.com/abalabahaha/opusscript/pull/21](https://togithub.com/abalabahaha/opusscript/pull/21)

**Full Changelog**:
abalabahaha/opusscript@0.0.8...0.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/LUISDASARTIMANHAS/discord-bot-template-with-node-js-server).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants