Bug 452394 - Audio broken on big endian archs
Audio broken on big endian archs
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: crack-attack (Show other bugs)
9
powerpc Linux
medium Severity medium
: ---
: ---
Assigned To: Hans de Goede
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-21 22:00 EDT by Ian Chapman
Modified: 2008-06-26 04:33 EDT (History)
0 users

See Also:
Fixed In Version: 1.1.14-14.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-26 04:30:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ian Chapman 2008-06-21 22:00:07 EDT
Description of problem:

Audio is broken on big endian archs, eg ppc and ppc32. The music sounds like
static noise with a rough beat.


Version-Release number of selected component (if applicable):
crack-attack-1.1.14-13.fc9.ppc

How reproducible:

Run crack-attack

Steps to Reproduce:
1. Run crack-attack
2.
3.
  
Actual results:

Sound is awful.

Expected results:

Sound should be nice! :-)


Additional info:

The culprit appears to be the single use of 'AUDIO_S16' in
'crack-attack-1.1.14/src/Sound.cxx' which is LSB. Replacing it with
'AUDIO_S16SYS' uses the systems native byte order and fixes it on my ppc systems
without breaking i386.
Comment 1 Fedora Update System 2008-06-24 10:08:50 EDT
crack-attack-1.1.14-14.fc8 has been submitted as an update for Fedora 8
Comment 2 Fedora Update System 2008-06-24 10:09:56 EDT
crack-attack-1.1.14-14.fc9 has been submitted as an update for Fedora 9
Comment 3 Hans de Goede 2008-06-24 10:13:34 EDT
Thanks for reporting2 this and thanks for the fix.

An update with this fixed is on its way to updates for F-8 and F-9, rawhide
currently can't be build due to broken deps, I will build it as soon as rawhide
is sane again.
Comment 4 Fedora Update System 2008-06-26 04:30:14 EDT
crack-attack-1.1.14-14.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2008-06-26 04:33:34 EDT
crack-attack-1.1.14-14.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.