Logo Search packages:      
Sourcecode: pulseaudio version File versions

browser.h File Reference


Detailed Description

An abstract interface for Zeroconf browsing of PulseAudio servers

Definition in file browser.h.

#include <pulse/mainloop-api.h>
#include <pulse/sample.h>
#include <pulse/channelmap.h>
#include <pulse/cdecl.h>

Go to the source code of this file.

Classes

struct  pa_browse_info

Typedefs

typedef void(* pa_browse_cb_t )(pa_browser *z, pa_browse_opcode_t c, const pa_browse_info *i, void *userdata)
typedef enum pa_browse_flags pa_browse_flags_t
typedef enum pa_browse_opcode pa_browse_opcode_t
typedef typedefPA_C_DECL_BEGIN
struct pa_browser 
pa_browser
typedef void(* pa_browser_error_cb_t )(pa_browser *z, const char *error_string, void *userdata)

Enumerations

enum  pa_browse_flags { PA_BROWSE_FOR_SERVERS = 1, PA_BROWSE_FOR_SINKS = 2, PA_BROWSE_FOR_SOURCES = 4 }
enum  pa_browse_opcode {
  PA_BROWSE_NEW_SERVER = 0, PA_BROWSE_NEW_SINK, PA_BROWSE_NEW_SOURCE, PA_BROWSE_REMOVE_SERVER,
  PA_BROWSE_REMOVE_SINK, PA_BROWSE_REMOVE_SOURCE
}

Functions

pa_browserpa_browser_new (pa_mainloop_api *mainloop)
pa_browserpa_browser_new_full (pa_mainloop_api *mainloop, pa_browse_flags_t flags, const char **error_string)
pa_browserpa_browser_ref (pa_browser *z)
void pa_browser_set_callback (pa_browser *z, pa_browse_cb_t cb, void *userdata)
void pa_browser_set_error_callback (pa_browser *z, pa_browser_error_cb_t, void *userdata)
void pa_browser_unref (pa_browser *z)


Generated by  Doxygen 1.6.0   Back to index