Projects
Multimedia
shorten
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
shorten.patch
Changed
@@ -1,6 +1,7 @@ --- - src/fixio.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) + src/fixio.c | 9 +++++---- + utils/mkbshift.c | 4 ++-- + 2 files changed, 7 insertions(+), 6 deletions(-) --- a/src/fixio.c +++ b/src/fixio.c @@ -26,3 +27,23 @@ extern int WriteWaveFile; #define CAPMAXSCHAR(x) ((x > 127) ? 127 : x) +--- a/utils/mkbshift.c ++++ b/utils/mkbshift.c +@@ -46,7 +46,7 @@ + tabSlinear2ulaw(sample) = shift; + + /* print this out as a lookup table */ +- fprintf(fout, "char ulaw_maxshift%d = {", USIZE); ++ fprintf(fout, "signed int ulaw_maxshift%d = {", USIZE); + for(i = 0; i < USIZE - 1; i++) + fprintf(fout, "%d,", tabi); + fprintf(fout, "%d};\n\n", tabUSIZE - 1); +@@ -79,7 +79,7 @@ + error_exit("identity maping failed for shift: %d\tindex: %d\n",shift,i); + + /* print out the ulaw_inward lookup table */ +- fprintf(fout, "schar ulaw_inward%d%d = {\n", SHIFTSIZE, USIZE); ++ fprintf(fout, "signed int ulaw_inward%d%d = {\n", SHIFTSIZE, USIZE); + for(shift = 0; shift < SHIFTSIZE; shift++) { + fprintf(fout, "{"); + for(i = 0; i < USIZE - 1; i++)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.