src/rfxgen.c
// Show dialog: load sound parameters file
Show dialog: load sound parameters file
Show dialog : load sound parameters file
static WaveParams DialogLoadSound(void)
{
    WaveParams params = { 0 };
    const char *filters[] = { "*.rfx", "*.sfs" };
    const char *fileName = tinyfd_openFileDialog("Load sound parameters file", "", 2, filters, "Sound Param Files (*.rfx, *.sfs)", 0);
    if (fileName != NULL)
    {
        params = LoadWaveParams(fileName);
    }
    return params;
}
static WaveParams DialogLoadSound ( void ) { WaveParams params = { 0 } ; const char * filters [ ] = { " " , " " } ; const char * fileName = tinyfd_openFileDialog ( " " , " " , 2 , filters , " " , 0 ) ; if ( fileName != NULL ) { params = LoadWaveParams ( fileName ) ; } return params ; }
Show dialog: load sound parameters file
Show dialog : load sound parameters file
// Open file dialog //SetWindowTitle(FormatText("rFXGen v%s - %s", TOOL_VERSION_TEXT, GetFileName(fileName)));