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:
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:
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
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
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"
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.