Pulseaudio help on openembedded

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Locked
dolevo
Posts: 2
Joined: Wed Dec 04, 2013 10:26 am
Operating System: Please select

Pulseaudio help on openembedded

Post by dolevo » Wed Dec 04, 2013 10:47 am

Hi all,

My question is a bit long, but please be patient to read it till end.
I have a dedicated pc which runs openembedded. The system has two sound cards. So far I only used one of the sound cards and developed a software application which just plays an audio using alsa. Everything is fine till now with one sound card.
Now I have a monitor which has a sound bar and already designed to receive its audio signal from the HDMI or displayport. My purpose is now to send the same audio (copy of it or multiplexed) also over HDMI or displayport.

I have tried to do this in asound.conf. It worked, but the problem is that the audio in one sound card cuts out intermittently after some time and the reason boiled down to the issue that I feed both sound cards with the same source but these sound cards have different internal clocks.

Now I am trying to find my remedy in pulseaudio. However, I need some help about it.
Remember that, my aim is just to couple the audio from the first sound to the second one.

I have installed the pulseaudio.
I start it with the following line:

Code: Select all

pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
Then I check if it is still running with:

Code: Select all

ps -deaf | grep pulse
root     24887     1  0 10:25 ?        00:00:00 pulseaudio --start
root     24888 24887  0 10:25 ?        00:00:00 pulseaudio --start
root     25197 19059  0 10:26 pts/0    00:00:00 grep pulse
However, if I call

Code: Select all

	

I have a software application where I play an audio stream using alsa. Alsa is configured so that it will produce the sound in one specific sound card. I have also a second sound card installed on my system and I would like to hear the same output from the second sound card as well. I am now trying to utilize pulseaudio for this purpose. I have installed it successfully.

I start the pulseaudio as:

pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).

After this call, my terminal doesn't return to the prompt. Last message stays there. Then I call

[code]
pactl list
I get

Code: Select all

	

I have a software application where I play an audio stream using alsa. Alsa is configured so that it will produce the sound in one specific sound card. I have also a second sound card installed on my system and I would like to hear the same output from the second sound card as well. I am now trying to utilize pulseaudio for this purpose. I have installed it successfully.

I start the pulseaudio as:

pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).

After this call, my terminal doesn't return to the prompt. Last message stays there. Then I call

[code]
pactl list
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
I have tried running:
pulseaudio -vvvvv"
http://pastebin.com/Y1s9j16j

So, could anyone please tell me if I am in the correct path to achieve what I want? What do you suggest to me to do?

Thanks a lot.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Pulseaudio help on openembedded

Post by Gale Andrews » Thu Dec 05, 2013 3:53 am

dolevo wrote:tell me if I am in the correct path
No, try http://lists.openembedded.org/mailman/l ... dded-devel or http://lists.freedesktop.org/mailman/li ... io-discuss .

This Forum is for help with Audacity.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Locked