Skip to content

GStreamer play command needs SoC-specific handling for WAV audio in utplayer.py (e.g., Realtek requires media-tunnel=false for rmfaudiocapture) #45

@Devinf-poc

Description

@Devinf-poc

Problem/Opportunity

The play command in utplayer.py currently assumes generic playback behavior using gst-play or simplified stream handling. However, this does not work correctly across all SoCs.

Specifically, on Realtek platforms, WAV audio is supported only in tunneled mode by default. When using rmfaudiocapture, tunneling must be explicitly disabled using the following command:

gst-launch-1.0 playbin uri="file:///tmp/rmfaudiocapture/Sin_120s_48k_stereo.wav" audio-sink="rtkaudiosink media-tunnel=false audio-service=true"

Without setting media-tunnel=false, playback may fail or produce no audio output.

Steps to reproduce

No response

Expected Behavior

Gst play command should have soc specific modes

Actual Behavior

currenlty gst play is used without any soc specific paramaeters because of which decoder is not initialized as expected , By default soc will enable tunneled mode which will not allow rmfaudiocapture to capture data

Notes (Optional)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions