[pulseaudio-discuss] Cannot start Pulse Audio when using ALSA plug-in as sound source

Russell Treleaven rtreleaven at bunnykick.ca
Fri Aug 9 14:26:19 UTC 2019


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 at gmail.com>
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 at bunnykick.ca>
> 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 at gmail.com> 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 at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>
>>
>>
>> --
>> Sincerely,
>>
>> Russell Treleaven
>> sip:rtreleaven at sip.bunnykick.ca;transport=tcp
>>
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss



-- 
Sincerely,

Russell Treleaven
sip:rtreleaven at sip.bunnykick.ca;transport=tcp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20190809/74dcb5ee/attachment-0001.html>


More information about the pulseaudio-discuss mailing list