Home
last modified time | relevance | path

Searched refs:blkalign (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Driffenc.c57 int bps, blkalign, bytespersec, frame_size; in ff_put_wav_header() local
115 blkalign = (144 * par->bit_rate - 1)/par->sample_rate + 1; in ff_put_wav_header()
117 blkalign = 576 * (par->sample_rate <= (24000 + 32000)/2 ? 1 : 2); in ff_put_wav_header()
119 blkalign = 3840; /* maximum bytes per frame */ in ff_put_wav_header()
121 blkalign = 768 * par->channels; /* maximum bytes per frame */ in ff_put_wav_header()
123 blkalign = 24; in ff_put_wav_header()
125 blkalign = par->block_align; in ff_put_wav_header()
127 blkalign = bps * par->channels / av_gcd(8, bps); in ff_put_wav_header()
134 bytespersec = par->sample_rate * blkalign; in ff_put_wav_header()
141 avio_wl16(pb, blkalign); /* block align */ in ff_put_wav_header()
/third_party/ffmpeg/tools/
Dsofa2wavs.c59 int blkalign = 8; in main() local
60 int bytespersec = blkalign * sample_rate; in main()
79 fwrite(&blkalign, 2, 1, file); in main()