Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No microphones or speakers detected #58

Open
Robotix-00 opened this issue Jul 3, 2023 · 1 comment
Open

No microphones or speakers detected #58

Robotix-00 opened this issue Jul 3, 2023 · 1 comment

Comments

@Robotix-00
Copy link

Robotix-00 commented Jul 3, 2023

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

@AldaronLau
Copy link
Member

@Robotix-00 interesting, I'm still not sure what exactly is going on (but looking into a little does seem to be related).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants