Skip to content

Commit

Permalink
Fix ualw to alaw transcoding
Browse files Browse the repository at this point in the history
  • Loading branch information
zaf committed Jan 9, 2024
1 parent eda5276 commit 2725f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulaw.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func Ulaw2Alaw(ulaw []byte) []byte {
for i := 0; i < len(alaw); i++ {
alaw[i] = ulaw2alaw[ulaw[i]]
}
return ulaw
return alaw
}

// Ulaw2AlawFrame directly converts a u-law frame to A-law
Expand Down

0 comments on commit 2725f9b

Please sign in to comment.