Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

OSX "Error getting supported output configs"

Đang mở
#528 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
audio-video-rtc

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
Rust
Star
4k
Fork
554
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RustAudio/cpal

Tất cả issue của RustAudio/cpal

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.