[patch] Consistent global limits for rate and channels

オープン
#507 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
c, linux

調査の方向性

Start with pcm_plugin.h and its SND_PCM_PLUGIN_RATE_MIN and SND_PCM_PLUGIN_RATE_MAX definitions, then grep alsa-lib and alsa-utils for hard-coded rate and channel limits, including the 786000 value. The changes are in the attached patch files, not the issue text, so check them before starting. Done means local limits use the shared macros, the new max-channel globals are defined, and the typo is fixed. The thread has been quiet for about 138 days and the maintainer asked for the patches on the mailing list, so confirm the route first.

索引モデルが issue の本文から書いたものです。

説明

Hello.

I've noticed that pcm_plugin.h provides SND_PCM_PLUGIN_RATE_MIN and ...MAX, but these values are not used always. Rather, various local limits used, include a bit unusual ones like 786000 (this one is probably just a typo). In order to make limits consistent across alsa-lib (and -utils), i've make these small patches. Also two more globals introduced for max channels. As well as some minor things fixed.

Are there chances that it can be merged?

I'll share via mailing list if need.

Thanks!

alsa-lib.patch

alsa-utils.patch

主要言語
C
スター
501
フォーク
227
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

alsa-project/alsa-lib のほかの issue

alsa-project/alsa-lib の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。