Old 21st July 2010, 18:08   #1
BulldozerBSG
Junior Member
 
Join Date: Jul 2010
Posts: 3
PulseAudio output plugin (test)

Hello.

There is a time delay. Maybe that tells something.
Attached Files
File Type: 7z PulseAudio_Output_v0_1a.7z (101.7 KB, 197 views)
File Type: 7z out_pulseaudio_src.7z (126.3 KB, 173 views)
BulldozerBSG is offline   Reply With Quote
Old 22nd July 2010, 13:59   #2
BulldozerBSG
Junior Member
 
Join Date: Jul 2010
Posts: 3
Bug fix

* Fixed a bug with the timeline
Attached Files
File Type: 7z PulseAudio_Output_v0_1b.7z (101.7 KB, 272 views)
File Type: zip out_pulseaudio_v0_1b.zip (292.5 KB, 296 views)
BulldozerBSG is offline   Reply With Quote
Old 11th August 2010, 01:43   #3
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,947
Send a message via Skype™ to thinktink
I downloaded the zip file, extracted it, and ran the installer on both Windows XP and Ubuntu Studio Lucid under Wine.

On Windows XP it caused Winamp to hang indefinitely every time I tried to play a file.

On Ubuntu whenever I tried to play a file it said it could not open the device (I'm assuming it meant the audio device), and for whatever reason the installer (running under Wine) caused Winamp (under Wine) to crash.

What exactly is this plugin supposed to do (other than the obvious reference to PulseAudio remote connection?)
thinktink is offline   Reply With Quote
Old 27th August 2010, 15:23   #4
BulldozerBSG
Junior Member
 
Join Date: Jul 2010
Posts: 3
Thank you. This is the first attempt to write a plugin. Perhaps a failed attempt.
BulldozerBSG is offline   Reply With Quote
Old 5th September 2010, 17:25   #5
NAS-Fan
Junior Member
 
Join Date: Sep 2010
Posts: 1
Hey Bulldozer,

your plugin is not a fail. It actuallay WORKS!!

The problem thinktink encountered is the authentication,
which is not available for the simple use of pulseaudio.
The only prob is that the lib does not return a correct error code
and on the server you have to read the syslog.

I have no experiences with the win32 pa lib, but maybe there is a different connection method which also allows a magic cookie to be used. This is then usually stored in the users home directory.

But you can disable authentication by passing additional parameters to your pulseaudio config (on the server side): locate your pulseaudio config (*.pa-file) and add the following parameters for the native-protocol-tcp module:

load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16

I configured my pulseaudio system as daemon since it is a server without a "head", e.g. without input devices and tfts, hence without any user session.

The only thing that did not work for me was playing dts or dolby digital files.
You can find free sample files here:
http://sverigesradio.se/sida/default...programid=2445

I tested these files:
SURROUNDTEST_DD_640, SURROUNDTEST_011212 and Norrlanda

Thanx for this very good plugin!!
NAS-Fan is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump