Skip to content

Commit

Permalink
[Tizen] Remove changes that were added to tag media role as "browser".
Browse files Browse the repository at this point in the history
These changes are not needed anymore since the Murphy integration is in
place and we are setting media role for streams while creating Murphy
resource.
  • Loading branch information
Sudarsana Nagineni committed Sep 22, 2014
1 parent 5ee6f9b commit 280076a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
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

0 comments on commit 280076a

Please sign in to comment.