Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy

2009-12-22 Thread Lennart Poettering
ut Big Endian on an Intel > machine, which surprised me a little. Is that a bug or did I miss > something? Hmm, uh, that sounds like a bug. Could you give me a quick test case how I can reproduce this and file a bug? Lennart -- Lennart Poe

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-22 Thread Lennart Poettering
ying about the relation of X and console sessions is not true. On current distros it should not make much of a difference if you log into X or into the console. Only one instance of PA will be started and shared among all your sessions on your seat, be them X or the console. Lennart -- Lennart Poe

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-22 Thread Lennart Poettering
IE variables will be all the > root user (well libpulse really) will need to be able to access the > user's PA process. I don't see why anyone would want to have audio when changing to root for admin purposes. Playing music certainly does not fall under "admin purposes&qu

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-22 Thread Lennart Poettering
user, not root. A good example how this is fixed properly is gdm. The gdm login screen runs under its own gdm user which runs its own PA instance, and everything is good. So generally I believe playing audio back as root is just wrong. And unless someone convinces me otherwise (very unlikely) I don't

Re: [pulseaudio-discuss] Play/repeat a sample loaded on the pulseaudio server

2009-12-22 Thread Lennart Poettering
ct that looping pulls in a lot of other complexity if done properly. (i.e. keeping track of clients, api to stop looping, and so on) Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4

Re: [pulseaudio-discuss] Play/repeat a sample loaded on the pulseaudio server

2009-12-22 Thread Lennart Poettering
lso, I am still wondering if we might need more than simple looping, i.e. a prefix and a postfix sound as well... But yes, instead of cooking your own hacky client-side version of this I'd really like to see this properly integrated into the PA server. Lennart -- Lennart Poettering

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

2009-12-22 Thread Lennart Poettering
ons of g-v-c will most likely have some UI so that you may select the device specifically for some important roles (such as music, video, communication). Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG

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

2009-12-22 Thread Lennart Poettering
> I'd have to look at the code to answer 100% here, but certainly the > intention is that the sink is only saved if the user has actively > moved the sink (e.g. calls the appropriate API command). That is true. (And if it somewhere is handled diff

Re: [pulseaudio-discuss] How to disable mixer element IEC958 ?

2009-12-22 Thread Lennart Poettering
[Element IEC958] > switch = off > > I am at my wit's end. ;) That switch is normally controlled by the spdif:xxx alsa devices. Those devices are used when you select a digital output profile for the card meaning that the profile and the port selection will collide. Lennart --

Re: [pulseaudio-discuss] pa_stream_readable_size() returns 4294967295

2009-12-22 Thread Lennart Poettering
I guess > it's at least partially a matter of taste... Yes, that is true. > > Are there any other special values? > > I didn't write the code, but I'm quite sure that the answer is no. Yes, that is correct. The answer

Re: [pulseaudio-discuss] pa_stream_readable_size() returns 4294967295

2009-12-22 Thread Lennart Poettering
ches would be > appreciated? The latter. > Do the same apply to pa_stream_writable_size? Yes. We try our best to make things behave similarly for the various functions. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net ht

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 0.9.21

2009-11-22 Thread Lennart Poettering
On Mon, 23.11.09 06:07, Lennart Poettering (lenn...@poettering.net) wrote: > Heya! > > Mostly bug fixes, and the device manager module Colin worked on. This > is mostly relevant for KDE for now, but might see greater use > eventually. Since this module is relatively new its

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 0.9.21

2009-11-22 Thread Lennart Poettering
docs version -> 0.9.20 device-manager: Update docs version -> 0.9.20 build-sys: Fix missing trailing slash in 14eaf2 Lennart Poettering (8): rygel: fix itemCount property for sources daemon: complain if user passes too many arguments pulse: try to fix inac

Re: [pulseaudio-discuss] Bluetooth headset on Karmic

2009-11-13 Thread Lennart Poettering
On Fri, 13.11.09 20:55, Lennart Poettering (lenn...@poettering.net) wrote: > > On Fri, 13.11.09 15:39, Josu Lazkano (josu.lazk...@gmail.com) wrote: > > > Thanks for all again, I update from repository, but the same error: > > > > E: module-bluetooth-device.c: Failed

Re: [pulseaudio-discuss] Bluetooth headset on Karmic

