Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lpulse @PTHREAD_LIBS@
Libs.private: -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@
-Cflags: -I${includedir} -D_REENTRANT -D__TIZEN__ -D__TIZEN_BT__ -DTIZEN_SECURITY -DTIZEN_EMPTY_POP -DTIZEN_VOLUME_RAMP
+Cflags: -I${includedir} -D_REENTRANT -D__TIZEN__ -D__TIZEN_BT__
Name: pulseaudio
Summary: Improved Linux sound server
Version: 11.1
-Release: 37
+Release: 38
Group: Multimedia/Audio
License: LGPL-2.1
URL: http://pulseaudio.org
Description: Module building interface for pulseaudio
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lpulsecore-@PA_MAJORMINOR@ -lpulse -L${libdir}/pulse-@PA_MAJORMINOR@/modules -lprotocol-native -L${libdir}/pulseaudio -lpulsecommon-@PA_MAJORMINOR@ @PTHREAD_LIBS@
-Cflags: -D_REENTRANT -DTIZEN_BUFFER_ATTR -DTIZEN_PCM_DUMP -DTIZEN_SECURITY -DTIZEN_EMPTY_POP -DTIZEN_VOLUME_RAMP -D__INCLUDED_FROM_PULSE_AUDIO -DPA_DEFAULT_CONFIG_DIR=\"@PA_DEFAULT_CONFIG_DIR@\" -I${includedir}
+Cflags: -D_REENTRANT -D__TIZEN__ -D__INCLUDED_FROM_PULSE_AUDIO -DPA_DEFAULT_CONFIG_DIR=\"@PA_DEFAULT_CONFIG_DIR@\" -I${includedir}
pa_log_level_t log_level;
unsigned log_backtrace;
char *config_file;
-#ifdef TIZEN_EMPTY_POP
+#ifdef __TIZEN__
unsigned empty_pop_threshold;
#endif
* location, feel free to use this function. \since 5.0 */
int pa_context_load_cookie_from_file(pa_context *c, const char *cookie_file_path);
-#ifdef TIZEN_SECURITY
+#ifdef __TIZEN__
pa_operation* pa_context_check_privilege(pa_context *c, const char *privilege, pa_context_success_cb_t cb, void *userdata);
#endif
* playback. \since 1.0 */
#define PA_STREAM_EVENT_FORMAT_LOST "format-lost"
-#ifdef TIZEN_EMPTY_POP
+#ifdef __TIZEN__
#define PA_STREAM_EVENT_POP_TIMEOUT "pop-timeout"
#endif
/** Set the latency offset of a port. \since 3.0 */
pa_operation* pa_context_set_port_latency_offset(pa_context *c, const char *card_name, const char *port_name, int64_t offset, pa_context_success_cb_t cb, void *userdata);
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
pa_operation* pa_context_set_pcm_dump(pa_context *c, uint32_t dump_type, int dump_type_enable, pa_context_success_cb_t cb, void *userdata);
pa_operation* pa_context_set_pcm_dump_option(pa_context *c, uint32_t dump_option, int dump_option_enable, pa_context_success_cb_t cb, void *userdata);
#endif
#define PA_PROP_MEDIA_TIZEN_AUDIO_LATENCY "media.tizen_audio_latency"
#define PA_PROP_MEDIA_FOCUS_STATUS "media.focus_status"
#define PA_PROP_MEDIA_FOCUS_ID "media.focus_id" /* It is used only for session backward compatibilty and will be deprecated. */
-#endif
-#ifdef TIZEN_BUFFER_ATTR
#define PA_PROP_BUFFER_ATTR_MAXLENGTH "buffer.attr.maxlength"
#define PA_PROP_BUFFER_ATTR_TLENGTH "buffer.attr.tlength"
#define PA_PROP_BUFFER_ATTR_MINREQ "buffer.attr.minreq"
* the channels are kept. \since 0.9.16 */
pa_cvolume* pa_cvolume_dec(pa_cvolume *v, pa_volume_t dec);
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
/** Volume ramp type
*/
typedef enum pa_volume_ramp_type {
PA_CORE_HOOK_MAX
} pa_core_hook_t;
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
#define PA_PCM_DUMP_PATH_PREFIX "/tmp/pcm"
#define PA_PCM_DUMP_VCONF_KEY "memory/private/sound/pcm_dump"
/* hooks */
pa_hook hooks[PA_CORE_HOOK_MAX];
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
uint32_t pcm_dump;
uint32_t pcm_dump_option;
-#endif
-#ifdef TIZEN_EMPTY_POP
unsigned empty_pop_threshold;
#endif
};
PA_LOG_NULL, /* to /dev/null */
PA_LOG_FILE, /* to a user specified file */
PA_LOG_NEWFILE, /* with an automatic suffix to avoid overwriting anything */
-#ifdef TIZEN_DLOG
+#ifdef __TIZEN__
PA_LOG_DLOG,
PA_LOG_DLOG_COLOR,
#endif
const pa_sample_spec *spec,
const pa_cvolume *volume);
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
typedef struct pa_volume_ramp_int_t {
pa_volume_ramp_type_t type;
long length;
* BOTH DIRECTIONS */
PA_COMMAND_REGISTER_MEMFD_SHMID,
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
PA_COMMAND_SET_PCM_DUMP,
PA_COMMAND_SET_PCM_DUMP_OPTION,
-#endif
-#ifdef TIZEN_SECURITY
PA_COMMAND_CHECK_PRIVILEGE,
#endif
#include <pulsecore/client.h>
#include <pulsecore/sink.h>
#include <pulsecore/core.h>
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
#include <pulsecore/mix.h>
#endif
PA_SINK_INPUT_DONT_INHIBIT_AUTO_SUSPEND = 256,
PA_SINK_INPUT_NO_CREATE_ON_SUSPEND = 512,
PA_SINK_INPUT_KILL_ON_SUSPEND = 1024,
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
PA_SINK_INPUT_PASSTHROUGH = 2048,
PA_SINK_INPUT_START_RAMP_MUTED = 4096,
#else
pa_cvolume volume_factor_sink; /* A second volume factor in format of the sink this stream is connected to. */
pa_hashmap *volume_factor_sink_items;
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
pa_cvolume_ramp ramp_factor;
pa_hashmap *ramp_factor_items;
#endif
* this.*/
bool save_sink:1, save_volume:1, save_muted:1;
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
/* for volume ramps */
pa_cvolume_ramp_int ramp;
#endif
pa_usec_t requested_sink_latency;
pa_hashmap *direct_outputs;
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
pa_cvolume_ramp_int ramp;
#endif
} thread_info;
-#ifdef TIZEN_PCM_DUMP
+
+#ifdef __TIZEN__
FILE *pcm_dump_fp;
char *dump_path;
uint32_t dump_length;
-#endif
-#ifdef TIZEN_EMPTY_POP
pa_usec_t empty_pop_initial_timestamp;
uint32_t empty_pop_previous_duration;
bool is_virtual;
PA_SINK_INPUT_MESSAGE_SET_STATE,
PA_SINK_INPUT_MESSAGE_SET_REQUESTED_LATENCY,
PA_SINK_INPUT_MESSAGE_GET_REQUESTED_LATENCY,
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
PA_SINK_INPUT_MESSAGE_SET_VOLUME_RAMP,
#endif
PA_SINK_INPUT_MESSAGE_MAX
void pa_sink_input_set_mute(pa_sink_input *i, bool mute, bool save);
-#ifdef TIZEN_VOLUME_RAMP
+#ifdef __TIZEN__
void pa_sink_input_add_volume_ramp_factor(pa_sink_input *i, const char *key, const pa_cvolume_ramp *ramp_factor, bool send_msg);
int pa_sink_input_remove_volume_ramp_factor(pa_sink_input *i, const char *key, bool send_msg);
#endif
int32_t volume_change_extra_delay;
} thread_info;
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
FILE *pcm_dump_fp;
char *dump_path;
-#endif
-#ifdef __TIZEN__
void *device_item;
bool use_internal_codec;
#endif
pa_sink_input *direct_on_input; /* may be NULL */
} thread_info;
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
FILE *pcm_dump_fp;
char *dump_path;
#endif
int32_t volume_change_extra_delay;
} thread_info;
-#ifdef TIZEN_PCM_DUMP
+#ifdef __TIZEN__
FILE *pcm_dump_fp;
char *dump_path;
-#endif
-#ifdef __TIZEN__
void *device_item;
bool use_internal_codec;
#endif