static void vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,

    uint8_t *buf, int silence)

{

    if (s->channels == 2) {

        if ((s->block_align & 0x01) == 0) {

            if (silence)

                memset(data, 0, s->block_align * 2);

            else

                vmdaudio_decode_audio(s, data, buf, 1);

        } else {

            if (silence)

                memset(data, 0, s->block_align * 2);

//            else

//                vmdaudio_decode_audio(s, data, buf, 1);

        }

    } else {

    }

}

static void vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,

    uint8_t *buf, int silence)

{

    if (s->channels == 2) {

        if ((s->block_align & 0x01) == 0) {

            if (silence)

                memset(data, 0, s->block_align * 2);

            else

                vmdaudio_decode_audio(s, data, buf, 1);

        } else {

            if (silence)

                memset(data, 0, s->block_align * 2);





        }

    } else {

    }

}

static void vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
static void FUNC_0(VmdAudioContext *VAR_0, unsigned char *VAR_1,

    uint8_t *VAR_2, int VAR_3)

{

    if (VAR_0->channels == 2) {

        if ((VAR_0->block_align & 0x01) == 0) {

            if (VAR_3)

                memset(VAR_1, 0, VAR_0->block_align * 2);

            else

                vmdaudio_decode_audio(VAR_0, VAR_1, VAR_2, 1);

        } else {

            if (VAR_3)

                memset(VAR_1, 0, VAR_0->block_align * 2);





        }

    } else {

    }

}

static void FUNC_0(VmdAudioContext *VAR_0, unsigned char *VAR_1,
uint8_t *VAR_2, int VAR_3)
{ if (VAR_0->channels == 2) { if ((VAR_0->block_align & 0x01) == 0) { if (VAR_3)
memset(VAR_1, 0, VAR_0->block_align * 2); else
vmdaudio_decode_audio(VAR_0, VAR_1, VAR_2, 1); } else { if (VAR_3)
memset(VAR_1, 0, VAR_0->block_align * 2); } } else { } }