Running "pulseaudio" and "alsa" together.

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

 



Hi all.

I have been banging my head for over 5 days now; went through whatever google-literature I could possibly through.
But I guess I will have to ask the experts :|


I will list down my queries with the story regarding that query, so as to maintain modularity as far as possible.


I have a x86-based Fedora-14 Dell laptop; and a XO-1.


A)
On my Dell laptop, the following work seamlessly, and I am able to enjoy the mp3.

(i)    gst-launch filesrc location=/path/to/mp3 ! mad ! alsasink

(ii)   gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink


However, on my XO-1, only the following works ::


(i)    gst-launch filesrc location=/path/to/mp3 ! mad ! alsasink

whereas the following shows the "pulsesink" plugin not found error ::

(ii)   gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink


I figured out that the package "gstreamer-plugins-good" is required for the "pulsesink" plugin.

So, I did "gst-inspect" on both machines, and "rpm -qa | grep gstreamer-plugins-good" on both the machines.

To my horror, I saw that the package "gstreamer-plugins-good-0.10.26-1.fc14.i686" was installed on both the Dell machine, and the XO-1, but only the Dell laptop showed the presence of "pulsesink".

Why could this difference be ?






B)
Anyhow, I copied "libgstpulse.so" from my Dell machine to the XO-1.
Thereafter, "pulsesink" could be recognised on the XO-1.

However, "gst-launch filesrc location=/path/to/mp3 ! mad ! pulsesink" resulted in a sound only on Dell, and  not XO-1.

So, I researched further, and concluded that I needed to install "alsa-plugins-pulseaudio" on the XO-1, so as to set up the pulseaudio server, and have the alsa-device as the "other end of the pulseaudio proxy".

So, I installed the package.

However, SOUND HAS STOPPED PLAYING COMPLETELY ON THE XO-1 (the only time I hear some sound is during boot-up time).

If I remove "alsa-plugins-pulseaudio", I can again hear the sound via "alsasink", but not through "pulsesink".

If I re-install "alsa-plugins-pulseaudio", I can not hear sound through "alsasink", nor "pulsesink",
(
    not even after doing the following steps ::
 
                           pulsesudio --kill
                           sudo rm -r ~/.pulse
                           sudo rm -r ~/.pulse-cookie
                           pulseaudio --start

                           <trying to run the mp3 with sudo previleges.>
)


So, what other thing could I possibly do?



Will be grateful for a reply.


Thanks and Regards,
Ajay


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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