Re: [pulseaudio-discuss] multiseat and PulseAudio?

2011-05-16 Thread Michał Sawicz
Dnia 2011-05-16, pon o godzinie 10:51 +0200, Tomasz Chmielewski pisze:
 I only have one sound card for all users, so I guess your scripts 
 wouldn't help much? 

No, for proper multiseat you need a card per user (note that might be
USB speakers, too).

I believe when you use a USB hub at each seat, you could have the
speakers bound to seats using the hubs' bus-ids or similar.

Cheers
-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] pulseaudio xbmc passthrough success

2011-03-20 Thread Michał Sawicz
Dnia 2011-03-20, nie o godzinie 19:38 +0800, Ng Oon-Ee pisze:
 OT: I'd call watching District 9 and Master and Commander relaxing,
 wouldn't you? =p 

ReOT: No, watching District 9 was torture. :P

-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] What's module-gconf do?

2011-03-02 Thread Michał Sawicz
Dnia 2011-03-02, śro o godzinie 20:59 +0800, Ng Oon-Ee pisze:
 Hi, some googling and the normally reliable (but slightly old)
 pulseaudio wiki doesn't show anything, what's module-gconf do
 specifically? 

It reads and applies some network-related and simultaneous output
preferences on runtime, which are set by paprefs in gconf.

Cheers
-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] What's module-gconf do?

2011-03-02 Thread Michał Sawicz
Dnia 2011-03-02, śro o godzinie 21:36 +0800, Ng Oon-Ee pisze:
 So it would just do nothing if I do not use paprefs?

Depends on what are the default for the schema. See /system/pulseaudio/
in gconf-editor. If any of the modules listed there are enabled, the
gconf module will load them with the provided preferences.

Cheers
-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] [tx-devel] Retrieving a list of changes

2011-03-01 Thread Michał Sawicz
Forwarding to keep pulseaudio-discuss in the loop.

Dnia 2011-03-01, wto o godzinie 15:23 +0200, Dimitris Glezos pisze:
 On Mon, Feb 28, 2011 at 2:45 PM, Michał Sawicz mic...@sawicz.net wrote:
  Dimitris, you talked to Lennart some time ago about retrieving a list of
  changes that could be converted to a list of commits (AFAIK that was
  mostly related to pulseaudio, but it might be useful for others, too, if
  integrated into the tx client). Could you please tell what can be done
  in that direction? Where should I look? Any comments on implementation?
 
 The idea is to have a history of translations (per-string) which can
 lead to a more generic way to retrieve past translations. diegobz is
 working on the string history.
 
 Then, we can add versioning of the template files themselves (think
 en.POT or en.ts). These are used to export files by populating them
 with the translated strings.
 
 Once we have these, we could implement a Tx plugin which could export
 past versions of the file. An API call can export a list of past
 versions of the file, serialized in JSON format.
 
 Finally, we could extend the transifex-client to get that serialized
 history information and convert it to git commits in a branch. Merging
 it and pushing the changesets should work.
 
 Hope this helps! We could have a ticket and discuss the implementation 
 details.
 
 -d

Ticket filed: http://transifex.org/ticket/705

-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Dolby Digital / DTS s/pdif pass-through

2010-12-28 Thread Michał Sawicz
Dnia 2010-12-28, wto o godzinie 12:46 +0100, Vincent Tschanz pisze:
Can someone explain to me in broad terms how things should work through 
 Pulseaudio and Alsa?  And what I should do to get ac3/DTS decoded by
 my amp?

Pulseaudio can't currently pass AC3 or DTS through to your SPDIF output.
There are pending patches [1] for AC3 but AFAIK they're not ready yet.

You can use ALSA to pass through AC3 and DTS in mplayer by providing a
'alsa:spdif' as a default audio output (mplayer option 'ao') and
'hwac3,hwdts,' as audio codec (mplayer option 'ac', note the comma!).

With the above, mplayer will pass through AC3 and DTS through SPDIF and
also feed stereo streams as PCM. You could use Pulse for stereo streams
over SPDIF, but mplayer has no facilities to switch audio outputs
easily, you'd have to provide a '-ao pulse' option on the command line
when there's a stereo stream played.

In VLC you will also need to use ALSA:spdif output and enable pass
through.

[1]
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-October/thread.html
-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Protecting system wide settings

2010-09-04 Thread Michał Sawicz
Dnia 2010-09-04, sob o godzinie 07:45 +, john owen-jones pisze:
 any chance that the super user can set and lock the input levels?

Where do you think this phase reversion takes place? Maybe it would be
simply better to fix that, if possible? This really doesn't seem like
correct behavior.

-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Volume control interactions

2010-08-15 Thread Michał Sawicz
Dnia 2010-08-15, nie o godzinie 17:03 +0100, Dylan pisze:
 I hope I have made sense and am not completely misunderstanding how
 the 
 system is intendeto work, it is simply that IMHO each level slider (or
 pair) 
 should be fully independent of eachother. 

Google 'pulseaudio flat volume'.

Cheers
-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Cannot have iec958:0 and a52:0 simultaneously?

2010-07-15 Thread Michał Sawicz
Dnia 2010-07-15, czw o godzinie 12:27 +0300, Tanu Kaskinen pisze:
 I'm not sure what you mean by Sound Preferences, but it's probably
 gnome-volume-control, and AFAIK you should be able to switch the card
 profile with that. I don't know how, though. Debian doesn't enable
 pulseaudio by default, which is probably why my version of
 gnome-volume-control doesn't contain any pulseaudio stuff. In
 pavucontrol the card profile can be changed from the Configuration
 tab.

There's a 'Hardware' tab in g-v-c where you can select a profile for
each available card (be it a sound card, a headset, usb speakers or a
webcam).

One thing to add to Tanu's description - remember that you can only have
_one_ profile active at a time. You can't have both a52:0 and iec958:0
active at the same time, 'cause they use the same output on card 0. But
you can have both the profiles available in Pulseaudio, 'cause only one
is active at any given time.

Sorry if I've written something obvious here, but it seemed to me that
some things need to be clarified.

Cheers
-- 
Michał (Saviq) Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Select channel for module-rtp-send

2010-06-18 Thread Michał Sawicz
Dnia 2010-06-18, pią o godzinie 13:07 +0200, Maarten Bosmans pisze:
 ping

Maaaybe you could use two module-null-sinks you'd module-remap-sink to
and make module-rtp-send read from their monitors?

-- 
Michał Sawicz mic...@sawicz.net


signature.asc
Description: This is a digitally signed message part
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] source to sink question.

2010-05-10 Thread Michał Sawicz
Dnia 2010-05-10, pon o godzinie 09:30 -0500, Richard Shaw pisze:
 Is it possible route a source directly to a sink completely within PA
 without affecting other sources? 

Check out module-loopback:
http://www.pulseaudio.org/wiki/Modules#module-loopback

-- 
Cheers
Michał (Saviq) Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Documentation for developers

2010-03-19 Thread Michał Sawicz
Dnia 2010-03-20, sob o godzinie 09:27 +1100, Brendon Costa pisze:
 Is there any documentation or sample source for developers wanting to
 use the pulseaudio Async API for their applications (apart from the
 doxygen API documentation)?
 
 I have been using the doxygen generated documentation, but it has some
 big holes in it. I plan on implementing a small app using most of the
 features available in the Async API to learn how to use pulseaudio as
 a first stage.
 
 Would anyone find it helpful if once I am done with my sample
 application that I list all the specific things I am coming across
 that I think are missing in the doxygen documentation? 

Taking from
http://www.mail-archive.com/pulseaudio-discuss@mail.0pointer.de/msg04872.html
I suppose there is not much more - pavumeter's code, there are some
samples floating around like
http://pulseaudio.org/wiki/SampleAsyncDeviceList, too.

And I suppose the answer for your last question is Yes, by all means,
Yes! ;)

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Audio over SSH

2010-02-17 Thread Michał Sawicz
Dnia 2010-02-17, śro o godzinie 17:35 -0700, Jeremy Nickurak pisze:
 What I'd really like is for the pulseaudio server at B to show the
 sinks/sources from A, so I could just select A's sound device as the
 fallback (although since it's the only device, even that wouldn't be
 neccesary.) This takes place over avahi right now as I understand it,
 but I'd like it to expand beyond that. (It's a high-speed network, but
 different link-level networks).

You can manually add a module-tunnel-sink [1] on machine B with machine
A's hostname and sinkname and possibly add authentication to
module-native-protocol-tcp [2].

[1] http://www.pulseaudio.org/wiki/Modules#module-tunnel-sinksource
[2]
http://www.pulseaudio.org/wiki/Modules#module-native-protocol-unixtcp
-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] set volume all sinks

2010-02-15 Thread Michał Sawicz
Dnia 2010-02-15, pon o godzinie 16:38 +, Colin Guthrie pisze:
 But that wont be needed if the bug is fixed. The GDM volume will
 ultimately always be fixed at initial volume set by alsa on first
 boot, and all new user volumes will be based from this.
 
 What you describe is not really something we would want to entertain.
 If
 the GDM developers want to force the volume then they should code
 specific support for it.
 
 What I described will achieve a standard result once this remaining
 feature is implemented, so it shouldn't be a practical problem
 overall. 

I think what poort failed to mention is that this 'another' user that
logs in is the same one in terms of accounts, another user in terms of
people. @poort, is that the case?

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] system-wide daemon

2010-02-10 Thread Michał Sawicz
Dnia 2010-02-10, śro o godzinie 16:45 -0700, Andrew McNabb pisze:
 I'm not arguing that it's practical to do, but an ideal multiseat
 system
 would be able to give each user two dedicated channels, so they can
 each
 plug in their own set of headphones (modern surround sound cards have
 tons of audio outputs).  Of course, implementing and configuring this
 would probably be extremely difficult, so I'm not volunteering. :)

Well, IIUC that's exactly what PA does - multi-seat does not mean two
seats and one screen/keyboard/mouse/speakers - it means this set for
every user in every seat. And that's what PA does.

-- 
Pozdrawiam
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] system-wide daemon

2010-02-09 Thread Michał Sawicz
Dnia 2010-02-09, wto o godzinie 19:31 +, Colin Guthrie pisze:
 I wouldn't call this overdesign. Quite the opposite. Yes to get this
 rather bizarre scenario working it would be complex, but to make it
 work
 out of the box in this way in PA itself is far from simple. I've
 already
 listed the 5 relevant points that would need addressing for this to
 work
 and there are significant design hurdles to overcome there. That is
 what
 I would consider overdesign - doing something very complex to support
 a
 pretty niche use case. 

It might drop in the same 'overdesigned' category, but maybe it would be
possible to create a scenario where:

1. remote user or a daemon wants to play audio
2. PA looks for an active user session on local PC
3. the remote user's PA tries to connect (over native protocol) to the
active user session
4. there's a dialog on the active user's session with 'User  tries
to access your audio equipment with application , allow / deny?'
5. if the active user agrees, the remote user is able to play, otherwise
it remains corked until the active user changes or allows the stream to
play.

This would also simplify how remote tunnels are created - now you can
either turn off authentication or hack the config file to only allow
certain 

Oh, and apart from VoIP calls being eavesdropped, if someone hacks in
and has access to the hardware he can hear _everything_ that is said
near the microphone. Big problem. Not even root should be able to do
that.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Do clients remember there media.role?

2010-01-07 Thread Michał Sawicz
Dnia 2010-01-08, pią o godzinie 14:44 +1300, Jason Taylor pisze:
 I also know apps should set this per stream.. but most do not, yet! 

The whole idea of roles is that the app needs to set this, no point in
remembering it.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] changing pulse sink

2009-12-23 Thread Michał Sawicz
Dnia 2009-12-23, śro o godzinie 16:08 -0600, Matt Zagrabelny pisze:
 
 What I would like to be able to do is toggle between the local sound
 card and the network sink. I looked at PA Dev Chooser, but that
 doesn't
 seem to show what I would expect as far as choosing the sink. 

Don't use padevchooser, it's obsolete. Pavucontrol or
gnome-volume-control or kde's sound control will let you do that.

You need to have the zeroconf-publish module enabled on the aserver (and
the client on the aclient), you can enable it through paprefs or
directly in your config files.

The remote devices will show up in both padevchooser and g-v-c for you
to choose.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Why no 'default device' option?

2009-12-22 Thread Michał Sawicz
Dnia 2009-12-22, wto o godzinie 16:47 -0500, Vadim Peretokin pisze:
 Not always. It'll randomly forget what goes where. Takes me a moment
 of confusion after making sure sound isn't muted to realize...

Maybe it's because of per-stream default? For example, if you've
manually moved a stream (== an app) to another sink, this will take
precedence over the fallback.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Why no 'default device' option?

2009-12-22 Thread Michał Sawicz
Dnia 2009-12-22, wto o godzinie 17:06 -0500, Vadim Peretokin pisze:
 The thing is that I never move them back. I'm always moving them to my
 USB headset.

What PA version is that? Also, IIRC fallback only works for new streams,
so if you have something playing and connect the USB headset, it won't
move on-the-fly (in PA = 0.9.20 it should work for manually moved
streams). But if you start playing after the headset is connected, all
streams that haven't been moved around manually should be played there.

You can try removing your ~/.pulse to start with a clean slate. Log
out / in (or kill PA) to make sure it starts afresh, and select the USB
headset as fallback. See in pavucontrol if it will be selected
automagically every time you connect it (it should...).

As long as module-default-device-restore is loaded, it should handle
that. And all new streams should play in the new fallback device.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Michał Sawicz
Dnia 2009-12-12, sob o godzinie 20:22 +0100, Vegard Vesterheim pisze:
 I know how to use pavucontrol to move streams between sound cards.

You can have only one 'pulse' device and then move the streams around.
Once you moved a stream from one output to another, it will play through
it every time it is available - currently (as of 0.9.20 or so) switching
on-the-fly, too, when the device becomes available.

ALSA applications feed Pulse, and it's Pulse that decides where will the
stream go.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Michał Sawicz
Dnia 2009-12-12, sob o godzinie 15:58 -0500, Brian J. Murrell pisze:
 Which is fine for single audio stream applications, but as OP
 mentioned,
 his app has two different reasons to want audio.  One for the
 telephone
 ring which he wants on speakers and one for voice audio which he
 wants
 a different on a different device.
 
 I'd be surprised if pulse has not provided applications that use pulse
 directly the ability to do this kind of per-stream identification, but
 until all such applications can be written to take advantage to that,
 it
 would be nice/interesting in the meanwhile for pulse to provide
 multiple
 ALSA devices for applications that need/can use multiple devices. 

Of course, sorry, I didn't read carefully enough.

AFAIK there's currently no way to do that... It would indeed be nice if
Pulse provided subdevices (one for each available sink) for alsa apps.

As for native Pulse I believe media roles are designed to achieve that
[1]. So that a ring would be of role 'Event' and the actual speech would
be of role 'Phone'. This has the additional advantage of allowing Pulse
to pause / mute media sounds when a VOiP call comes in.

[1]
http://www.pulseaudio.org/wiki/ApplicationProperties#PA_PROP_MEDIA_ROLE

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Moving speakers around using AC3

2009-11-29 Thread Michał Sawicz
Dnia 2009-11-29, nie o godzinie 09:13 +0100, Aurelien Bompard pisze:
 That's what I tried to do. But it looks like the udev-autodetect
 module 
 prevents adding something else by hand. It is the case ? 

It shouldn't, try using pacmd on a running instance, adding a
module-alsa-sink. And if that doesn't help, try removing the udev module
from the default config in /etc/pulse and add all your devices by hand.

You could probably try and add some rules to udev, too.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Moving speakers around using AC3

2009-11-29 Thread Michał Sawicz
Dnia 2009-11-29, nie o godzinie 11:38 +0100, Aurelien Bompard pisze:
 Any idea where this could come from ? If I can help in any way, please
 tell.

Try adding a ctl.upmixer device as a slave of pcm.default. Something
that pulse can actually control the volume of. I think that might help,
udev has nothing to do with that.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Moving speakers around using AC3

2009-11-29 Thread Michał Sawicz
Dnia 2009-11-29, nie o godzinie 12:18 +0100, Aurelien Bompard pisze:

 When I play a movie with mplayer -ao alsa:device=atdesk movie.avi I
 get 
 this message :
 alsa-lib: pcm_hw.c:607:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START
 failed: File 
 descriptor in bad state
 but the sound is allright. Maybe this has something to do with it ?

So this error is in alsa, not pulseaudio, try getting some help with
them guys.

 Thanks for your help Michał.

Trying my best.

-- 
Cheers
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Moving speakers around using AC3

2009-11-28 Thread Michał Sawicz
Dnia 2009-11-28, sob o godzinie 09:29 +0100, Aurelien Bompard pisze:
 It does work, but I have to manually choose the alsa output and the atdesk 
 driver in mplayer, since and it does not integrate nicely with pulseaudio, 
 etc.
 
 My dream setup would be to have a profile in pavucontrol's Configuration 
 tab which would allow me to switch from the normal setup to the routed setup 
 at runtime.
 
 I've tried many setups in default.pa to do that, but failed.
 
 Do you think this is possible, or is it too much of a pony ?

See http://www.pulseaudio.org/wiki/Modules#module-remap-sink

It's possible just fine - you have to create a virtual sink that you
would feed your streams.

-- 
Pozdrawiam
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Moving speakers around using AC3

2009-11-28 Thread Michał Sawicz
Dnia 2009-11-28, sob o godzinie 22:28 +0100, Aurelien Bompard pisze:
 I did try that, but couldn't get it to work with the SPDIF output
 (stereo - 
 AC3 conversion) and udev autodetection. I also tried without udev 
 autodetection but didn't find a way to get it to work properly.
 
 I guess I'll go and revisit this solution now.
 Thanks for the direction ! 

Wait a sec, you want it to output AC3-encoded channels this way? You'd
have to use your alsa hack and then add the alsa sink by hand, I
think... But that's something I'm not so sure of...

-- 
Pozdrawiam
Michał (Saviq) Sawicz


signature.asc
Description: To jest część  wiadomości podpisana cyfrowo
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

2009-10-20 Thread Michał Sawicz
Dnia 2009-10-20, wto o godzinie 17:18 +0100, Colin Guthrie pisze:
 Did you try setting the xprops manually? Make sure that works first 
 (although if pax11publish is looking at the wrong display, it could
 be 
 the pulse client libs are doing the same...) 

Doesn't 0.0 and 0.1 mean there's only one root window - thus only one
default sink to be set through pax11publish?

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] /.

2009-10-19 Thread Michał Sawicz
Dnia 2009-10-19, pon o godzinie 19:47 +0200, rem...@gmail.com pisze:
 No prob, apology accepted ;)  
 
 I can understand people who don't like changes in their OS at all
 and I think every one of us knowks at least one guy/girl that freaks
 out if some desktop-icons have been moved ;) 

Well I can understand people having bad time with PA. I myself love it's
possibilities and had to cope with it's issues several times anyway. I
tried never to complain, just ask for help, a solution.

What's more, a whole lot of issues people had with PA were actually bugs
in the underlying ALSA drivers, but they simply did not occur until PA
was introduced because PA tried to use it The Right Way™.

Another thing is that I wouldn't mind taking it just a bit slower with
incorporating PA in mainline distros due to the above, but that would,
obviously, mean the bugs would take longer to fix.

And I can't imagine people not being able to understand the great thing
PA is, for me particularly in BT audio. Want to talk over Skype through
your BT headset? Sure, PA will do that for you without you even noticing
it. Want to listen to some tunes wirelessly on your A2DP headset? Oh,
and you're pissed off by the damn commercials that flash sites throw at
you while you're listening to your music? Here you go, just mute the
stream and all flash audio will be silent until you decide to get it
back. Oh and BTW, you want to listen to the music you have on your
laptop through your HiFi system? Well, PA will let you do that - sans
wires, through your WiFi network. I just haven't seen user experience
this good anywhere.

And don't tell me that's something the usual desktop user would not
want, because if not them, who would?

My last remark - sure, there are bugs. Bugs are. Period. Some annoying,
some not so much. But it doesn't mean that you have to start a flame war
about something, especially if it's not to blame for a lot of these
bugs.

-- 
Michał (Saviq) Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] mythtv uses oss

2009-08-22 Thread Michał Sawicz
Dnia 2009-08-22, sob o godzinie 18:26 +0200, Lennart Poettering pisze:
 I don't see why mythtv should want to disable PA. If they stcik to the
 safe ALSA subset it should run fine on top of PA.

According to some 'user reports' people have had problems with lipsync
when using MythTV with Pulse... Their... ekhm... solution was to check
if PA is running and suspend it...

What's worse, in the upcoming 0.22 MythTV version, they've decided to
enforce that behavior and as far as I know Myth won't run if it's unable
to suspend PA...

No further comment...

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] mythtv uses oss

2009-08-22 Thread Michał Sawicz
Dnia 2009-08-22, sob o godzinie 21:47 +0200, Lennart Poettering pisze:
 Hmm, how about fixing problems were the problems are?

I don't think that's their style ;)

 gst and mplayer don't have lip-sync problems with PA, so I see
 no reason why that should not be possible for any other app, too. As
 long as they sync properly with snd_pcm_delay() lip-sync should not be
 a prob. 

Well I didn't even have problems with current behavior - I even have
lip-sync through A2DP so I can't really understand what was the issue
there.

Anyway there's no pulse support in Myth itself, they use ALSA for that
so the problem might be occuring somewhere in the ALSA - pulse plugin,
probably due to bad usage on Myth's part.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Playing audio from one or more bluetooth phones

2009-07-27 Thread Michał Sawicz
Dnia 2009-07-26, nie o godzinie 22:11 -0700, Frito Lay pisze:
 I'm sorry if this has been asked before, but I couldn't find it (in
 words that I could understand).

AFAIK there's currently no A2DP profile implemented in Bluez for that so
until that happens Pulse won't be able to do it. I think it was already
asked on the Bluez mailing list - go look there.

Cheers
-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Different sinks for different applications

2009-07-27 Thread Michał Sawicz
Dnia 2009-07-27, pon o godzinie 12:30 +0200, Alvaro Alonso Jiménez
pisze:
 Suming up, I need to send different audio streams coming from
 different applications to remote clients, and I really dont know
 how-to.

If I understand what you're trying to do, pavucontrol's your friend -
just right-click on your sink input of choice and move it to another
sink.

Cheers
-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Different sinks for different applications

2009-07-27 Thread Michał Sawicz
Dnia 2009-07-27, pon o godzinie 13:00 +0200, Alvaro Alonso Jiménez
pisze:
 Thank you very much, Michael, it's just what I was looking for, and
 now.. is it possible to change pavucontrol options via command (in
 example, using a script)??? I really need to do it!!!

Sure, see pactl and pacmd.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Different sinks for different applications

2009-07-27 Thread Michał Sawicz
Dnia 2009-07-27, pon o godzinie 13:00 +0200, Alvaro Alonso Jiménez
pisze:
 Thank you very much, Michael, it's just what I was looking for, and
 now.. is it possible to change pavucontrol options via command (in
 example, using a script)??? I really need to do it!!!

BTW, if you want a sink input to play on two or more sinks see
module-combine.

You can read all about these on Pulseaudio wiki:

http://www.pulseaudio.org/wiki/Modules#module-combine

http://www.pulseaudio.org/wiki/CLI

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] [feature request] exclude from combined output-button

2009-06-30 Thread Michał Sawicz
Dnia 2009-06-30, wto o godzinie 15:40 +0200, Jost-Philip Matysik pisze:
 It would be cool to tell the combined output sink to playback my
 music on all sinks except that one.
 
 could something like this be implemented with pulseaudio?

http://www.pulseaudio.org/wiki/Modules#module-combine

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Mute and unmute individual sinks in a module-combine

2009-06-29 Thread Michał Sawicz
Dnia 2009-06-29, pon o godzinie 23:08 +0100, Colin Guthrie pisze:
 I may work on a combine manipulation UI at some point in the future
 as 
 it's an oft requested feature and a nice easy way to control it would
 be 
 pretty nice.

I'm dreaming of a routing UI for pulseaudio that will allow connecting
any source to any number of sinks in a nice drag'n'drop manner :)

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] tv-card - on-board - sound-card

2009-06-28 Thread Michał Sawicz
Dnia 2009-06-28, nie o godzinie 19:31 +0200, Andreas Herrmann pisze:
 Finally. My question:
 How do I make pulseaudio to pass the tv-sound to the Audigy, such that
 I
 can hear the television sound with the speakers connected to the
 sound-card?
 
 If additional information is required, just tell me.
 I've already searched google and the pulseaudio FAQ, but I couldn't
 find
 anything helpful. Maybe I had the wrong search terms.
 Any hint is appreciated :).

It seems that XawTV doesn't use Pulse as the sound output device. If it
doesn't have native Pulse support you need to use the alsa-pulse plugin
to have XawTV play through Pulseaudio.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Virtual loopback to provide PCM capture

2009-06-28 Thread Michał Sawicz
Dnia 2009-06-28, nie o godzinie 23:45 +0200, Davide Cescato pisze:
 I would however like to do the same in Fedora 11. So I wonder if 
 Pulseaudio can create a virtual loopback by taking the PCM channel
 and 
 feeding it back (besides sending it to the speakers, of course) into
 a 
 sound capture channel that can then be selected as the default
 capture 
 source that sound-capturing applications will use (actually, I would 
 like to use recordmydesktop to simultaneously capture video and audio
 of 
 my desktop session).

You want the Monitor source. In pavucontrol, there's a option box on the
lower right of 'Input Devices', select one that contains monitors and
make it the default by clicking 'Default' in the dropdown menu of the
source.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Patch for VolumeRamping

2009-06-08 Thread Michał Sawicz
Dnia 2009-06-08, pon o godzinie 15:03 +0800, Zheng, Huan pisze:
 The attachment is the patch for volume ramping. Please review.

Have you seen 'EarCandy'? It essentially does what you've implemented
here, but with a gui configurator and some more nifty features.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Patch for VolumeRamping

2009-06-08 Thread Michał Sawicz
Dnia 2009-06-08, pon o godzinie 14:26 +0200, Michał Sawicz pisze:
 Have you seen 'EarCandy'? It essentially does what you've implemented
 here, but with a gui configurator and some more nifty features.

