Re: [pulseaudio-discuss] Pulse Audio Sample Cache & resampling

2007-02-13 Thread Lennart Poettering
On Mon, 12.02.07 13:35, keith preston ([EMAIL PROTECTED]) wrote: > I was wondering about a status update on getting a fixed point > resampler into pulseaudio. I heard some of this work was taking > place, but had not yet seen anything. I am interested in helping if > it would speed things along.

Re: [pulseaudio-discuss] Querying the number of samples played

2007-02-13 Thread Kevin Mescher
Thanks for the quick response. PulseAudio looks like a very robust API, and the cross-platform nature makes my job MUCH easier. I'm going to do a sanity check on my thinking here: Where each frame is a single sample from one or more channels: The number of "samples" (in this case, frames) = p

Re: [pulseaudio-discuss] Pulse Audio Sample Cache & resampling

2007-02-13 Thread keith preston
Ok, well I took a hack into pulling in these files into pulse audio (the ubuntu fiesty debian package of it). I took these files. http://svn.xiph.org/trunk/speex/libspeex/resample.c http://svn.xiph.org/trunk/speex/include/speex/speex_resampler.h The pulse audio code is written well and was easy

[pulseaudio-discuss] Sample Caching

2007-02-13 Thread keith preston
I have been working with sample caching and pulseaudio in an effort to try and get tones and beeps for user feedback. I have it working properly now, but I was wondering. It there any plans to expose pa_scache_add_file functionality across the native protocol, or other protocols? I'm essentia

[pulseaudio-discuss] channel_map problems with alsa

2007-02-13 Thread Alex Malinovich
Ok, so for the first time in about a year I can actually get sound out of all 4 speakers simultaneously. Yay! But, there's a problem. I'm using module-combine to combine alsa devices hw:0,0 and hw:0,1. The front and rear channels, respectively. Unfortunately, when I load module-alsa-sink for hw:0,

Re: [pulseaudio-discuss] Pulse Audio Sample Cache & resampling

2007-02-13 Thread Conrad Parker
On 14/02/07, keith preston <[EMAIL PROTECTED]> wrote: > I tried putting #define FIXED_POINT and #define OUTSIDE_SPEEX, and then > hackishly defining MULT16_16 and PSHR32. Now I get random noise. Jean-Marc > Valin, can you give a little info on the status of resample.c with respect > to FIXED_POIN

Re: [pulseaudio-discuss] Querying the number of samples played

2007-02-13 Thread Pierre Ossman
Kevin Mescher wrote: > Thanks for the quick response. PulseAudio looks like a very robust API, > and > the cross-platform nature makes my job MUCH easier. > Np. You shouldn't top post though, terribly annoying. > > I'm going to do a sanity check on my thinking here: > > Where each frame is a

Re: [pulseaudio-discuss] channel_map problems with alsa

2007-02-13 Thread Pierre Ossman
Alex Malinovich wrote: > Ok, so for the first time in about a year I can actually get sound out > of all 4 speakers simultaneously. Yay! But, there's a problem. > > I'm using module-combine to combine alsa devices hw:0,0 and hw:0,1. The > front and rear channels, respectively. Unfortunately, when