Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
seq_ports.h File Reference
#include <sound/seq_kernel.h>
#include "seq_lock.h"

Go to the source code of this file.

Data Structures

struct  snd_seq_subscribers
 
struct  snd_seq_port_subs_info
 
struct  snd_seq_client_port
 

Macros

#define snd_seq_port_unlock(port)   snd_use_lock_free(&(port)->use_lock)
 

Functions

struct snd_seq_client_portsnd_seq_port_use_ptr (struct snd_seq_client *client, int num)
 
struct snd_seq_client_portsnd_seq_port_query_nearest (struct snd_seq_client *client, struct snd_seq_port_info *pinfo)
 
struct snd_seq_client_portsnd_seq_create_port (struct snd_seq_client *client, int port_index)
 
int snd_seq_delete_port (struct snd_seq_client *client, int port)
 
int snd_seq_delete_all_ports (struct snd_seq_client *client)
 
int snd_seq_set_port_info (struct snd_seq_client_port *port, struct snd_seq_port_info *info)
 
int snd_seq_get_port_info (struct snd_seq_client_port *port, struct snd_seq_port_info *info)
 
int snd_seq_port_connect (struct snd_seq_client *caller, struct snd_seq_client *s, struct snd_seq_client_port *sp, struct snd_seq_client *d, struct snd_seq_client_port *dp, struct snd_seq_port_subscribe *info)
 
int snd_seq_port_disconnect (struct snd_seq_client *caller, struct snd_seq_client *s, struct snd_seq_client_port *sp, struct snd_seq_client *d, struct snd_seq_client_port *dp, struct snd_seq_port_subscribe *info)
 
int snd_seq_port_subscribe (struct snd_seq_client_port *port, struct snd_seq_port_subscribe *info)
 
struct snd_seq_subscriberssnd_seq_port_get_subscription (struct snd_seq_port_subs_info *src_grp, struct snd_seq_addr *dest_addr)
 

Macro Definition Documentation

#define snd_seq_port_unlock (   port)    snd_use_lock_free(&(port)->use_lock)

Definition at line 103 of file seq_ports.h.

Function Documentation

struct snd_seq_client_port* snd_seq_create_port ( struct snd_seq_client client,
int  port_index 
)
read

Definition at line 126 of file seq_ports.c.

int snd_seq_delete_all_ports ( struct snd_seq_client client)

Definition at line 307 of file seq_ports.c.

int snd_seq_delete_port ( struct snd_seq_client client,
int  port 
)

Definition at line 282 of file seq_ports.c.

int snd_seq_get_port_info ( struct snd_seq_client_port port,
struct snd_seq_port_info info 
)

Definition at line 368 of file seq_ports.c.

Definition at line 489 of file seq_ports.c.

int snd_seq_port_disconnect ( struct snd_seq_client caller,
struct snd_seq_client s,
struct snd_seq_client_port sp,
struct snd_seq_client d,
struct snd_seq_client_port dp,
struct snd_seq_port_subscribe info 
)

Definition at line 567 of file seq_ports.c.

struct snd_seq_subscribers* snd_seq_port_get_subscription ( struct snd_seq_port_subs_info src_grp,
struct snd_seq_addr dest_addr 
)
read

Definition at line 610 of file seq_ports.c.

struct snd_seq_client_port* snd_seq_port_query_nearest ( struct snd_seq_client client,
struct snd_seq_port_info pinfo 
)
read

Definition at line 82 of file seq_ports.c.

struct snd_seq_client_port* snd_seq_port_use_ptr ( struct snd_seq_client client,
int  num 
)
read

Definition at line 59 of file seq_ports.c.

int snd_seq_set_port_info ( struct snd_seq_client_port port,
struct snd_seq_port_info info 
)

Definition at line 338 of file seq_ports.c.