2009-11-13 Thread Lennart Poettering
e. inside of bluetoothd, in the kernel, in the dongle or in your headset. Please contact the bluez folks, and provide them with the output of "bluetoothd -nd" when this problem happens as well as dmesg. I fear we cannot help you much on this. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] Questions about multiple channel volume control

2009-11-12 Thread Lennart Poettering
; parameters. I am not convinced we want to show the user gazillions of old clients he used years ago. Aynway, I guess this boils down to this: the server already supports this. The available UIs doesn't and shouldn't in my opinion. However you are welcome to write your own UI that does co

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 0.9.20

2009-11-11 Thread Lennart Poettering
t fix Diego Elio Pettenò (1): Fix build when using -fweb, accept both register and memory constraints. Lennart Poettering (29): bluetooth: don't set auto_connect flag when discovering bt devices alsa: disable period event only with tsched=1 position-event-sounds: never pos

Re: [pulseaudio-discuss] Pulseaudio symlink causing problem with CIFS-mounted home directory

2009-11-11 Thread Lennart Poettering
Unix extensions for CIFS the way Samba supports them. http://kbase.redhat.com/faq/docs/DOC-4862 Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4

[pulseaudio-discuss] [PACKAGERS] More formal branch policy

2009-11-11 Thread Lennart Poettering
ugh if you want to stay informed, especially regarding updates to other packages. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaud

Re: [pulseaudio-discuss] pulseaudio to airport express on ubuntu jaunty

2009-11-10 Thread Lennart Poettering
s click on checkbox in "paprefs". That tool will also automatically install the necessary RAOP packages if they are missing. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/len

Re: [pulseaudio-discuss] Module-combine adjust time question

2009-11-09 Thread Lennart Poettering
y play anything for a longer time. i.e. that means no music and not movies... Only event sounds... And for those you want the extra high quality? If you care about quality simply pick the highest libsamplerate implementation and you should be fine... Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] volume-independence on secondary output devices

2009-11-09 Thread Lennart Poettering
ted in g-v-c or selected as "Fallback" in pavucontrol (as mentioned by other folks already). If that does not work please file a bug. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.ne

Re: [pulseaudio-discuss] broken detection of vm

2009-11-09 Thread Lennart Poettering
uld be simple though. If I am able to find a 32bit machine I'll prep a fix shortly. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___

Re: [pulseaudio-discuss] Howto debug "Connection refused" problem

2009-11-09 Thread Lennart Poettering
just something missing for some versions in the middle. However I generally can only recommend running the same client and server version together, as that is the only thing I test, and we don't have the testing or bugfixing manpower to support any other combinations prope

Re: [pulseaudio-discuss] [RFC][PATCH] CoreAudio: add device detection module

2009-11-03 Thread Lennart Poettering
goto fail; > +} Hmm, how are these event callbacks called? From a background thread? Or is this hooked up to the event loop in some way? Or is this only one-time during initialization? Otherwise looks good. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at]

Re: [pulseaudio-discuss] sink/source implementation for pull-io audio processing

2009-11-03 Thread Lennart Poettering
un inside the RT thread CoreAudio maintains? That means to things: firstly, there needs to be a way to wake up the RT thread from another thread, and secondly that some arbitrary code can be executed in the RT thread then. Lennart -- Lennart PoetteringRed Hat, Inc. le

Re: [pulseaudio-discuss] Generic device names in pavucontrol

2009-11-03 Thread Lennart Poettering
roller (rev 60) Hmm, apparently the assumption we made regarding PCI Bus #0 is bogus. Hmm, could you provide me with the full lspci -vv output, please? Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/

Re: [pulseaudio-discuss] [Surround 5.1] distorted audio because of too high volume levels

2009-11-03 Thread Lennart Poettering
the volume of all 6 [Master, (PCM), Front, Surround, > Center, LFE] mixer elements, then my problem would also disappear. This is actually what happens. See the same text for an explanation how that works. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering

Re: [pulseaudio-discuss] possible headphone bug: pulse or ALSA?

2009-11-03 Thread Lennart Poettering
en, than it is hence unlikely that this is PA's fault and you should file a bug against ALSA. Thanks, Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4

Re: [pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends

2009-11-03 Thread Lennart Poettering
On Sun, 01.11.09 20:16, Daniel Mack (dan...@caiaq.de) wrote: > > On Sat, Oct 31, 2009 at 01:41:19AM +0100, Lennart Poettering wrote: > > On Mon, 19.10.09 12:45, Daniel Mack (dan...@caiaq.de) wrote: > > > > > > And clock_gettime we don't really need either. We

Re: [pulseaudio-discuss] possible headphone bug: pulse or ALSA?

2009-11-03 Thread Lennart Poettering
ings work for you? The jack sensing situation is a big big mess. There are two ALSA APIs being discussed for this right now, different drivers implement things differently, there is hw switching and sw switching and everything is very confusing. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] Generic device names in pavucontrol

2009-11-03 Thread Lennart Poettering
nd that's it. /me wonders how I could fix PA now without losing the generic names... Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pu

Re: [pulseaudio-discuss] Generic device names in pavucontrol

2009-11-03 Thread Lennart Poettering
/lib/udev/rules.d/78-sound-card.rules. You should be able to drop that special label by commenting a rule in that file. Ideally however I'd like to see this fixed properly, i.e. I am wondering if there is some way so that we can safely identify internal sound cards even for setups like yo

Re: [pulseaudio-discuss] possible headphone bug: pulse or ALSA?

2009-11-03 Thread Lennart Poettering
ontrol in 0.9.16 and newer, however this is probably not going to fix your jack sensing, rather break it even further ;-) If you want to know what PA does to your mixer in 0.9.16 read this: http://pulseaudio.org/wiki/PulseAudioStoleMyVolumes https://tango.0pointer.de/pipermail/pulseaudio-discuss/20

[pulseaudio-discuss] [PACKAGERS] What PulseAud io does to your low-level mixer controls ¶

2009-11-02 Thread Lennart Poettering
hat is going on, and why this makes sense. And if it should indeed turn out that something's wrong what to do about it. If you are a packager and need to work your way through some kind of bugzilla every day this might be useful for a canned response. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] Pulseaudio locked after modifying /etc/modprobe.d/alsa-base

2009-11-02 Thread Lennart Poettering
idea. Don't do it. Use device names. Also, please don't send HTML email to this mailing list, thanks! Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-11-02 Thread Lennart Poettering
than one property in it? Yes, you may. Added that to the wiki page now. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaud

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
On Fri, 30.10.09 22:13, Brian J. Murrell (br...@interlinx.bc.ca) wrote: > On Fri, 2009-10-30 at 19:28 -0400, Daniel Chen wrote: > > On Fri, Oct 30, 2009 at 7:26 PM, Lennart Poettering > > wrote: > > > Dunno, maybe the PA backend for libcanberra is not installed? Ub

Re: [pulseaudio-discuss] Problem using the Simple API

2009-10-30 Thread Lennart Poettering
On Fri, 30.10.09 18:07, eric (ekilf...@gmail.com) wrote: > On Fri, Oct 30, 2009 at 5:49 PM, Lennart Poettering > wrote: > > > I am sorry, but I still have not understood what exactly is happening > > that you don't expect to be happening, resp. what exactly is not >

Re: [pulseaudio-discuss] [PATCH] configure.ac: enable check for CoreAudio

2009-10-30 Thread Lennart Poettering
On Sat, 31.10.09 01:58, Daniel Mack (dan...@caiaq.de) wrote: > diff --git a/configure.ac b/configure.ac > index ca6eaca..83983c3 100644 > --- a/configure.ac > +++ b/configure.ac Thanks! Applied! Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poe

Re: [pulseaudio-discuss] [PATCH] cli: handle platforms with O_CLOEXIT undefined

2009-10-30 Thread Lennart Poettering
ve applied a number of patches yesterday that get rid of O_CLOEXEC entirely, and replaced it with a central function pa_open_cloexec() that portably uses it if it is available and otherwise falls back to fcntl(). If you update your tree from current git this problem should be fixed for you... Lennart

Re: [pulseaudio-discuss] realpath segfault

2009-10-30 Thread Lennart Poettering
HTML mails), and disable line breaking. For a simple patch like this one I have now manually fixed this, but if a patch is more complex that is a messy work. Thanks, Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.

Re: [pulseaudio-discuss] Problem using the Simple API

2009-10-30 Thread Lennart Poettering
horter buffer. Shorter buffer means you get less data at a time. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaudio-discuss mailing l

Re: [pulseaudio-discuss] [PATCH 2/4] Mac OS X: add semaphore implementation

