Home
last modified time | relevance | path

Searched refs:wav_fmt (Results 1 – 11 of 11) sorted by relevance

/third_party/libsnd/src/
Dwavlike.c126 WAV_FMT *wav_fmt ; in wavlike_read_fmt_chunk() local
131 wav_fmt = &wpriv->wav_fmt ; in wavlike_read_fmt_chunk()
133 memset (wav_fmt, 0, sizeof (WAV_FMT)) ; in wavlike_read_fmt_chunk()
142 &(wav_fmt->format), &(wav_fmt->min.channels), in wavlike_read_fmt_chunk()
143 &(wav_fmt->min.samplerate), &(wav_fmt->min.bytespersec), in wavlike_read_fmt_chunk()
144 &(wav_fmt->min.blockalign), &(wav_fmt->min.bitwidth)) ; in wavlike_read_fmt_chunk()
146 …sf_log_printf (psf, " Format : 0x%X => %s\n", wav_fmt->format, wavlike_format_str (wav_fmt in wavlike_read_fmt_chunk()
147 psf_log_printf (psf, " Channels : %d\n", wav_fmt->min.channels) ; in wavlike_read_fmt_chunk()
148 psf_log_printf (psf, " Sample Rate : %d\n", wav_fmt->min.samplerate) ; in wavlike_read_fmt_chunk()
150 if (wav_fmt->format == WAVE_FORMAT_PCM && wav_fmt->min.blockalign == 0 in wavlike_read_fmt_chunk()
[all …]
Dw64.c226 WAV_FMT *wav_fmt ; in w64_read_header() local
233 wav_fmt = &wpriv->wav_fmt ; in w64_read_header()
289 format = wav_fmt->format ; in w64_read_header()
411 *blockalign = wav_fmt->msadpcm.blockalign ; in w64_read_header()
412 *framesperblock = wav_fmt->msadpcm.samplesperblock ; in w64_read_header()
417 *blockalign = wav_fmt->ima.blockalign ; in w64_read_header()
418 *framesperblock = wav_fmt->ima.samplesperblock ; in w64_read_header()
Drf64.c181 WAV_FMT *wav_fmt ; in rf64_read_header() local
188 wav_fmt = &wpriv->wav_fmt ; in rf64_read_header()
263 format = wav_fmt->format ; in rf64_read_header()
430 { *blockalign = wav_fmt->msadpcm.blockalign ; in rf64_read_header()
431 *framesperblock = wav_fmt->msadpcm.samplesperblock ; in rf64_read_header()
451 *blockalign = wav_fmt->msadpcm.blockalign ; in rf64_read_header()
452 *framesperblock = wav_fmt->msadpcm.samplesperblock ; in rf64_read_header()
457 *blockalign = wav_fmt->ima.blockalign ; in rf64_read_header()
458 *framesperblock = wav_fmt->ima.samplesperblock ; in rf64_read_header()
Dwav.c293 WAV_FMT *wav_fmt ; in wav_read_header() local
303 wav_fmt = &wpriv->wav_fmt ; in wav_read_header()
384 format = wav_fmt->format ; in wav_read_header()
680 { *blockalign = wav_fmt->msadpcm.blockalign ; in wav_read_header()
681 *framesperblock = wav_fmt->msadpcm.samplesperblock ; in wav_read_header()
686 *blockalign = wav_fmt->min.blockalign ; in wav_read_header()
688 switch (wav_fmt->min.bitwidth) in wav_read_header()
720 *blockalign = wav_fmt->msadpcm.blockalign ; in wav_read_header()
721 *framesperblock = wav_fmt->msadpcm.samplesperblock ; in wav_read_header()
726 *blockalign = wav_fmt->ima.blockalign ; in wav_read_header()
[all …]
Dwavlike.h309 WAV_FMT wav_fmt ; member
/third_party/libsnd/src/GSM610/
Dgsm_option.c57 result = r->wav_fmt ; in gsm_option()
58 if (val) r->wav_fmt = !!*val ; in gsm_option()
Dgsm610_priv.h41 char wav_fmt ; /* only used if WAV49 defined */ member
Dgsm_encode.c105 if (s->wav_fmt) in gsm_encode()
Dgsm_decode.c16 if (s->wav_fmt) in gsm_decode()
/third_party/alsa-utils/bat/
Dcommon.h113 struct wav_fmt { struct
135 struct wav_fmt format; argument
/third_party/alsa-lib/src/pcm/
Dpcm_file.c58 struct wav_fmt { struct
90 struct wav_fmt wav_header;
325 static void setup_wav_header(snd_pcm_t *pcm, struct wav_fmt *fmt) in setup_wav_header()
383 memset(&file->wav_header, 0, sizeof(struct wav_fmt)); in write_wav_header()