mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
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:
parent
f576d9568c
commit
b17719f69c
@ -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"},
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user