diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-03-12 18:23:31 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2021-03-12 18:23:31 +0200 |
commit | 63e709d3100b009b196d082ee390f1de12d80f83 (patch) | |
tree | ea6103779639606f34ef7ef1f6b9ff638bb3f250 /binding/radio_impl_kingfisher.c | |
parent | 6ebbc4b470f07c87843eb43c2a5ca55b387583a5 (diff) |
radio: s/pwaudiosink/pipewiresink/
This is the one and only pipewire sink now.
Bug-AGL: SPEC-3844
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: If7c69f9c944f92006bde1aa3b9745b7966501a65
Diffstat (limited to 'binding/radio_impl_kingfisher.c')
-rw-r--r-- | binding/radio_impl_kingfisher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/radio_impl_kingfisher.c b/binding/radio_impl_kingfisher.c index 92abb11..5fc8a1e 100644 --- a/binding/radio_impl_kingfisher.c +++ b/binding/radio_impl_kingfisher.c @@ -219,7 +219,7 @@ static int kf_init(void) // Use PipeWire output rc = snprintf(gst_pipeline_str, GST_PIPELINE_LEN, - "alsasrc device=hw:radio ! queue ! audioconvert ! audioresample ! pwaudiosink stream-properties=\"p,media.role=Multimedia\""); + "alsasrc device=hw:radio ! queue ! audioconvert ! audioresample ! pipewiresink stream-properties=\"p,media.role=Multimedia\""); if(rc >= GST_PIPELINE_LEN) { AFB_API_ERROR(afbBindingV3root, "pipeline string too long"); return -1; @@ -400,7 +400,7 @@ static void kf_stop(void) // NOTE: Using NULL here instead of READY, as it seems to trigger // some odd behavior in the pipeline; alsasrc does not seem to // stop, and things get hung up on restart as there are a bunch - // of "old" samples that seemingly confuse pwaudiosink. Going + // of "old" samples that seemingly confuse pipewiresink. Going // to NULL state seems to tear down things enough to avoid // whatever happens. gst_element_set_state(pipeline, GST_STATE_NULL); |