pelya / xserver-xsdl

XSDL - X.Org server ported to Android using SDL.
https://play.google.com/store/apps/details?id=x.org.server
Other
311 stars 55 forks source link

Microphone capture #145

Open PavelAtr opened 3 years ago

PavelAtr commented 3 years ago

Good afternoon. I have installed Xserver XSDL on Xiaomi Redme 8 phone. My pulseaudio server info output:

pactl list sources Source # 1 State: SUSPENDED Name: opensles.monitor Description: Monitor of OpenSLES sink OpenSLES Driver: module-opensles.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left, front-right Owner Module: 18 Mute: no 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 Monitor of Sink: opensles Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of OpenSLES sink OpenSLES" device.class = "monitor" device.icon_name = "audio-input-microphone" Formats: pcm

Is it possible for me to capture a signal from a microphone? Thank you in advance.

pelya commented 3 years ago

Microphone is not supported

On Tue, 26 Oct 2021, 16:17 PavelAtr, @.***> wrote:

Good afternoon. I have installed Xserver XSDL on Xiaomi Redme 8 phone. My pulseaudio server info output:

pactl list sources Source # 1 State: SUSPENDED Name: opensles.monitor Description: Monitor of OpenSLES sink OpenSLES Driver: module-opensles.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left, front-right Owner Module: 18 Mute: no 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 Monitor of Sink: opensles Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of OpenSLES sink OpenSLES" device.class = "monitor" device.icon_name = "audio-input-microphone" Formats: pcm

Is it possible for me to capture a signal from a microphone? Thank you in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/xserver-xsdl/issues/145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABF5QFNQDBALSPVSK27C43UI2TAPANCNFSM5GXZKHIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

dxtstd commented 2 years ago

Good afternoon. I have installed Xserver XSDL on Xiaomi Redme 8 phone. My pulseaudio server info output:

............. ............. ............. Is it possible for me to capture a signal from a microphone? Thank you in advance.

use a termux as pulseaudio, and load module "module-sles-source" (pactl load-module module-sles-source), dont forget to install Termux-API and allow Mic permission