[PR #327] [MERGED] Fixes panic when using with Cubeb on Windows #481

Closed
opened 2026-02-28 14:33:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/327
Author: @SuisChan
Created: 8/15/2022
Status: Merged
Merged: 8/16/2022
Merged by: @jpochyla

Base: masterHead: cubeb_wasapi_fix


📝 Commits (1)

  • 84e6246 Fix error (windows): hr != CO_E_NOTINITIALIZED

📊 Changes

3 files changed (+55 additions, -1 deletions)

View changed files

📝 Cargo.lock (+45 -1)
📝 psst-core/Cargo.toml (+3 -0)
📝 psst-core/src/audio/output/cubeb.rs (+7 -0)

📄 Description

When running with Cubeb on Windows I get an error fatal error: hr != CO_E_NOTINITIALIZED

This fixes the problem by initializing COM manually.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/327 **Author:** [@SuisChan](https://github.com/SuisChan) **Created:** 8/15/2022 **Status:** ✅ Merged **Merged:** 8/16/2022 **Merged by:** [@jpochyla](https://github.com/jpochyla) **Base:** `master` ← **Head:** `cubeb_wasapi_fix` --- ### 📝 Commits (1) - [`84e6246`](https://github.com/jpochyla/psst/commit/84e62469efb0691ead5f4ee4c4c8ffcfdbb44805) Fix error (windows): hr != CO_E_NOTINITIALIZED ### 📊 Changes **3 files changed** (+55 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+45 -1) 📝 `psst-core/Cargo.toml` (+3 -0) 📝 `psst-core/src/audio/output/cubeb.rs` (+7 -0) </details> ### 📄 Description When running with Cubeb on Windows I get an error `fatal error: hr != CO_E_NOTINITIALIZED` This fixes the problem by initializing COM manually. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#481
No description provided.