2009-10-30 Thread Lennart Poettering
On Mon, 19.10.09 12:48, Daniel Mack (dan...@caiaq.de) wrote: > Ok, done. See the patch below. Thanks! Looks good. Applied! This isn't hooked up in the Makefile yet. (btw, a side note: we aren't the kernel, we don't use Signed-off-by in our git tree) Thanks, Lennart --

Re: [pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends

2009-10-30 Thread Lennart Poettering
onder if this wouldn't be mre suitable for our needs? The epoch of CLOCK_MONOTONIC is not defined, but usually system bootup, so this would match more closely, and uptime should be strictly monotonic, too. Thanks for your work, Lennart -- Lennart PoetteringRed Hat,

Re: [pulseaudio-discuss] Problem using the Simple API

2009-10-30 Thread Lennart Poettering
immediately after opening. I am sorry, please elaborate on what exactly here doesn't work as expected? Note that PA can return data to you that was recorded *before* your stream actually was created. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
stalled? Ubuntu really should install that by default. It's kinda disappointing if they don't. Please file a bug against Ubuntu. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015C

Re: [pulseaudio-discuss] /.

2009-10-30 Thread Lennart Poettering
robably > see in a half year when distributions have picked it up again. Right. Of course the distribution folks, the Nokias, Palms and Intels of this world are clueless idiots, and you know things better than they do. Come down! Lennart -- Lennart Poettering

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

2009-10-30 Thread Lennart Poettering
On Wed, 28.10.09 22:53, Brian J. Murrell (br...@interlinx.bc.ca) wrote: > Disclaimer: I don't really have any skin in this game so you can tell me > I'm stupid or whatever you want, however... > > On Mon, 2009-10-26 at 16:05 +0100, Lennart Poettering wrote: > > >

Re: [pulseaudio-discuss] I added a wiki section for pulse based projects and software

2009-10-30 Thread Lennart Poettering
shouldn't it? It's criminally out-of-date though... Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaudio-discuss mailing list pu

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
On Fri, 30.10.09 10:54, Jeremy Nickurak (jer...@nickurak.ca) wrote: > On Thu, Oct 29, 2009 at 19:11, Lennart Poettering > wrote: > > This is admittedly a problem, but I kinda hope that it will fix > > itself by applications tagging event sounds properly. Even for legacy > &

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
On Fri, 30.10.09 08:15, Brian J. Murrell (br...@interlinx.bc.ca) wrote: > On Fri, 2009-10-30 at 02:11 +0100, Lennart Poettering wrote: > > > > This is admittedly a problem, but I kinda hope that it will fix > > itself by applications tagging event sounds properly. > &

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
> Then the code in metacity should probably be updated to either: > a) Use libcanberra and trigger either "bell-terminal" or > "bell-window-system" sound events (recommended) It already does that. And has been doing for about always. I prepped the patch for t

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-30 Thread Lennart Poettering
so briefly in > pavucontrol it says: > > ALSA plug-in [metacity] Uh. What distro is this? metacity has been supporting libcanberra for ages. Please ask your distributors to update their packages from time to time, at least every year or so. Things are a lot more fun then! Lennart -- Lenna

Re: [pulseaudio-discuss] [PATCH] attach X11 properties to Screen, not Display

2009-10-29 Thread Lennart Poettering
On Tue, 27.10.09 19:57, Leszek Koltunski (les...@koltunski.pl) wrote: > 1) Formatting corrected > 2) Fallback to screen 0 added. It works: Thanks a lot! Applied. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/l

Re: [pulseaudio-discuss] setting a volume on a short lived stream

2009-10-29 Thread Lennart Poettering
dn't be better spend in fixing the applcitions in question to tag their streams properly. I think generally only event sounds are short-lived anyway (at least noone was ever able to give me a convincing counter-example). Lennart -- Lennart PoetteringRed Hat, Inc.

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

2009-10-29 Thread Lennart Poettering
not entirely sure how to implement this best. Just piping that file to pacmd is not enough since we need to do variable substitution. I haven't fully made my mind up on this yet. Lennart -- Lennart PoetteringRe

Re: [pulseaudio-discuss] regression with tsched=0 and small fragments?

2009-10-28 Thread Lennart Poettering
led as part of the normal setup these days and dumped to stderr when debug logging is on. the snd_pcm_dump() output looks like this: http://fpaste.org/X9Vh/) Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [d

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

2009-10-27 Thread Lennart Poettering
On Tue, 27.10.09 16:39, Jeremy Visser (jer...@visser.name) wrote: > On Mon, 2009-10-26 at 16:05 +0100, Lennart Poettering wrote: > > > NVidia offers two ways to do it: you can setup the second monitor to be > > > what > > > they call a "separate X screen"

Re: [pulseaudio-discuss] Interaction between applications and Pavucontrol

2009-10-26 Thread Lennart Poettering
hat the latency of the device is lowered, i.e. the same effect that setting tlength to a smaller value with the ADJUST_LATENCY flag set. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/

Re: [pulseaudio-discuss] PulseAudio unstable on Ubuntu Karmic 9.10

2009-10-26 Thread Lennart Poettering
the underlyng hw buffer. Normally, the sw and hw buffers should have the same size, but the smaller you pick your latency the more sw buffer is used in comparison the hw buffering. Hmm, I am a bit puzzled by this. Are the sources open for your stuff? Can i build that locally without too much o

Re: [pulseaudio-discuss] [PATCH] attach X11 properties to Screen, not Display

2009-10-26 Thread Lennart Poettering
se I cannot apply your patches here. Patches formatted with git format-patch are preferred btw, Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _

Re: [pulseaudio-discuss] [PATCH] attach X11 properties to Screen, not Display

2009-10-26 Thread Lennart Poettering
y ":0.1" -f PULSE_SESSION_ID 8s -set > PULSE_SESSION_ID > 571eae318b6377f95367e6524abdec09-1256566213.375419-376893987 > > ..and everything works! That prop is added by module-publish-x11 and is simply used to make sure that the module on unload does not kill th

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

2009-10-26 Thread Lennart Poettering
h fabricated. > Going for 'seperate sound sink for each monitor' first of all would require > a radical redesign of Pulse, and second would not result in much additional > benefit ( only Xinerama people would potentially gain, but those do not need > this functionality anyway

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

2009-10-25 Thread Lennart Poettering
ommon case is to have one screen with multiple monitors. And that's what we should optimize for. But hey, a clean patch can be a very convincing argument. Walk the walk, don't talk the talk! Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poetterin

Re: [pulseaudio-discuss] question to recording with pa.

2009-10-25 Thread Lennart Poettering
tty on FP, so I'd try to stay away from the float resamplers for the Atom. Try speex-fixed-1 or so. Verifying perfomance with "top" is not exactly the most scientific way to do this... You might want to use oprofile or some other profiler t

Re: [pulseaudio-discuss] question to recording with pa.

2009-10-25 Thread Lennart Poettering
> module-stream-restore.id = > "source-output-by-application-name:gst-launch-0.10" This shows only the source output (i.e. stream) info, not the source (i.e. device) info. Please include that as well. Only then we can now if resampling takes place or not. Lenna

Re: [pulseaudio-discuss] Suggestion for dbus communication with JACK

2009-10-25 Thread Lennart Poettering
On Wed, 21.10.09 06:43, Ng Oon-Ee (ngoo...@gmail.com) wrote: > > On Tue, 2009-10-20 at 16:45 +0200, Lennart Poettering wrote: > > On Tue, 20.10.09 12:26, Ng Oon-Ee (ngoo...@gmail.com) wrote: > > > > > Quick suggestion, in latest pulse and latest jack pulse will g

Re: [pulseaudio-discuss] Desperation with idling

2009-10-25 Thread Lennart Poettering
of > having silence and having sound. http://pulseaudio.org/wiki/LatencyControl Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulse

Re: [pulseaudio-discuss] Volume not adjustable

2009-10-25 Thread Lennart Poettering
ainst your audio driver and ask them to fix the routing or labelling of this mixer control. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _

Re: [pulseaudio-discuss] PulseAudio ignores X11 properties of screens

2009-10-25 Thread Lennart Poettering
t get why you do that. So personally I am not too concernced with fixing this. So if you want to see this fixed, then please provide a patch! Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC

Re: [pulseaudio-discuss] Hide a soundcard from pulseaudio?

2009-10-25 Thread Lennart Poettering
pavucontrol or gnome-volume-control and select the "Off" profile for the card in question and PA will ignore it from then on. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/

Re: [pulseaudio-discuss] Suggestion for dbus communication with JACK

2009-10-20 Thread Lennart Poettering
tion logic itself because that is supposed to be generic and also doesn't tell us anything about when Jack is fully up and running. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.n

Re: [pulseaudio-discuss] Desperation with idling

2009-10-20 Thread Lennart Poettering
zing wakeups minimizes power consumption. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 ___ pulseaudio-discuss mailing list pulseaudio-discuss@

Re: [pulseaudio-discuss] question to recording with pa.

2009-10-20 Thread Lennart Poettering
e any way to have multiple default rates? > My sound card support 32000,44100,48000 ... and i think it's really sad > if pa resample 48000 down to 44100.. it's more about cpu, not quality. This doesn't fly, see my explanations here: https://tango.0pointer.de/pipermail/pulseaudio

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

2009-10-19 Thread Lennart Poettering
ointed out, the X11 props stuff is what you want. Try something along these lines: $ pax11publish -D :0 -O foobar -e $ pax11publish -D :1 -O waldo -e Where foobar and waldo are the two logical PA sink names to use. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] p

