1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse-utils synced 2025-04-19 08:42:15 +03:00
fuse-utils/fmfconv_types.h
2021-03-16 19:23:00 +11:00

69 lines
1.8 KiB
C

/* fmfconv_types.h: .fmf movie file types
Copyright (c) 2017 Fredrick Meunier
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Author contact information:
E-mail: fredm@spamcop.net
*/
#ifndef FMFCONV_TYPES_H
#define FMFCONV_TYPES_H
#include <stdio.h>
#include "libspectrum.h"
typedef enum {
STANDARD, /* screen type $ -> normal Spectrum */
HIRES, /* R -> Timex HighRes */
HICOLOR, /* C -> Timex HiColor */
STANDARD_TIMEX /* X -> Timex normal */
} fmf_screen_type;
fmf_screen_type get_screen_type( libspectrum_byte screen_type );
typedef enum {
PCM,
ALW,
ULW
} fmf_sound_type;
fmf_sound_type get_sound_type( int sound_type );
const char* get_sound_type_string( fmf_sound_type sound_type );
typedef enum {
STEREO,
MONO
} fmf_sound_channels_type;
fmf_sound_channels_type get_sound_channels_type( int sound_channels_type );
int get_sound_channels_count( int sound_channels_type );
typedef enum {
SPECTRUM_48K_LIKE,
SPECTRUM_128K_LIKE,
TS2068_LIKE,
PENTAGON_LIKE,
SPECTRUM_NTSC_LIKE
} fmf_machine_type;
fmf_machine_type get_machine_type( char machine_type );
const char* get_machine_type_string(fmf_machine_type type);
#endif /* FMFCONV_TYPES_H */