-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Milestone
Description
Summary
Hello,
I'm trying to write the audio I receive to PulseAudio Source-Output using Pulseaudio Simple API . Therefore, I need to decode my track from OPUS to PCM format.
I'm using hraban opus lib to decode the Payload of the track.
I get the decoded payload in PCM format in a int16[]. But, in order to write it to my pa source I need to write []byte.
I'm doing the conversion like that : binary.Write(stream, binary.LittleEndian, pcm)
.
However, when I play the audio I have a bit of "metalic voice" and cuts.
The problem is when writing the track using oggwriter
, It works fine.
Metadata
Metadata
Assignees
Labels
No labels