Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
seq_ports.c File Reference
#include <sound/core.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "seq_system.h"
#include "seq_ports.h"
#include "seq_clientmgr.h"

Go to the source code of this file.

Enumerations

enum  group_type { SRC_LIST, DEST_LIST }
 

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)
 
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 *connector, struct snd_seq_client *src_client, struct snd_seq_client_port *src_port, struct snd_seq_client *dest_client, struct snd_seq_client_port *dest_port, struct snd_seq_port_subscribe *info)
 
int snd_seq_port_disconnect (struct snd_seq_client *connector, struct snd_seq_client *src_client, struct snd_seq_client_port *src_port, struct snd_seq_client *dest_client, struct snd_seq_client_port *dest_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)
 
int snd_seq_event_port_attach (int client, struct snd_seq_port_callback *pcbp, int cap, int type, int midi_channels, int midi_voices, char *portname)
 
 EXPORT_SYMBOL (snd_seq_event_port_attach)
 
int snd_seq_event_port_detach (int client, int port)
 
 EXPORT_SYMBOL (snd_seq_event_port_detach)
 

Enumeration Type Documentation

enum group_type
Enumerator:
SRC_LIST 
DEST_LIST 

Definition at line 178 of file seq_ports.c.

Function Documentation

EXPORT_SYMBOL ( snd_seq_event_port_attach  )
EXPORT_SYMBOL ( snd_seq_event_port_detach  )
struct snd_seq_client_port* snd_seq_create_port ( struct snd_seq_client client,
int  port 
)
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_event_port_attach ( int  client,
struct snd_seq_port_callback pcbp,
int  cap,
int  type,
int  midi_channels,
int  midi_voices,
char portname 
)

Definition at line 633 of file seq_ports.c.

int snd_seq_event_port_detach ( int  client,
int  port 
)

Definition at line 670 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.

int snd_seq_port_connect ( struct snd_seq_client connector,
struct snd_seq_client src_client,
struct snd_seq_client_port src_port,
struct snd_seq_client dest_client,
struct snd_seq_client_port dest_port,
struct snd_seq_port_subscribe info 
)

Definition at line 489 of file seq_ports.c.

int snd_seq_port_disconnect ( struct snd_seq_client connector,
struct snd_seq_client src_client,
struct snd_seq_client_port src_port,
struct snd_seq_client dest_client,
struct snd_seq_client_port dest_port,
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.