[pulseaudio-tickets] [PulseAudio] #575: using pacat to stream to USB headphones not working (was: Failed to open cookie file '//.pulse-cookie' : Read-only file system)

PulseAudio trac-noreply at tango.0pointer.de
Sat Jun 6 10:55:32 PDT 2009


#575: using pacat to stream to USB headphones not working
----------------------+-----------------------------------------------------
  Reporter:  knightk  |       Owner:  lennart
      Type:  defect   |      Status:  new    
 Milestone:           |   Component:  daemon 
Resolution:           |    Keywords:         
----------------------+-----------------------------------------------------

Comment(by knightk):

 My solution to this was to direct the cookie to the /tmp mounted ram on my
 target
 1) in rootfs I set up a link ln -s /tmp/.pulse-cookie .pulse-cookie  (this
 fixed the issue with loading module-native-protocol-unix required by the
 server to communicate with the clients)
 2) in client.conf I set cookie-file = /tmp/.pulse-cookie

 Now I'm able to use paplay and pacat on my ARMv6 target

 Can any one help me with the following?

 I'm attempting to stream a microphone to both an analog headphone and a
 usb headphone. Only the analog headphone works when I stream.
 == Interestingly, both usb and analog work fine if I just paplay a file!
 ==

 Here is my setup for the streaming which only works for the analog
 headphones.

 #pulseaudio -nC -v --log-level=debug --log-target=syslog
 >>>load-module module-alsa-sink device=hw:1 sink_name=outputUSB
 >>>load-module module-alsa-sink device=hw:0 sink_name=outputjack
 >>>load-module module-combine sink_name=combined master=outputUSB
 slaves=outputjack
 >>>set-default-sink combined
 >>>load-module module-alsa-source device=hw:0 source_name=inputHDAV
 >>>set-default-source inputHDAV
 >>>load-module module-native-protocol-unix
 >>>

 from another terminal I run #pacat -r --fix-format | paplay

 Audio in analog headphones but not in USB headphones!!!!!!

 Thanks

-- 
Ticket URL: <http://pulseaudio.org/ticket/575#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list