Ability to access duration since stream started in StreamInstants
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
Read the StreamInstants and InputStreamTimestamp definitions and their tests to see how stream timing is represented and which duration operations are exposed. Compare the three proposed API options against existing conventions; done means enabling access to elapsed time since stream start with an agreed public API and adding coverage for it.
索引モデルが issue の本文から書いたものです。
説明
Hello,
I'm attempting to get the timing information returned from the InputStreamTimestamp. The StreamInstants only appears to have methods for getting the Duration since another StreamInstant or for adding and subtracting other Durations.
I would like to find a way to access the duration since the stream started, but it doesn't appear that that is possible with the currently provided methods. If there is another approach that I am missing, I would be extremely grateful for an example.
There are three approaches that would fit my use case and I would be happy to submit a PR if any are acceptable.
- Make
secsandnanospublic. - Make
as_nanos(&self)public - Make a new
pub fn duration_since_stream_start(&self) -> Durationor some variation of
I appreciate your time and look forward to discussing this further.
- 主要言語
- Rust
- スター
- 4k
- フォーク
- 554
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustAudio/cpal のほかの issue
-
aaudio: dynamic buffer tuning never grows the buffer (set_buffer_size_in_frames reports Err on success)対応中かも @dannyward630 が 4 日前に担当しました。 オープンhost - aaudio platform - android
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
WebAudio wasm build fails with wasm-bindgen panic=unwind closures対応中かも @bogusyogi が 12 日前に担当しました。 オープンhost - webaudio platform - web
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
RustAudio/cpal#1394 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
code quality dependencies host - wasapi platform - windows
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
RustAudio/cpal#1416 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
host - pipewire platform - linux
難易度 4/5 1〜2日 初心者へのやさしさ 52/100
RustAudio/cpal#1405 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
WASAPI: default-device activation fails with RPC_E_CHANGED_MODE after endpoint-notification callbacks put thread-pool threads into an STA対応中かも @dannyward630 が 5 日前に担当しました。 オープンcorrectness host - wasapi platform - windows
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
RustAudio/cpal#1402 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
good first issue help wanted r-docs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
servo/rust-smallvec#824 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
priority middle
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
KATO-Hiro/AtCoderClans#12940 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hurttlocker/o8#5112 ·