Merge branch 'pcm-files' of https://github.com/catseye/linapple into 2.1.1-catseye
Chris Pressey
6 years ago
11 | 11 |
#define LINAPPLE_VERSION 2
|
12 | 12 |
|
13 | 13 |
#include <curl/curl.h>
|
14 | |
|
15 | |
extern FILE * spMono,*spStereo;
|
16 | 14 |
|
17 | 15 |
extern char VERSIONSTRING[]; // Contructed in WinMain()
|
18 | 16 |
|
782 | 782 |
}
|
783 | 783 |
|
784 | 784 |
|
785 | |
FILE *spMono, *spStereo;
|
786 | |
|
787 | 785 |
//---------------------------------------------------------------------------
|
788 | 786 |
|
789 | 787 |
int main(int argc, char * lpCmdLine[])
|
|
801 | 799 |
bool bBoot = false;
|
802 | 800 |
|
803 | 801 |
registry = fopen(config.GetRegistryPath().c_str(), "rt"); // open conf file (linapple.conf by default)
|
804 | |
spMono = fopen("speakersmono.pcm","wb");
|
805 | |
spStereo = fopen("speakersstereo.pcm","wb");
|
806 | 802 |
|
807 | 803 |
LPSTR szImageName_drive1 = NULL; // file names for images of drive1 and drive2
|
808 | 804 |
LPSTR szImageName_drive2 = NULL;
|
|
1095 | 1091 |
{
|
1096 | 1092 |
fclose(registry); //close conf file (linapple.conf by default)
|
1097 | 1093 |
}
|
1098 | |
fclose(spMono);
|
1099 | |
fclose(spStereo);
|
1100 | 1094 |
|
1101 | 1095 |
SDL_Quit();
|
1102 | 1096 |
// CURL routines
|