Re: Sending all audio over socket

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

 



Could you give me an example of how I can ask the PCM file plugin to
write to a named pipe?
Should i create this manually or can I somehow do this via the PCM
file plugin itself by using the '|' character?

Also, don't named pipes block until there is a reader? Given that I've
only been able to do this via .asoundrc (and not via the
snd_pcm_file_open), I'm not sure how the blocking behaviour would
interact with ALSA. Would only my file plugin PCM definition block
while others continue?

Regardless, thank you for the suggestion. I will try this out meanwhile.

Regards
Guru

On Wed, May 6, 2015 at 10:41 PM, Sergei Steshenko
<steshenko_sergei@xxxxxxx> wrote:
> "I've only been able to write this to a file (instead of a pipe/socket)" -
> have you tried named pipe ?
>
> It looks like a file, and behave like a pipe.
>
> --Sergei.
>
>
> Среда, 6 мая 2015, 19:45 -04:00 от Guru Prasad <gurupras@xxxxxxxxxxx>:
>
> Hi,
>
> I'm trying to write an application that can hook into ALSA and receive
> all audio and send it across the network. I realize that JACK and
> Pulse are probably better suited for implementing this, but I would
> like to be able to run this on most Linux machines including
> smartphones(hopefully).
>
> Currently, with .asoundrc, I've had limited success with the pcm file
> plugin.
> However, given my lack of knowledge, I've only been able to write this
> to a file (instead of a pipe/socket) which starts using a lot of disk
> space.
>
> Is there a programmatic way of adding a hook to ALSA at run-time to
> capture and forward all audio?
>
> Thanks
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux