#include <iostream.h>#include <iomanip.h>#include <fstream.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "player.h"#include "myendian.h"Include dependency graph for sid2wav.cpp:

Go to the source code of this file.
Compounds | |
| struct | au_hdr |
| struct | wav_hdr |
Defines | |
| #define | EXIT_ERROR_STATUS (-1) |
Enumerations | |
| enum | { TXT_TITLE, ERR_NOT_ENOUGH_MEMORY, ERR_SYNTAX, ERR_ENGINE, ERR_ENDIANESS } |
Functions | |
| void | error (char *, char *) |
| void | printtext (int) |
| void | fadeout_buffer_8 (ubyte *, udword) |
| void | fadein_buffer_8 (ubyte *, udword) |
| void | fadeout_buffer_16 (ubyte *, udword) |
| void | fadein_buffer_16 (ubyte *, udword) |
| void | buffer2ulaw (ubyte *samplebuffer, udword samplebuffersize) |
| void | endianswitch_buffer (ubyte *samplebuffer, udword samplebuffersize) |
| int | main (int argc, char *argv[]) |
| int | search (int val, short *table, int size) |
| unsigned char | linear2ulaw (int pcm_val) |
Variables | |
| const char | s2w_version [] = "1.7.2" |
| const int | FLAG_STDIN = 0x01 |
| const int | FLAG_ULAW = 0x08 |
| int | flags |
| wav_hdr | my_wav_hdr |
| au_hdr | my_au_hdr |
| int | fadein_seconds |
| int | fadein_step |
| int | fadein_count |
| int | fadein_currentlevel |
| int | fadeout_seconds |
| int | fadeout_step |
| int | fadeout_count |
| int | fadeout_currentlevel |
| int | fadelevel |
| void(* | fadeout_buffer )(ubyte *, udword) |
| void(* | fadein_buffer )(ubyte *, udword) |
| short | seg_end [8] |
| const int | BIAS = 0x84 |
|
|
Definition at line 60 of file sid2wav.cpp. Referenced by error(), CSidPlayer::InitL(), InitMainL(), main(), and printtext(). |
|
|
Definition at line 65 of file sid2wav.cpp. |
|
||||||||||||
|
Definition at line 933 of file sid2wav.cpp. References linear2ulaw(), sword, and udword. Referenced by main(). |
|
||||||||||||
|
Definition at line 948 of file sid2wav.cpp. References convertEndianess(), udword, and uword. Referenced by main(). |
|
||||||||||||
|
Definition at line 735 of file sid2wav.cpp. References EXIT_ERROR_STATUS. |
|
||||||||||||
|
Definition at line 711 of file sid2wav.cpp. References fadein_count, fadein_currentlevel, fadein_step, fadelevel, sdword, sword, and udword. Referenced by main(). |
|
||||||||||||
|
Definition at line 689 of file sid2wav.cpp. References fadein_count, fadein_currentlevel, fadein_step, fadelevel, sbyte, sword, and udword. Referenced by main(). |
|
||||||||||||
|
Definition at line 665 of file sid2wav.cpp. References fadelevel, fadeout_count, fadeout_currentlevel, fadeout_step, sdword, sword, and udword. Referenced by main(). |
|
||||||||||||
|
Definition at line 643 of file sid2wav.cpp. References fadelevel, fadeout_count, fadeout_currentlevel, fadeout_step, sbyte, sword, and udword. Referenced by main(). |
|
|
Definition at line 878 of file sid2wav.cpp. References BIAS, search(), and seg_end. Referenced by buffer2ulaw(). |
|
||||||||||||
|
|
|
|
||||||||||||||||
|
Definition at line 834 of file sid2wav.cpp. Referenced by linear2ulaw(). |
|
|
Definition at line 848 of file sid2wav.cpp. Referenced by linear2ulaw(). |
|
|
Definition at line 165 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadein_buffer_16(), fadein_buffer_8(), and main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadein_buffer_16(), fadein_buffer_8(), and main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadein_buffer_16(), fadein_buffer_8(), and main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadein_buffer_16(), fadein_buffer_8(), fadeout_buffer_16(), fadeout_buffer_8(), and main(). |
|
|
Definition at line 164 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadeout_buffer_16(), fadeout_buffer_8(), and main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadeout_buffer_16(), fadeout_buffer_8(), and main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 150 of file sid2wav.cpp. Referenced by fadeout_buffer_16(), fadeout_buffer_8(), and main(). |
|
|
Definition at line 73 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 74 of file sid2wav.cpp. Referenced by main(). |
|
|
Definition at line 76 of file sid2wav.cpp. Referenced by main(). |
|
|
Initial value:
{
{'.','s','n','d'}, 0x18, 0, 1, 8000, 1
}
Definition at line 144 of file sid2wav.cpp. Referenced by main(). |
|
|
Initial value:
{
{'R','I','F','F'}, 0, {'W','A','V','E'},
{'f','m','t', },
convertEndianess ((udword)16),
convertEndianess ((uword)1),
convertEndianess ((uword)1),
convertEndianess ((udword)22050),
convertEndianess ((udword)22050),
convertEndianess ((uword)1),
convertEndianess ((uword)8),
{'d','a','t','a'}, 0
}
Definition at line 118 of file sid2wav.cpp. |
|
|
Definition at line 63 of file sid2wav.cpp. |
|
|
Initial value:
{
0xFF, 0x1FF, 0x3FF, 0x7FF,
0xFFF, 0x1FFF, 0x3FFF, 0x7FFF
}
Definition at line 828 of file sid2wav.cpp. Referenced by linear2ulaw(). |
1.3.3