mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
The alaw tables should be const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25891 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e41ecd1a7e
commit
7a1f275849
@ -15,7 +15,7 @@ system("sox -t raw -A -r 8000 -b alaw.dat -t sw alaw.out");
|
||||
|
||||
printf("// Generated by TOOLS/alaw-gen.c\n");
|
||||
|
||||
printf("\nshort alaw2short[]={\n");
|
||||
printf("\nconst short alaw2short[]={\n");
|
||||
|
||||
f=fopen("alaw.out","rb");
|
||||
for(i=0;i<256;i++){
|
||||
@ -30,7 +30,7 @@ printf("};\n");
|
||||
|
||||
system("sox -t raw -U -r 8000 -b alaw.dat -t sw alaw.out");
|
||||
|
||||
printf("\nshort ulaw2short[]={\n");
|
||||
printf("\nconst short ulaw2short[]={\n");
|
||||
|
||||
f=fopen("alaw.out","rb");
|
||||
for(i=0;i<256;i++){
|
||||
|
Loading…
Reference in New Issue
Block a user