Bug 454198
Summary: | Audio broken on big endian archs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Chapman <packages> | ||||
Component: | wildmidi | Assignee: | Hans de Goede <hdegoede> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.2.2-5.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-07-09 02:48:31 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ian Chapman
2008-07-06 13:38:34 UTC
Created attachment 311100 [details]
Fix audio on big endian archs
If you look at the patch it seems counter intuitive at first, because it sets
SND_PCM_FORMAT_S16_LE and this fixes the audio on big endian archs but I think
it's related to the byte order of how the sample data is represented internally
by wildmidi vs the byteorder the sound device is expecting when opened. When
SND_PCM_FORMAT_S16 is used (on BE archs) it either causes the sample data to be
byteswapped when it shouldn't be, or not byteswapped when it should be. Sorry
if the explanation is as clear as mud! :( Anyway, this patch may not be the
best solution but wildmidi works correctly on this ppc machine with it applied
and it should still work for LE archs.
wildmidi-0.2.2-5.fc9 has been submitted as an update for Fedora 9 wildmidi-0.2.2-5.fc8 has been submitted as an update for Fedora 8 wildmidi-0.2.2-5.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. wildmidi-0.2.2-5.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. wildmidi-0.2.2-5.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |