Skip to content

No microphones or speakers detected #58

@Robotix-00

Description

@Robotix-00

When running the query example, I received no output.

When I checked, neither Speaker::query() nor Microphone::query() yielded any elements, although aplay -l and arecord -l do list multiple devices.
I would like to continuously stream audio from the mic for use in the application.

I'm on NixOS 23.11.20230626.6b3d1b1 (Tapir) with Linux-Kernel version 6.3.9 running pulseaudio

Output of arecord --dump-hw-params default:

Warning: Some sources (like microphones) may produce inaudible results
         with 8-bit sampling. Use '-f' argument to increase resolution
         e.g. '-f S16_LE'.
HW Params of device "default":
--------------------
ACCESS:  RW_INTERLEAVED
FORMAT:  U8 S16_LE S16_BE S24_LE S24_BE S32_LE S32_BE FLOAT_LE FLOAT_BE MU_LAW A_LAW S24_3LE S24_3BE
SUBFORMAT:  STD
SAMPLE_BITS: [8 32]
FRAME_BITS: [8 1024]
CHANNELS: [1 32]
RATE: [1 384000]
PERIOD_TIME: (2 4294967295)
PERIOD_SIZE: [1 1398102)
PERIOD_BYTES: [128 1398102)
PERIODS: [3 1024]
BUFFER_TIME: (7 4294967295]
BUFFER_SIZE: [3 4194304]
BUFFER_BYTES: [384 4194304]
TICK_TIME: ALL
--------------------

I am using wavy-version 0.9.1.
This issue is possibly/likely related to #55 which also occurs on NixOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions