No source from pulseaudio.. alsa is working fine though..

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

 



Hi All --

I hope someone can help me. I mentioned a few weeks ago that I was
having trouble getting audio from pulseaudio on my pandaboard. Since
then, some bugs and work arounds have been discovered and now, I'm
fairly confident that alsa is behaving correctly, and pulseaudio is
starting without problems.. however, I still can't hear almost
anything..

These work:
aplay Noise.wav
aplay -D plughw:0,0 Noise.wav

These don't: (they seem to, just don't hear anything)
paplay Noise.wav
paplay --device='alsa_output.platform-soc-audio.default-mapping-output'
--volume=65537 Noise.wav

Here's the screwy part.. this does work:
gst-launch audiotestsrc ! audioconvert ! pulsesink
device='alsa_output.platform-soc-audio.default-mapping-output'

If I hear the audiotestsrc, shouldn't I be able to hear the others?
Here's the output of pa when using paplay:


I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=500 gid=500 success=1
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink
input sink-input-by-application-name:pacat.
I: [alsa-sink] alsa-sink.c: Trying resume...
I: [alsa-sink] alsa-util.c: Trying to disable ALSA period wakeups,
using timers only
I: [alsa-sink] alsa-util.c: ALSA period wakeups disabled
I: [alsa-sink] alsa-sink.c: Resumed successfully...
I: [alsa-sink] alsa-sink.c: Starting playback.
I: [pulseaudio] remap.c: Using mono to stereo remapping
I: [pulseaudio] resampler.c: Using resampler 'speex-float-3'
I: [pulseaudio] resampler.c: Using float32le as working format.
I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
I: [pulseaudio] sink-input.c: Created input 0 "Noise.wav" on
alsa_output.platform-soc-audio.default-mapping-output with sample spec
s16le 1ch 48000Hz and channel map mono
I: [pulseaudio] sink-input.c:     media.format = "WAV (Microsoft)"
I: [pulseaudio] sink-input.c:     application.process.host = "pradio"
I: [pulseaudio] sink-input.c:     application.process.binary = "pacat"
I: [pulseaudio] sink-input.c:     application.language = "C"
I: [pulseaudio] sink-input.c:     application.process.machine_id =
"98dbd9163734a3bd67e383a500000007"
I: [pulseaudio] sink-input.c:     module-stream-restore.id =
"sink-input-by-application-name:pacat"
I: [pulseaudio] protocol-native.c: Requested tlength=2000.00 ms,
minreq=20.00 ms
I: [pulseaudio] protocol-native.c: Final latency 2742.31 ms = 1960.00
ms + 2*20.00 ms + 742.31 ms
I: [pulseaudio] sink-input.c: Freeing input 0 "Noise.wav"
I: [pulseaudio] client.c: Freed 0 "pacat"
I: [pulseaudio] protocol-native.c: Connection died.

No blatant errors that I see.. and I think the volumes are correct and
not muted:

    index: 1
	name: <alsa_output.platform-soc-audio.default-mapping-output>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9000
	volume: 0: 100% 1: 100%
	        0: 0.00 dB 1: 0.00 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 742.31 ms
	card: 1 <alsa_card.platform-soc-audio>
	module: 5
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "Multimedia null-codec-dai-0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "Panda"
		alsa.long_card_name = "TI OMAP4 Board"
		device.bus_path = "platform-soc-audio"
		sysfs.path = "/devices/platform/soc-audio/sound/card0"
		device.string = "plughw:0,0"
		device.buffering.buffer_size = "130944"
		device.buffering.fragment_size = "65472"
		device.access_mode = "mmap+timer"
		device.profile.name = "default-mapping-output"
		device.profile.description = "Default headset testing TI 4430 based board"
		device.description = "Panda Default headset testing TI 4430 based board"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"

Anyone have any suggestions? at first, I didn't have the
pulse/pulse-access user/groups set up.. are those still required when
running under an unprivileged user account. (adding then neither
helped nor hurt that I could tell) and lastly, I've tried with and
without the linaro ucm tarball.
(https://launchpad.net/linaro-multimedia-ucm) I've got what I believe
is a working ucm configuration for alsa, but pa errors trying to load
the verbs so I've moved the ucm configuration out of the way.. have
the ucm changes been committed to pa?

Thanks for any help!!
Shawn


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux