diff options
author | Jack Bruienne <jackbruienne@gmail.com> | 2022-03-07 22:30:24 -0500 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-03-10 14:11:12 +0100 |
commit | e6e3aae294951738a760d2b6907e6e54286d30dd (patch) | |
tree | aeed9717aa227c41d34d4308037b111c972423ca /libavformat/voc_packet.c | |
parent | 70fef2371c0bde5dea22889e8eeda03d3cddc5aa (diff) | |
download | ffmpeg-e6e3aae294951738a760d2b6907e6e54286d30dd.tar.gz |
avformat: add DFPWM WAV container support
This commit adds support for storing DFPWM audio in a WAV container.
It uses the WAVEFORMATEXTENSIBLE structure, following these conventions:
https://gist.github.com/MCJack123/90c24b64c8e626c7f130b57e9800962c
The implementation is very simple: it just adds the GUID to the list of
WAV GUIDs, and modifies the WAV muxer to always use WAVEFORMATEXTENSIBLE
format with that GUID.
This creates a standard container format for DFPWM besides raw data.
It will allow users to transfer DFPWM audio in a standard container
format, with the sample rate and channel count contained in the file
as opposed to being an external parameter as in the raw format.
This format is already supported in my AUKit library, which is the CC
analog to libav (albeit much smaller). Support in other applications is TBD.
Signed-off-by: Jack Bruienne <jackbruienne@gmail.com>
Diffstat (limited to 'libavformat/voc_packet.c')
0 files changed, 0 insertions, 0 deletions