[PR #577] [MERGED] Fix playback in pulseaudio backend #976

Closed
opened 2026-02-27 20:00:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/577
Author: @Johannesd3
Created: 1/23/2021
Status: Merged
Merged: 1/29/2021
Merged by: @plietar

Base: devHead: issue-576-fix


📝 Commits (2)

  • aa8587e Fix playback in pulseaudio backend
  • 83d7887 Add comment regarding safety

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 playback/src/audio_backend/pulseaudio.rs (+5 -1)

📄 Description

Fixes #576.

It was the wrong use of mem::transmute. Unsafe is dangerous.


🔄 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/librespot-org/librespot/pull/577 **Author:** [@Johannesd3](https://github.com/Johannesd3) **Created:** 1/23/2021 **Status:** ✅ Merged **Merged:** 1/29/2021 **Merged by:** [@plietar](https://github.com/plietar) **Base:** `dev` ← **Head:** `issue-576-fix` --- ### 📝 Commits (2) - [`aa8587e`](https://github.com/librespot-org/librespot/commit/aa8587eabe11f968d9c84b46342cb45adba8d58b) Fix playback in pulseaudio backend - [`83d7887`](https://github.com/librespot-org/librespot/commit/83d7887aeeabb68834eb30d34425e95b96de5c70) Add comment regarding safety ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `playback/src/audio_backend/pulseaudio.rs` (+5 -1) </details> ### 📄 Description Fixes #576. It was the wrong use of `mem::transmute`. Unsafe is dangerous. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:00:41 +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/librespot#976
No description provided.