Forums - Recording contains playback audio

1 post / 0 new
Recording contains playback audio
kennychou
Join Date: 8 Mar 21
Posts: 1
Posted: Fri, 2021-03-12 02:36

Steps to reproduce this issue (did not connected microphone):
1. paplay /mnt/48k_384.wav &
2. parecord /mnt/test.wav
Once the aplay is finish to playback and got result in test.wav,
it will be containing some noise and data of 48k_384.wav

platform OS: Yocto

>>> list-sources

2 source(s) available.
    index: 0
        name: <alsa_output.platform-soc_sound-3104.HiFi__plughw_0_0__sink.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1000
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        fixed latency: 100.14 ms
        monitor_of: 0
        card: 0 <alsa_card.platform-soc_sound-3104>
        module: 6
        properties:
                device.description = "Monitor of msm8996-tasha-mtp-snd-card HP Output"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "msm8996-tasha-mtp-snd-card"
                alsa.long_card_name = "msm8996-tasha-mtp-snd-card"
                device.bus_path = "platform-soc:sound-3104"
                sysfs.path = "/devices/soc/soc:sound-3104/sound/card0"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card"
  * index: 1
        name: <alsa_input.platform-soc_sound-3104.HiFi__plughw_0_0__source>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9000
        volume: mono: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 1ch 44100Hz
        channel map: mono
                     Mono
        used by: 0
        linked by: 0
        fixed latency: 100.14 ms
        card: 0 <alsa_card.platform-soc_sound-3104>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = ""
                alsa.id = "MultiMedia1 (*)"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "msm8996-tasha-mtp-snd-card"
                alsa.long_card_name = "msm8996-tasha-mtp-snd-card"
                device.bus_path = "platform-soc:sound-3104"
                sysfs.path = "/devices/soc/soc:sound-3104/sound/card0"
                device.string = "plughw:0,0"
                device.buffering.buffer_size = "8832"
                device.buffering.fragment_size = "2208"
                device.access_mode = "mmap"
                device.profile.name = "HiFi: plughw:0,0: source"
                device.profile.description = "Headset Microphone"
                device.description = "msm8996-tasha-mtp-snd-card Headset Microphone"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card"
        ports:
                [In] Headset: Headset Microphone (priority 300, latency offset 0 usec, available: unknown)
                        properties:

        active port: <[In] Headset>

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.