<div dir="ltr"><div>Calling 
`pasuspender -- speaker-test --nloops=1 --test=wav --channels=2 --device=temp`  cause error:<br></div><div>`Connection failure: Connection refused<br>pa_context_connect() failed: Invalid argument`</div><div>With command  `speaker-test --nloops=1 --test=wav --channels=2 --device=temp` no sound is given to headphones just quiet white noise but it may be hardware fault (cable). Command work without errors.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pt., 9 sie 2019 o 16:26 Russell Treleaven <<a href="mailto:rtreleaven@bunnykick.ca">rtreleaven@bunnykick.ca</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok cool.<div>One more sanity test.</div><div>`pasuspender -- speaker-test --nloops=1 --test=wav --channels=2 --device=temp`</div><div>Works as expected?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2019 at 10:23 AM Krzysztof Cieniawski <<a href="mailto:kcieniawski@gmail.com" target="_blank">kcieniawski@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pt., 9 sie 2019 o 15:56 Russell Treleaven <<a href="mailto:rtreleaven@bunnykick.ca" target="_blank">rtreleaven@bunnykick.ca</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">`aplay -L` lists pcm's with hints.<div>If you add a hint to your pcm does it show up in the output of `aplay -L` ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2019 at 9:32 AM Krzysztof Cieniawski <<a href="mailto:kcieniawski@gmail.com" target="_blank">kcieniawski@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">

        
    
    <div class="gmail-m_-2663596504454343666gmail-m_-2862579290725640544gmail-m_6904276038818985420gmail-m_6274804040825653369gmail-post-text">

<p>Hello!<br></p><p></p><p>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 <em>.asoundrc</em> file and make right PCM connection. I am able to record sound using this plug-in with <em>arecord</em> command. Unfortunatelly when I start <em>PulseAudio</em> server I got error message:</p>

<pre><code>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.
</code></pre>

<p>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.</p>On the path given in this error message there is this plug-in.<p>I would be very grateful for any help!<br></p><p>Regards,</p><p>Krzysztof Cieniawski<br></p>
    </div>

</div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-2663596504454343666gmail-m_-2862579290725640544gmail-m_6904276038818985420gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Sincerely,</div><div dir="ltr"><br></div><div dir="ltr">Russell Treleaven<div><a href="mailto:sip%3Artreleaven@sip.bunnykick.ca" target="_blank">sip:rtreleaven@sip.bunnykick.ca</a>;transport=tcp</div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a></blockquote></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-2663596504454343666gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Sincerely,</div><div dir="ltr"><br></div><div dir="ltr">Russell Treleaven<div><a href="mailto:sip%3Artreleaven@sip.bunnykick.ca" target="_blank">sip:rtreleaven@sip.bunnykick.ca</a>;transport=tcp</div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a></blockquote></div>