Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Revert "[TIZEN] Tag the audio stream as "browser" in pulseaudio." #191

Merged
merged 1 commit into from
Sep 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions media/audio/pulse/pulse.sigs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,3 @@ void pa_stream_unref(pa_stream* s);
int pa_context_errno(pa_context *c);
const char* pa_strerror(int error);
pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v);
# Functions from pulse used in TIZEN to tag the audio stream as "browser".
pa_proplist* pa_proplist_new(void);
void pa_proplist_free(pa_proplist* p);
int pa_proplist_sets(pa_proplist *p, const char *key, const char *value);
pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* proplist);
9 changes: 0 additions & 9 deletions media/audio/pulse/pulse_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -259,16 +259,7 @@ bool CreateOutputStream(pa_threaded_mainloop** mainloop,
// than the default channel map (NULL).
map = &source_channel_map;
}
#if defined(OS_TIZEN)
pa_proplist* proplist = pa_proplist_new();
pa_proplist_sets(proplist, PA_PROP_MEDIA_ROLE, "browser");
*stream = pa_stream_new_with_proplist(*context, "Playback",
&sample_specifications,
map, proplist);
pa_proplist_free(proplist);
#else
*stream = pa_stream_new(*context, "Playback", &sample_specifications, map);
#endif
RETURN_ON_FAILURE(*stream, "failed to create PA playback stream");

pa_stream_set_state_callback(*stream, stream_callback, user_data);
Expand Down