BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_aud_dev_info Struct Reference

#include <audiodev.h>

Data Fields

char name [PJMEDIA_AUD_DEV_INFO_NAME_LEN]
 
unsigned input_count
 
unsigned output_count
 
unsigned default_samples_per_sec
 
char driver [32]
 
unsigned caps
 
unsigned routes
 
unsigned ext_fmt_cnt
 
pjmedia_format ext_fmt [8]
 

Detailed Description

Device information structure returned by pjmedia_aud_dev_get_info().

Field Documentation

◆ name

char pjmedia_aud_dev_info::name[PJMEDIA_AUD_DEV_INFO_NAME_LEN]

The device name

◆ input_count

unsigned pjmedia_aud_dev_info::input_count

Maximum number of input channels supported by this device. If the value is zero, the device does not support input operation (i.e. it is a playback only device).

◆ output_count

unsigned pjmedia_aud_dev_info::output_count

Maximum number of output channels supported by this device. If the value is zero, the device does not support output operation (i.e. it is an input only device).

◆ default_samples_per_sec

unsigned pjmedia_aud_dev_info::default_samples_per_sec

Default sampling rate.

◆ driver

char pjmedia_aud_dev_info::driver[32]

The underlying driver name

◆ caps

unsigned pjmedia_aud_dev_info::caps

Device capabilities, as bitmask combination of pjmedia_aud_dev_cap.

◆ routes

unsigned pjmedia_aud_dev_info::routes

Supported audio device routes/sources, as bitmask combination of pjmedia_aud_dev_route. The value may be zero if the device does not support changing audio routes/sources.

◆ ext_fmt_cnt

unsigned pjmedia_aud_dev_info::ext_fmt_cnt

Number of audio formats supported by this device. The value may be zero if the device does not support non-PCM format.

◆ ext_fmt

pjmedia_format pjmedia_aud_dev_info::ext_fmt[8]

Array of supported extended audio formats


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.