Re: can't emulate /dev/dsp with padsp

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

 



On 01/26/2015 09:37 PM, sean darcy wrote:
On 01/26/2015 09:19 PM, sean darcy wrote:
On Fedora 20, I'm trying to play a bunch of opus files with opusdec,
which outputs to /dev/dsp. I tried padsp, but that doesn't work:

padsp opusdec test.opus
Decoding to 48000 Hz (2 channels)
Cannot open /dev/dsp: Connection refused

any help appreciated.

sean


Also,

paplay test.wav
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

And pulseaudio is running:

pacmd ls
Memory blocks currently allocated: 1, size: 63.9 KiB.
Memory blocks allocated during the whole lifetime: 40, size: 2.1 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_14.2.analog-stereo
Default source name: alsa_input.pci-0000_00_14.2.analog-stereo
Memory blocks of type POOL: 1 allocated/1 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/39 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
24 module(s) loaded.
.............

sean


From  http://wiki.laptop.org/go/PulseAudio I've added:

load-module module-native-protocol-tcp auth-anonymous=1

to /etc/pulse/default.pa

I've checked everything in the paprefs dialog.

Still no joy.

Even pactl fails:

pactl stat
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

systemlog doesn't show anything when I run paplay. There are some log messages, but seem unrelated:

Jan 27 11:23:27 sixcore.server pulseaudio[3124]: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.66" (uid=505 pid=3124 comm="/usr/bin/pulseaudio --start ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1478 comm="/usr/libexec/bluetooth/bluetoothd ") Jan 27 11:23:28 sixcore.server pulseaudio[2898]: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.67" (uid=504 pid=2898 comm="/usr/bin/pulseaudio --start ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1478 comm="/usr/libexec/bluetooth/bluetoothd ")
Jan 27 11:50:36 sixcore.server pulseaudio[5835]: Daemon already running.
Jan 27 11:50:37 sixcore.server pulseaudio[2712]: module-x11-xsmp may not be loaded twice. Jan 27 11:50:37 sixcore.server pulseaudio[2712]: Failed to load module "module-x11-xsmp" (argument: "display=:0.0 session_manager=local/unix:@/tmp/.ICE-unix/5613,unix/unix:/tmp/.ICE-unix/5613"): initialization failed.

selinux is permissive.

I've tried to get on the pulseaudio list, but it seems they're not acting on subscriptions, so any help appreciated.

sean

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux