pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

pjmedia_aud_dev_factory_op Struct Reference
[Audio Device Implementors API]

Data Fields

pj_status_t(* init )(pjmedia_aud_dev_factory *f)
pj_status_t(* destroy )(pjmedia_aud_dev_factory *f)
unsigned(* get_dev_count )(pjmedia_aud_dev_factory *f)
pj_status_t(* get_dev_info )(pjmedia_aud_dev_factory *f, unsigned index, pjmedia_aud_dev_info *info)
pj_status_t(* default_param )(pjmedia_aud_dev_factory *f, unsigned index, pjmedia_aud_param *param)
pj_status_t(* create_stream )(pjmedia_aud_dev_factory *f, const pjmedia_aud_param *param, pjmedia_aud_rec_cb rec_cb, pjmedia_aud_play_cb play_cb, void *user_data, pjmedia_aud_stream **p_aud_strm)
pj_status_t(* refresh )(pjmedia_aud_dev_factory *f)

Detailed Description

Sound device factory operations.


Field Documentation

Initialize the audio device factory.

Parameters:
f The audio device factory.

Close this audio device factory and release all resources back to the operating system.

Parameters:
f The audio device factory.

Get the number of audio devices installed in the system.

Parameters:
f The audio device factory.

Get the audio device information and capabilities.

Parameters:
f The audio device factory.
index Device index.
info The audio device information structure which will be initialized by this function once it returns successfully.

Initialize the specified audio device parameter with the default values for the specified device.

Parameters:
f The audio device factory.
index Device index.
param The audio device parameter.

Refresh the list of audio devices installed in the system.

Parameters:
f The audio device factory.

The documentation for this struct was generated from the following file:
  • audiodev_imp.h

 


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