stream: move VCD specific stuff to stream_vcd

I don't even know what VCDs are. A prehistoric version of the DVD or so.
This commit is contained in:
wm4 2013-06-05 02:05:52 +02:00
parent 7b16d4b3b2
commit f7c912dff2
3 changed files with 4 additions and 5 deletions

View File

@ -55,7 +55,6 @@
#include "cache2.h"
/// We keep these 2 for the gui atm, but they will be removed.
int vcd_track = 0;
char *cdrom_device = NULL;
char *dvd_device = NULL;
int dvd_title = 0;

View File

@ -57,10 +57,6 @@
#define STREAM_BUFFER_SIZE 2048
#define STREAM_MAX_SECTOR_SIZE (8 * 1024)
#define VCD_SECTOR_SIZE 2352
#define VCD_SECTOR_OFFS 24
#define VCD_SECTOR_DATA 2324
/// atm it will always use mode == STREAM_READ
/// streams that use the new api should check the mode at open
#define STREAM_READ 0

View File

@ -37,6 +37,10 @@
#include "talloc.h"
#define VCD_SECTOR_SIZE 2352
#define VCD_SECTOR_OFFS 24
#define VCD_SECTOR_DATA 2324
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include "vcd_read_fbsd.h"
#elif defined(__APPLE__)