mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-30 20:03:44 +01:00
Make try_dual_file_stereo static/local
This commit is contained in:
parent
c8f82e6f06
commit
bb00cfa22c
@ -11,6 +11,12 @@
|
|||||||
#include "layout/layout.h"
|
#include "layout/layout.h"
|
||||||
#include "coding/coding.h"
|
#include "coding/coding.h"
|
||||||
|
|
||||||
|
/* See if there is a second file which may be the second channel, given
|
||||||
|
* already opened mono opened_stream which was opened from filename.
|
||||||
|
* If a suitable file is found, open it and change opened_stream to a stereo stream. */
|
||||||
|
static void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* List of functions that will recognize files. These should correspond pretty
|
* List of functions that will recognize files. These should correspond pretty
|
||||||
* directly to the metadata types
|
* directly to the metadata types
|
||||||
@ -2028,7 +2034,7 @@ const char * const dfs_pairs[][2] = {
|
|||||||
};
|
};
|
||||||
#define DFS_PAIR_COUNT (sizeof(dfs_pairs)/sizeof(dfs_pairs[0]))
|
#define DFS_PAIR_COUNT (sizeof(dfs_pairs)/sizeof(dfs_pairs[0]))
|
||||||
|
|
||||||
void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile) {
|
static void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile) {
|
||||||
char filename[PATH_LIMIT];
|
char filename[PATH_LIMIT];
|
||||||
char filename2[PATH_LIMIT];
|
char filename2[PATH_LIMIT];
|
||||||
char * ext;
|
char * ext;
|
||||||
|
@ -1064,12 +1064,6 @@ int vgmstream_samples_to_do(int samples_this_block, int samples_per_frame, VGMST
|
|||||||
* Returns 1 if loop was done. */
|
* Returns 1 if loop was done. */
|
||||||
int vgmstream_do_loop(VGMSTREAM * vgmstream);
|
int vgmstream_do_loop(VGMSTREAM * vgmstream);
|
||||||
|
|
||||||
/* See if there is a second file which may be the second channel, given
|
|
||||||
* already opened mono opened_stream which was opened from filename.
|
|
||||||
* If a suitable file is found, open it and change opened_stream to a stereo stream. */
|
|
||||||
void try_dual_file_stereo(VGMSTREAM * opened_stream, STREAMFILE *streamFile);
|
|
||||||
|
|
||||||
|
|
||||||
/* Open the stream for reading at offset (standarized taking into account layouts, channels and so on).
|
/* Open the stream for reading at offset (standarized taking into account layouts, channels and so on).
|
||||||
* returns 0 on failure */
|
* returns 0 on failure */
|
||||||
int vgmstream_open_stream(VGMSTREAM * vgmstream, STREAMFILE *streamFile, off_t start_offset);
|
int vgmstream_open_stream(VGMSTREAM * vgmstream, STREAMFILE *streamFile, off_t start_offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user