Searched refs:dspadpcmheader (Results 1 – 1 of 1) sorted by relevance
569 DSPADPCMHEADER dspadpcmheader; in encode_soundfile() local587 memset(&dspadpcmheader, 0, sizeof(DSPADPCMHEADER)); in encode_soundfile()589 dspadpcmheader.num_samples = reverse_endian_32(soundinfo->samples); in encode_soundfile()590 …dspadpcmheader.num_adpcm_nibbles = reverse_endian_32(getNibblesForNSamples(soundinfo->samples)); in encode_soundfile()591 dspadpcmheader.sample_rate = reverse_endian_32(soundinfo->sampleRate); in encode_soundfile()603 dspadpcmheader.loop_flag = reverse_endian_16(VOICE_TYPE_LOOPED); in encode_soundfile()604 dspadpcmheader.format = reverse_endian_16(DEC_MODE_ADPCM); in encode_soundfile()605 dspadpcmheader.sa = reverse_endian_32(nibbleLoopStart); in encode_soundfile()606 dspadpcmheader.ea = reverse_endian_32(nibbleLoopEnd); in encode_soundfile()607 dspadpcmheader.ca = reverse_endian_32(nibbleCurrent); in encode_soundfile()[all …]