Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

OSX "Error getting supported output configs"

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

Start by reading the CoreAudio output configuration code and its tests; the issue does not name specific files or test entry points. Reproduce device enumeration on macOS with a two-channel output set to 16-bit Integer, then compare it with 24-bit Integer. Done means enumeration handles the 16-bit case and reports the device’s sample format as expected.

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

説明

host - coreaudio platform - macos

I'm getting the following errors when enumerating devices on OSX. Both failure cases are 2 ch outputs set for 16-bit Integer, as viewed via the Mac Audio MIDI Setup app. If I set one of the erring output devices to 24-bit Integer, the error is no longer reported for that output.

The USB audio CODEC device is a MXL ProCon Series 1 AC-404USB PZM mic.

Also I would expect the sample format to be preserved, instead of being promoted to a F32.

Supported hosts:
  [CoreAudio]
Available hosts:
  [CoreAudio]
CoreAudio
2021-01-04 10:29:18.149907-0800 assistant[55109:6076096] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x7fe25e707590> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2021-01-04 10:29:18.195276-0800 assistant[55109:6076096]  HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
2021-01-04 10:29:18.200471-0800 assistant[55109:6076096]  HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
  Default Input Device:
    Some("USB audio CODEC")
  Default Output Device:
    Some("MacBook Pro Speakers")
  Devices: 
  1. "LG HDR DQHD"
    Error getting supported output configs: BackendSpecific { err: BackendSpecificError { description: "AudioUnit(InvalidPropertyValue)" } }
  2. "USB audio CODEC"
    Error getting supported output configs: BackendSpecific { err: BackendSpecificError { description: "AudioUnit(InvalidPropertyValue)" } }
  3. "USB audio CODEC"
    Default input stream config:
      SupportedStreamConfig { channels: 1, sample_rate: SampleRate(16000), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
    All supported input stream configs:
      3.1. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(8000), max_sample_rate: SampleRate(8000), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.2. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(11025), max_sample_rate: SampleRate(11025), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.3. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(16000), max_sample_rate: SampleRate(16000), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.4. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(22050), max_sample_rate: SampleRate(22050), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.5. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(32000), max_sample_rate: SampleRate(32000), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.6. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(44100), max_sample_rate: SampleRate(44100), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
      3.7. SupportedStreamConfigRange { channels: 1, min_sample_rate: SampleRate(48000), max_sample_rate: SampleRate(48000), buffer_size: Range { min: 5, max: 3072 }, sample_format: F32 }
2021-01-04 10:29:18.260273-0800 assistant[55109:6076096]  HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
2021-01-04 10:29:18.275941-0800 assistant[55109:6076096]  HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
2021-01-04 10:29:18.283476-0800 assistant[55109:6076096]  HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
2021-01-04 10:29:18.283695-0800 assistant[55109:6076096]  HALC_ShellObject::HasProperty: initial inner method call failed, Error: 560947818 (!obj)
主要言語
Rust
スター
4k
フォーク
554
平均マージ
3日 3時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

RustAudio/cpal のほかの issue

RustAudio/cpal の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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