| 2949 | } |
| 2950 | |
| 2951 | int hb_mixdown_get_default_s(uint32_t codec, const char *layout) |
| 2952 | { |
| 2953 | int ret; |
| 2954 | AVChannelLayout ch_layout = {0}; |
| 2955 | |
| 2956 | if (layout == NULL) |
| 2957 | { |
| 2958 | return 0; |
| 2959 | } |
| 2960 | |
| 2961 | ret = av_channel_layout_from_string(&ch_layout, layout); |
| 2962 | if (ret < 0) |
| 2963 | { |
| 2964 | return 0; |
| 2965 | } |
| 2966 | ret = hb_mixdown_get_default(codec, &ch_layout); |
| 2967 | av_channel_layout_uninit(&ch_layout); |
| 2968 | return ret; |
| 2969 | } |
| 2970 | |
| 2971 | hb_mixdown_t* hb_mixdown_get_from_mixdown(int mixdown) |
| 2972 | { |
nothing calls this directly
no test coverage detected