Re: [pulseaudio-discuss] Windows7 audio architecture

2009-10-19 Thread Lennart Poettering
wn, without entirely relying on the audio policy Yepp, we have that too. This is now even forwarded through Gst. But to my knowledge no gst consumer makes use of that yet. > - Apps can prevent automatic volume modifications or docking if they > don't fell this is relevant for their cont

Re: [pulseaudio-discuss] optimal app/Pulse data transfers?

2009-10-18 Thread Lennart Poettering
ry? Things are not designed so that this would be a good idea. i.e. we take the liberty to shift around memory if we want to. That is blocked while you have this write standing out. OTOH you might get away with blocking it for indefinite time, but really, that's not how its supposed to be use

Re: [pulseaudio-discuss] Windows7 audio architecture

2009-10-18 Thread Lennart Poettering
s sure they don't misuse that. The whole idea is very similar to what MS decided to do, except that rtkit is a bit less crackish I guess. ;-) Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.

Re: [pulseaudio-discuss] Windows7 audio architecture

2009-10-18 Thread Lennart Poettering
tween devices during playback and automatic per-role routing seem to be the big new features in Windows7 audio. And we had that for a longer time now already ;-) /me will blog about that... Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net h

Re: [pulseaudio-discuss] Blueman "failed to initialize pulseaudio bluetooth module"

2009-10-16 Thread Lennart Poettering
hd -nd" gives you more debug output and might tell you what triggered this. But generally, given that this error is actually "behind" the bluetooth socket, I'd ping the bluez folks about this. Lennart -- Lennart PoetteringRed Hat, Inc. le

Re: [pulseaudio-discuss] stream_started_callback userdata bug

2009-10-16 Thread Lennart Poettering
one of my machines the mailq got stuck a year ago and I only noticed that now. So I flushed it which caused all kinds of mail I wrote during the last year to get delivered. Fun. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lenn

Re: [pulseaudio-discuss] Desperation with idling

2009-10-15 Thread Lennart Poettering
e "pacmd ls" to verify the current state of a sink. As long as it is not marked as "SUSPENDED" you should get audio, and if there is nothing playing you should get silence, but you really should get it. Lennart -- Lennart PoetteringRed Hat, I

Re: [pulseaudio-discuss] Suggestions for enhancement of pulseaudio

2009-10-15 Thread Lennart Poettering
)s. Evil stuff. Don't do that. In times of laptops, netbooks and mobile devices running Linux you really don't want wakeups unless there's really something to do. Because that is the most expensive thing you can do power-consumption-wise. Lennart --

Re: [pulseaudio-discuss] master volume check

2009-10-15 Thread Lennart Poettering
RT_MUTED. Connect to all streams and on > a playback event check if any has this stream state ? clutching at straws to > be honest. long time since I toyed with C API's. No need to bother with that flag. The introspection APIs should offer all you need. Hope this helps! Len

Re: [pulseaudio-discuss] stream_started_callback userdata bug

2009-10-15 Thread Lennart Poettering
tag, > request_auto_timing_update(s, TRUE); > > if (s->started_callback) > -s->started_callback(s, s->suspended_userdata); > +s->started_callback(s, s->started_userdata); > > finish: > pa_context_unref(c); Lennart -- Lenn

[pulseaudio-discuss] [ANNOUNCE] pavucontrol 0.9.10

2009-10-14 Thread Lennart Poettering
'Flameeyes' Pettenò (2): Add missing source file to POTFILES.in. Require at least PulseAudio 0.9.16. Lennart Poettering (4): build-sys: require at least gtkmn 2.16 run make update-po add ja to LINGUAS build-sys: prepare 0.9.10 anipeter (2):

