BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

sound_port.h File Reference

Media port connection abstraction to sound device. More...

Data Structures

struct  pjmedia_snd_port_param
 

Typedefs

typedef struct pjmedia_snd_port pjmedia_snd_port
 

Enumerations

enum  pjmedia_snd_port_option { PJMEDIA_SND_PORT_NO_AUTO_START = 1 }
 

Functions

void pjmedia_snd_port_param_default (pjmedia_snd_port_param *prm)
 
pj_status_t pjmedia_snd_port_create (pj_pool_t *pool, int rec_id, int play_id, unsigned clock_rate, unsigned channel_count, unsigned samples_per_frame, unsigned bits_per_sample, unsigned options, pjmedia_snd_port **p_port)
 
pj_status_t pjmedia_snd_port_create_rec (pj_pool_t *pool, int index, unsigned clock_rate, unsigned channel_count, unsigned samples_per_frame, unsigned bits_per_sample, unsigned options, pjmedia_snd_port **p_port)
 
pj_status_t pjmedia_snd_port_create_player (pj_pool_t *pool, int index, unsigned clock_rate, unsigned channel_count, unsigned samples_per_frame, unsigned bits_per_sample, unsigned options, pjmedia_snd_port **p_port)
 
pj_status_t pjmedia_snd_port_create2 (pj_pool_t *pool, const pjmedia_snd_port_param *prm, pjmedia_snd_port **p_port)
 
pj_status_t pjmedia_snd_port_destroy (pjmedia_snd_port *snd_port)
 
pjmedia_aud_streampjmedia_snd_port_get_snd_stream (pjmedia_snd_port *snd_port)
 
pj_status_t pjmedia_snd_port_set_ec (pjmedia_snd_port *snd_port, pj_pool_t *pool, unsigned tail_ms, unsigned options)
 
pj_status_t pjmedia_snd_port_get_ec_tail (pjmedia_snd_port *snd_port, unsigned *p_length)
 
pj_status_t pjmedia_snd_port_get_ec_stat (pjmedia_snd_port *snd_port, pjmedia_echo_stat *p_stat)
 
pjmedia_clock_srcpjmedia_snd_port_get_clock_src (pjmedia_snd_port *snd_port, pjmedia_dir dir)
 
pj_status_t pjmedia_snd_port_connect (pjmedia_snd_port *snd_port, pjmedia_port *port)
 
pjmedia_portpjmedia_snd_port_get_port (pjmedia_snd_port *snd_port)
 
pj_status_t pjmedia_snd_port_disconnect (pjmedia_snd_port *snd_port)
 

 


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