summaryrefslogtreecommitdiffstats
path: root/audio/fmt-conversion.c
Commit message (Collapse)AuthorAgeFilesLines
* audio/fmt-conversion: change license to LGPLwm42017-05-051-7/+7
| | | | | | | Although pretty similar to the probably unrelicensable video/fmt-conversion.c/h (basically using the same idea, but for audio), it was written by someone else. The format mapping was first added in commit ad95e046c2451.
* Update license headersMarcin Kurczewski2015-04-131-6/+5
| | | | Signed-off-by: wm4 <wm4@nowhere>
* audio: fix format ID conversionwm42013-12-231-1/+1
| | | | | AV_SAMPLE_FMT_NONE != 0, could apparently cause crashes in certain situations.
* audio/fmt-conversion.c: remove unknown audio format messageswm42013-12-211-14/+7
| | | | Same deal as with video/fmt-conversion.c.
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-171-1/+1
|
* audio: drop "_NE"/"ne" suffix from audio formatswm42013-11-151-4/+4
| | | | | | You get the native format by not appending any suffix to the format. This change includes user-facing names, e.g. for the --format option.
* audio/format: add non-interleaved audio formatswm42013-11-121-0/+6
|
* audio: stop "unsupported sample format" spamwm42013-11-071-6/+1
| | | | | | | It spams these in verbose mode. It's caused by format negotiation code in af.c. It's for the mpv format to ffmpeg-format case, and that one is very uninteresting. (The ffmpeg supported audio formats are practically never extended.)
* audio: fix bogus audio format comparisonwm42013-11-071-1/+1
|
* audio: replace af_fmt2str_short -> af_fmt_to_strwm42013-11-071-1/+1
| | | | Also, remove all af_fmt2str usages.
* core: move contents to mpvcore (2/2)Stefano Pigozzi2013-08-061-1/+1
| | | | Followup commit. Fixes all the files references.
* audio: add double sample formatwm42013-05-121-0/+1
| | | | | | To make this easier, get rid of the direct mapping of the AF_FORMAT_BITS_MASK bit field to number of bytes. This way we can throw away the unused AF_FORMAT_48BIT and don't have to add ..._56BIT.
* ad_lavc: use fmt-conversion to map sample formatsStefano Pigozzi2013-04-131-0/+64