MLT  7.28.0
Functions
mlt_audio.c File Reference

Audio class. More...

#include "mlt_audio.h"
#include "mlt_log.h"
#include <stdlib.h>
#include <string.h>

Functions

const char * mlt_audio_channel_layout_name (mlt_channel_layout layout)
 Get the short name for a channel layout. More...
 
mlt_audio mlt_audio_new ()
 Allocate a new Audio object. More...
 

Detailed Description

Audio class.

See also
mlt_mlt_audio_s

Copyright (C) 2020 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Function Documentation

◆ mlt_audio_channel_layout_name()

const char* mlt_audio_channel_layout_name ( mlt_channel_layout  layout)

Get the short name for a channel layout.

You do not need to deallocate the returned string. \member of mlt_frame_s

Parameters
layoutthe channel layout
Returns
a string for the name of the channel layout

◆ mlt_audio_new()

mlt_audio mlt_audio_new ( )

Allocate a new Audio object.

Returns
a new audio object with default values set