Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61023 Details for
Bug 95727
media-sound/gramofile-1.6 needs amd64-specific fixes (with patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix the WAV header structure to use 32-bit fields
fmtheaders_amd64.patch (text/plain), 1.34 KB, created by
Uri Sivan
on 2005-06-10 15:49:08 UTC
(
hide
)
Description:
Fix the WAV header structure to use 32-bit fields
Filename:
MIME Type:
Creator:
Uri Sivan
Created:
2005-06-10 15:49:08 UTC
Size:
1.34 KB
patch
obsolete
>--- fmtheaders.h.old 2005-06-11 01:22:20.000000000 +0300 >+++ fmtheaders.h 2005-06-11 01:16:59.000000000 +0300 >@@ -60,23 +60,25 @@ > are in only in this combination, so I combined them in one header; > it works on all WAVE-file I have > */ >+typedef unsigned int u_long32; >+ > typedef struct wavhead > { >- u_long main_chunk; /* 'RIFF' */ >- u_long length; /* Length of rest of file */ >- u_long chunk_type; /* 'WAVE' */ >+ u_long32 main_chunk; /* 'RIFF' */ >+ u_long32 length; /* Length of rest of file */ >+ u_long32 chunk_type; /* 'WAVE' */ > >- u_long sub_chunk; /* 'fmt ' */ >- u_long sc_len; /* length of sub_chunk, =16 (rest of chunk) */ >+ u_long32 sub_chunk; /* 'fmt ' */ >+ u_long32 sc_len; /* length of sub_chunk, =16 (rest of chunk) */ > u_short format; /* should be 1 for PCM-code */ > u_short modus; /* 1 Mono, 2 Stereo */ >- u_long sample_fq; /* frequence of sample */ >- u_long byte_p_sec; >+ u_long32 sample_fq; /* frequence of sample */ >+ u_long32 byte_p_sec; > u_short byte_p_spl; /* samplesize; 1 or 2 bytes */ > u_short bit_p_spl; /* 8, 12 or 16 bit */ > >- u_long data_chunk; /* 'data' */ >- u_long data_length; /* samplecount (lenth of rest of block?) */ >+ u_long32 data_chunk; /* 'data' */ >+ u_long32 data_length; /* samplecount (lenth of rest of block?) */ > } > wavhead; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 95727
: 61023