Re: [pulseaudio-discuss] Volume Restore

2009-10-12 Thread Lennart Poettering
umes enabled; hopefully someone will explain it here. > If they do, I will add this to the FAQ on the PA wiki. I'd appreciate if you'd keep anti-PA FUD out of the FAQ. Thanks. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http:

Re: [pulseaudio-discuss] Volume Restore

2009-10-12 Thread Lennart Poettering
ng? Thanks Which PA version is this? In recent versions of PA you can enable verbose mode and it will then tell you which app changes the volume when. This can be used to track down broken applications that reset the volume on startup, where they better shouldn't. Lennart -- Lennart Poetteri

Re: [pulseaudio-discuss] Build w/o DBus

2009-10-12 Thread Lennart Poettering
On Thu, 08.10.09 08:45, Daniel Mack (dan...@caiaq.de) wrote: > The current git head does not build without DBus libraries installed. > Does the patch below look suitable? Thanks! Applied. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] ne

Re: [pulseaudio-discuss] Example using async API

2009-10-12 Thread Lennart Poettering
On Fri, 09.10.09 23:14, Nix (n...@esperi.org.uk) wrote: > On 7 Oct 2009, Lennart Poettering said: > > Security updates is the job of distributions. If we encounter a > > security issue I contact the packagers I know and tell them which > > patch to backport. > > T

Re: [pulseaudio-discuss] Desperation with idling

2009-10-12 Thread Lennart Poettering
stand what you want to do and what doesn't work as expected I cannot help you. Please explain your problem in a way that is understandable even for people who don't know the context of the project your are working on. Lennart -- Lennart PoetteringRed

Re: [pulseaudio-discuss] Suggestions for enhancement of pulseaudio

2009-10-07 Thread Lennart Poettering
lso add a module that will be able to autoswitch profiles based on the streams connecting to a sink/source/card. This may then be used to implement a scheme like what you suggest, even though I don't think it makes much sense. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] pulse support not working properly in application on F12,

2009-10-07 Thread Lennart Poettering
ss the following two includes are added: > #include > #include Fixed. > > This is taking wyyy too long. It is peripheral to the purpose of > my app, and I'd rather be adding new features. So I would be grateful > for any insight. Is your software Free Software?

Re: [pulseaudio-discuss] Example using async API

2009-10-07 Thread Lennart Poettering
On Wed, 07.10.09 19:01, Jeremy Visser (jer...@visser.name) wrote: > > On Tue, 2009-10-06 at 00:37 +0200, Lennart Poettering wrote: > > If you are a user then you should use tha PA version that is shipped > > with your distro. If you want a newer version, then upgrade your >

[pulseaudio-discuss] [READTHIS] Latency Control

2009-10-06 Thread Lennart Poettering
Heya, If you don't read my blog you probably aren't aware of this little guide I just wrote: http://pulseaudio.org/wiki/LatencyControl Now you are, so read it! Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poettering [dot] net http://0pointer.n

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

2009-10-05 Thread Lennart Poettering
the device, and then tell your app to use the low-level spdif-pass-thru directly. How that is configured has nothing to do with PA, and in fact stays exactly the same whether you run PA or not. Lennart -- Lennart PoetteringRed Hat, Inc. lennart [at] poet

Re: [pulseaudio-discuss] redirecting audio from SAA7134 tv card

2009-10-05 Thread Lennart Poettering
is no commercial interest pushing Linux support the drivers are limited. Also, I don't have a TV, no TV antenna, no TV cable, so this is really not among the things I regularly test. Sorry. Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] Example using async API

2009-10-05 Thread Lennart Poettering
tstrap.sh $ make -j4 $ cd src $ ./pulseaudio And of course one should be able to read the output of configure and be able to install the missing deps. All the lines above should be pretty standard and are basically the same for every Linux package. Lennart -- Lennart P

Re: [pulseaudio-discuss] Example using async API

2009-10-05 Thread Lennart Poettering
On Tue, 06.10.09 06:49, Ng Oon-Ee (ngoo...@gmail.com) wrote: > > On Tue, 2009-10-06 at 00:37 +0200, Lennart Poettering wrote: > > If you are a user then you should use tha PA version that is shipped > > with your distro. If you want a newer version, then upgrade your > &

<    1   2   3   4   5   6   7   8   9   10   >