Re: Cannot start Pulse Audio when using ALSA plug-in as sound source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok cool.
One more sanity test.
`pasuspender -- speaker-test --nloops=1 --test=wav --channels=2 --device=temp`
Works as expected?


On Fri, Aug 9, 2019 at 10:23 AM Krzysztof Cieniawski <kcieniawski@xxxxxxxxx> wrote:
I have added `hint` field in `/usr/share/alsa/alsa.conf.d/iopdm.conf` file where I have configuration of my plug-in and when I list pcm's with hints it shows up.


pt., 9 sie 2019 o 15:56 Russell Treleaven <rtreleaven@xxxxxxxxxxxx> napisał(a):
`aplay -L` lists pcm's with hints.
If you add a hint to your pcm does it show up in the output of `aplay -L` ?

On Fri, Aug 9, 2019 at 9:32 AM Krzysztof Cieniawski <kcieniawski@xxxxxxxxx> wrote:

Hello!

I am developing ALSA plug-in based on ALSA PCM External Plugin SDK. Plug-in is source plug and has to convert PDM signal from microphone input to PCM used by Linux. I have succeeded to compile it using cmake and I have copied it to ALSA lib directory. I have updated .asoundrc file and make right PCM connection. I am able to record sound using this plug-in with arecord command. Unfortunatelly when I start PulseAudio server I got error message:

I: [pulseaudio] (alsa-lib)dlmisc.c: Cannot open shared library /usr/lib/aarch64-linux-gnu/alsa-lib/libasound_module_pcm_iopdm.so
I: [pulseaudio] alsa-util.c: Error opening PCM device temp: No such device or address
E: [pulseaudio] module.c: Failed to load module "module-alsa-source" (argument: "device=temp"): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

I would like to use PulseAudio on top of my device because I am using Amazon Alexa which use PulseAudio. How to get things right? Where is the problem? If there is other solution available I would be grateful for it to.

On the path given in this error message there is this plug-in.

I would be very grateful for any help!

Regards,

Krzysztof Cieniawski

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


--
Sincerely,

Russell Treleaven

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


--
Sincerely,

Russell Treleaven

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux