Searched refs:dspadpcmheader (Results 1 – 1 of 1) sorted by relevance
579 DSPADPCMHEADER dspadpcmheader; in encode_soundfile() local597 memset(&dspadpcmheader, 0, sizeof(DSPADPCMHEADER)); in encode_soundfile()599 dspadpcmheader.num_samples = reverse_endian_32(soundinfo->samples); in encode_soundfile()600 dspadpcmheader.num_adpcm_nibbles = reverse_endian_32(getNibblesForNSamples(soundinfo->samples)); in encode_soundfile()601 dspadpcmheader.sample_rate = reverse_endian_32(soundinfo->sampleRate); in encode_soundfile()613 dspadpcmheader.loop_flag = reverse_endian_16(VOICE_TYPE_LOOPED); in encode_soundfile()614 dspadpcmheader.format = reverse_endian_16(DEC_MODE_ADPCM); in encode_soundfile()615 dspadpcmheader.sa = reverse_endian_32(nibbleLoopStart); in encode_soundfile()616 dspadpcmheader.ea = reverse_endian_32(nibbleLoopEnd); in encode_soundfile()617 dspadpcmheader.ca = reverse_endian_32(nibbleCurrent); in encode_soundfile()[all …]