camera_is_audiocodec_supported()

Verify whether a given audio codec is supported.

Synopsis:

#include <camera/camera_api.h>
 
bool camera_is_audiocodec_supported(camera_handle_t handle,                 
                                    camera_audiocodec_t codec)

Since:

BlackBerry 10.3.0

Arguments:

handle

The handle returned by a call to the camera_open() function.

codec

The audio codec to verify.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

Use this function to determine if a given audio codec is supported on the device.

Returns:

true when the specified audio codec is supported by the device, otherwise a value of false.

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus