summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-introspect.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
committerLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
commite02be6c15beddec976220bce2ee1a68520286c01 (patch)
treeda9cfdfd7a254fa7e8e21b1ef29456b852dbc133 /polyp/polyplib-introspect.h
parent9a01cf44f09e92e14a720f4f531e943a50f26b72 (diff)
* fix include file names in installed header files
* add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-introspect.h')
-rw-r--r--polyp/polyplib-introspect.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/polyp/polyplib-introspect.h b/polyp/polyplib-introspect.h
index 08b36f86..ba9bde3c 100644
--- a/polyp/polyplib-introspect.h
+++ b/polyp/polyplib-introspect.h
@@ -24,9 +24,10 @@
#include <inttypes.h>
-#include "polyplib-operation.h"
-#include "polyplib-context.h"
-#include "cdecl.h"
+#include <polyp/polyplib-operation.h>
+#include <polyp/polyplib-context.h>
+#include <polyp/cdecl.h>
+#include <polyp/typeid.h>
/** \file
*
@@ -57,6 +58,7 @@ struct pa_sink_info {
uint32_t monitor_source; /**< Index of the monitor source connected to this sink */
const char *monitor_source_name; /**< The name of the monitor source */
pa_usec_t latency; /**< Length of filled playback buffer of this sink */
+ pa_typeid_t typeid; /**< Implementation type. \since 0.8 */
};
/** Get information about a sink by its name */
@@ -78,6 +80,7 @@ struct pa_source_info {
uint32_t monitor_of_sink; /**< If this is a monitor source the index of the owning sink, otherwise PA_INVALID_INDEX */
const char *monitor_of_sink_name; /**< Name of the owning sink, or PA_INVALID_INDEX */
pa_usec_t latency; /**< Length of filled record buffer of this source. \since 0.5 */
+ pa_typeid_t typeid; /**< Implementation type. \since 0.8 */
};
/** Get information about a source by its name */
@@ -97,7 +100,8 @@ struct pa_server_info {
const char *server_name; /**< Server package name (usually "polypaudio") */
struct pa_sample_spec sample_spec; /**< Default sample specification */
const char *default_sink_name; /**< Name of default sink. \since 0.4 */
- const char *default_source_name; /**< Name of default sink. \since 0.4*/
+ const char *default_source_name; /**< Name of default sink. \since 0.4*/
+ uint32_t cookie; /**< A random cookie for identifying this instance of polypaudio. \since 0.8 */
};
/** Get some information about the server */
@@ -123,7 +127,7 @@ struct pa_client_info {
uint32_t index; /**< Index of this client */
const char *name; /**< Name of this client */
uint32_t owner_module; /**< Index of the owning module, or PA_INVALID_INDEX */
- const char *protocol_name; /**< A string describing the protocol name this client is connected over (i.e. "ESOUND", "NATIVE", "SIMPLE") */
+ pa_typeid_t typeid; /**< Implementation type. \since 0.8 */
};
/** Get information about a client by its index */
@@ -144,6 +148,7 @@ struct pa_sink_input_info {
pa_usec_t buffer_usec; /**< Latency due to buffering in sink input, see pa_latency_info for details */
pa_usec_t sink_usec; /**< Latency of the sink device, see pa_latency_info for details */
const char *resample_method; /**< Thre resampling method used by this sink input. \since 0.7 */
+ pa_typeid_t typeid; /**< Implementation type. \since 0.8 */
};
/** Get some information about a sink input by its index */
@@ -163,6 +168,7 @@ struct pa_source_output_info {
pa_usec_t buffer_usec; /**< Latency due to buffering in the source output, see pa_latency_info for details. \since 0.5 */
pa_usec_t source_usec; /**< Latency of the source device, see pa_latency_info for details. \since 0.5 */
const char *resample_method; /**< Thre resampling method used by this source output. \since 0.7 */
+ pa_typeid_t typeid; /**< Implementation type. \since 0.8 */
};
/** Get information about a source output by its index */