]> code.delx.au - pulseaudio/blobdiff - polyp/polyplib-introspect.h
* fix include file names in installed header files
[pulseaudio] / polyp / polyplib-introspect.h
index 08b36f86649ee4182abdcc79ac8a4ae0714cf68d..ba9bde3c20a4fe94d35a6cdf4de17624f5310b43 100644 (file)
 
 #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 */