Re: [pulseaudio-discuss] Running under Windows 7

2009-10-04 Thread Sean McNamara
Hi,

On Sun, Oct 4, 2009 at 3:18 AM, Shane W shane-pulseau...@csy.ca wrote:
 Hey all,

 I just downloaded the PA windows binaries and attempted
 running on Windows 7. It's erroring out loading waveout
 saying it can't load wavein. I can post the exact error if
 required. Since the win32 binaries are quite old, I am
 wondering if there is anything more recent out there. How
 does one compile PA under Windows. I do have Cygwin
 installed but understand PA doesn't use that.

PA once built on Windows, but that was (as you say) a fairly old
version released by Cendio. Since that time, changes have been
committed that are incompatible with mingw and/or Cygwin, but the
changes are nonetheless beneficial to PA's feature set and performance
on Linux/OSX/UNIX.

PA will need to be re-ported to Windows to build a more recent
version of PA on Windows. However, rather than porting an old version,
I think it makes sense to port the current git master, and keep
updating it whenever someone commits a patch that does not properly
deal with Windows toolchain and/or library discrepancies.

There have been quite some volunteers I've observed on the ML
volunteering to contribute patches to fix PA on Windows, but I don't
know of the degree to which they've been successful. On the other
hand, Cygwin 1.7 is said to improve on its compatibility with existing
Linux-targeted sources, so it may be worth it to re-examine that
option. I might not be up to date on the latest developments, but I
think it's safe to say that current PA git master is unlikely to
compile on Windows under any toolchain.


 Finally isn't wavein just for recording. Since I don't need
 to record, is there a way to just skip that module?

module-waveout, as documented here
http://pulseaudio.org/wiki/Modules#module-waveout appears to have a
parameter called record which, when set to 0, does not try to
initialize wavein. Make the following change in default.pa (or
system.pa):

load-module module-waveout record=0 name=blah


 Best,
 Shane
 ___
 pulseaudio-discuss mailing list
 pulseaudio-discuss@mail.0pointer.de
 https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Sean
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Example using async API

2009-10-04 Thread Peter Onion
On Fri, 2009-10-02 at 23:40 +0100, Colin Guthrie wrote:
 'Twas brillig, and Peter Onion at 02/10/09 21:24 did gyre and gimble:
  It was ok when pulseaudio was using ~8% of one core but it seems to have
  jumped up to 20%, dropouts are happening every couple of seconds and
  these messages are appearing in /var/log/messages
  
  Oct  2 21:20:47 NewHP pulseaudio[4492]: module-alsa-sink.c: ALSA woke
  us up to write new data to the device, but there was actually nothing to
  write! Most likely this is an ALSA driver bug. Please report this issue
  to the PulseAudio developers.
 
 IIRC that message was changed in 0.9.15... So I suspect you're using a 
 pretty old PA.

It's a 0.9.14 on a Fedora 10 machine.

Are there any newer rpm's about for F10 X86_64 ?  

I think the current pulse releases need a newer libtool than is current
with F10 ?  This might just be a good enough reason for me to jump up to
F11.

PeterO



___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Example using async API

2009-10-04 Thread Patrick Shirkey


On 10/04/2009 07:34 PM, Peter Onion wrote:

On Fri, 2009-10-02 at 23:40 +0100, Colin Guthrie wrote:
   

'Twas brillig, and Peter Onion at 02/10/09 21:24 did gyre and gimble:
 

It was ok when pulseaudio was using ~8% of one core but it seems to have
jumped up to 20%, dropouts are happening every couple of seconds and
these messages are appearing in /var/log/messages

Oct  2 21:20:47 NewHP pulseaudio[4492]: module-alsa-sink.c: ALSA woke
us up to write new data to the device, but there was actually nothing to
write! Most likely this is an ALSA driver bug. Please report this issue
to the PulseAudio developers.
   

IIRC that message was changed in 0.9.15... So I suspect you're using a
pretty old PA.
 

It's a 0.9.14 on a Fedora 10 machine.

Are there any newer rpm's about for F10 X86_64 ?

I think the current pulse releases need a newer libtool than is current
with F10 ?  This might just be a good enough reason for me to jump up to
F11.

   




Do the upgrade to F11 and then you can also compile the latest git as 
F11 is only upto 0.9.15 and now PA is upto 0.9.18.


Cheers.

Patrick Shirkey
Boost Hardware Ltd


___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Example using async API

2009-10-04 Thread Patrick Shirkey


On 10/05/2009 01:02 AM, Peter Onion wrote:

On Sun, 2009-10-04 at 21:50 +1100, Patrick Shirkey wrote:

   

Do the upgrade to F11 and then you can also compile the latest git as
F11 is only upto 0.9.15 and now PA is upto 0.9.18.

 

OK, this now coming from an upgraded to F11 box...  However no sound
working as yet so it's been one step forward, two steps back...

   



Did you check all the output levels are unmuted for your card?

Try running alsamixer from the commandline.


Cheers.


Patrick Shirkey
Boost Hardware Ltd


___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Example using async API

2009-10-04 Thread Peter Onion
On Mon, 2009-10-05 at 01:17 +1100, Patrick Shirkey wrote:
 Did you check all the output levels are unmuted for your card?
 
 Try running alsamixer from the commandline.
 

FIxed.  Output was being sent to the sound device on my Radeon graphics
card (which I assume comes out the HDMI connector ?)

Anyway all going now.

So, what are the steps to upgrade my pulseaudio to the latest version ? 

I assume I can't just remove the pulseaudio rpm as that will break
dependencies ?

PeterO


___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Running under Windows 7

2009-10-04 Thread Shane W
On Sun, Oct 04, 2009 at 04:29:55AM -0400, Sean McNamara wrote:
 On Sun, Oct 4, 2009 at 3:18 AM, Shane W shane-pulseau...@csy.ca wrote:
  I just downloaded the PA windows binaries and attempted
  running on Windows 7. It's erroring out loading waveout
  saying it can't load wavein. I can post the exact error if
  required. Since the win32 binaries are quite old, I am

Hi Sean,

Thanks for the most informative post. For the benefit of
others, setting record=0 on the waveout module was
successful and PA is now running on Windows 7 64 bit.

Shane
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] passthrough audio (eg. AC3 / DTS / WM9)

2009-10-04 Thread Dave Moore
Hi Everyone.  I'm really sorry if this has been covered before, I've read
back through the past 6 months list history and found nothing and my OS
(ubuntu) and application support forums/lists are not being very helpful.


I would like to pass digital audio completely unaltered (bit-stream) to my
SPDIF output - Can this be done with pulseaudio?



(Yes, I understand that I will lose sound mixing and the ability to have
multiple application use the sound device)


For example:
If I have a stereo PCM file @ 16bit / 44.1khz  -  Then output at this type
(do not resample in any way) ... or PCM @ 24bit / 96khz  etc.   If I
have AC3 / DTS @ 48khz - The output this original data exactly.

(I am using an external decoder/processor and do not want the original audio
data changed in any way).


Again - sorry if this is a stupid question, or already answered.  I could
not find a definitive answer I would like to keep pulseaudio if possible
- as it is what my Linux distro (ubuntu) has set default.

Thanks in advance.
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss