Rename render_vgmstream_nolayout to _flat for clarity/consistency

But not layout_none to layout_flat, since it's used everywhere
This commit is contained in:
bnnm 2018-08-24 19:37:02 +02:00
parent f576d9568c
commit b17719f69c
4 changed files with 4 additions and 4 deletions

View File

@ -614,7 +614,7 @@ static const coding_info coding_info_list[] = {
};
static const layout_info layout_info_list[] = {
{layout_none, "flat (no layout)"},
{layout_none, "flat"},
{layout_interleave, "interleave"},
{layout_segmented, "segmented"},

View File

@ -1,7 +1,7 @@
#include "layout.h"
#include "../vgmstream.h"
void render_vgmstream_nolayout(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream) {
void render_vgmstream_flat(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream) {
int samples_written=0;
const int samples_this_block = vgmstream->num_samples;

View File

@ -49,7 +49,7 @@ void block_update_xa_aiff(off_t block_offset, VGMSTREAM * vgmstream);
/* other layouts */
void render_vgmstream_interleave(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
void render_vgmstream_nolayout(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
void render_vgmstream_flat(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
void render_vgmstream_aix(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);

View File

@ -940,7 +940,7 @@ void render_vgmstream(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstre
render_vgmstream_interleave(buffer,sample_count,vgmstream);
break;
case layout_none:
render_vgmstream_nolayout(buffer,sample_count,vgmstream);
render_vgmstream_flat(buffer,sample_count,vgmstream);
break;
case layout_blocked_mxch:
case layout_blocked_ast: