mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-30 03:47:30 +01:00
prevent implicit declarations, fix a missing argument to init_xa_channel
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@100 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
4a00c844b8
commit
dea508c17f
@ -24,4 +24,6 @@ void decode_pcm8(VGMSTREAMCHANNEL * stream, sample * outbuf, int channelspacing,
|
||||
|
||||
void decode_psx(VGMSTREAMCHANNEL * stream, sample * outbuf, int channelspacing, int32_t first_sample, int32_t samples_to_do);
|
||||
|
||||
void decode_xa(VGMSTREAMCHANNEL * stream, sample * outbuf, int channelspacing, int32_t first_sample, int32_t samples_to_do);
|
||||
|
||||
#endif
|
||||
|
@ -10,6 +10,8 @@ void render_vgmstream_blocked(sample * buffer, int32_t sample_count, VGMSTREAM *
|
||||
|
||||
void halpst_block_update(off_t block_ofset, VGMSTREAM * vgmstream);
|
||||
|
||||
void xa_block_update(off_t block_offset, VGMSTREAM * vgmstream);
|
||||
|
||||
void render_vgmstream_interleave(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
|
||||
|
||||
void render_vgmstream_nolayout(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
|
||||
|
@ -1,9 +1,12 @@
|
||||
#include "meta.h"
|
||||
#include "../layout/layout.h"
|
||||
#include "../util.h"
|
||||
|
||||
/* Sony PSX CD-XA */
|
||||
/* No looped file ! */
|
||||
|
||||
off_t init_xa_channel(int channel,VGMSTREAM* vgmstream);
|
||||
|
||||
uint8_t AUDIO_CODING_GET_STEREO(uint8_t value) {
|
||||
return (uint8_t)(value & 3);
|
||||
}
|
||||
@ -73,7 +76,7 @@ VGMSTREAM * init_vgmstream_cdxa(const char * const filename) {
|
||||
}
|
||||
}
|
||||
|
||||
xa_block_update(init_xa_channel(0),vgmstream);
|
||||
xa_block_update(init_xa_channel(0,vgmstream),vgmstream);
|
||||
|
||||
return vgmstream;
|
||||
|
||||
@ -103,4 +106,4 @@ begin:
|
||||
goto begin;
|
||||
}
|
||||
return block_offset;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user