Read here https://launchpad.net/earcandy

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Reset all client/stream volumes

2009-05-26 Thread Michał Sawicz
Dnia 2009-05-26, wto o godzinie 12:15 +1200, Jason Taylor pisze:
 Thats seems a bit hacky... there is no other way to rest all streams ?

Hacky? I've seen hackier... And I don't know other ways to do that. 

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Reset all client/stream volumes

2009-05-25 Thread Michał Sawicz
Dnia 2009-05-26, wto o godzinie 11:19 +1200, Jason Taylor pisze:
 Is there a way to reset all volume levels to 100%?
 
 I could loop through the currently active / previously active
 streams..
 
 But that seems over kill.. and would require me to keep a list of
 every sink input name..

As in remembered volumes? Just remove the relevant file (look for
stream-volumes) from your ~/.pulse directory.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] equalizer for also and pulse audio server

2009-05-05 Thread Michał Sawicz
Dnia 2009-05-05, wto o godzinie 20:00 +0200, Markus Feldmann pisze:
 How to get the name of my master sink ?

Start pacmd, issue 'list-sinks'.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] 0.9.15 bluetooth profiles question

2009-04-30 Thread Michał Sawicz
Dnia 2009-04-29, śro o godzinie 23:21 +0100, Jon Escombe pisze:
 However. this headset supports both hsp and a2dp profiles. My problem
 is 
 that it's defaulting to the hsp profile and I'm unable to change to 
 a2dp, any ideas where to look for the root cause? The message log
 shows 
 pulseaudio[5550]: module-bluetooth-device.c: A2DP is not connected, 
 refused to switch profile when I try to switch.

Have you tried pressing 'Connect' in the Bluetooth applet for your
headset entry?

If that doesn't work use d-feet, connect to the system bus and issue a
Connect() at your device node (/org/bluez/[bluetoothd
pidname]/hci0/dev_[your_headset's_MAC]/Audio

That should make it possible to change the profile.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] limits on maximum device volume?

2009-04-27 Thread Michał Sawicz
Dnia 2009-04-27, pon o godzinie 17:36 +0200, Lennart Poettering pisze:
 And then there
 are some laptops with internal speakers where this might actually
 apply, too.
 
 I mean, it doesn't just depend on the hardware, it also depends on the
 media you play. 

Exactly, I myself recently made my laptop play at 130% because I found
AC3 sound downmixed to stereo a lot quieter than standard stereo and
having all mixers at 100% didn't help, the sound was just a bit too low
- and it didn't clip after amplifying, either.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] About reporting a bug

2009-04-21 Thread Michał Sawicz
Dnia 2009-04-21, wto o godzinie 18:00 +0400, Victor Porton pisze:
 At http://pulseaudio.org/ticket/551 there are no comment
 link/button. So I can't comment there.

Log in to Trac, you'll be able to comment.

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Yet another bluetooth-related question (sorry)

2009-04-18 Thread Michał Sawicz
Dnia 2009-04-18, sob o godzinie 08:12 +0200, Erik Boritsch pisze:
 
 Unless gnome-bluetooth does matter that much, I'm completely puzzled.
 Hope you 
 can give me some directions.

What about module-bluetooth-discover? Do you have it loaded?

-- 
Michał Sawicz mic...@sawicz.net

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


Re: [pulseaudio-discuss] Multiple simultaneous sinks for a single stream

2009-03-10 Thread Michał Sawicz
Dnia 2009-03-09, pon o godzinie 22:45 -0500, Jud Craft pisze:
 Is this possible?  I haven't used Fedora in a month or two (which I
 regard as close to upstream as I dare to venture), but I recall that
 it was only possible to move a stream between sinks, as opposed to
 selecting different sinks for playback.

Read here http://www.pulseaudio.org/wiki/Modules#module-combine

-- 
Michał Sawicz mic...@sawicz.net

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