[pulseaudio-discuss] unable to play very small beep (.wav) sounds
himanshu.chug at gmail.com
Fri Aug 19 01:38:55 PDT 2011
I am able to get the small beep files working consistently using gst-launch
now by modifying tsched_buffer_size param of module-alsa-sink like:
load-module module-alsa-sink tsched_buffer_size=1024,
(buffer size is default to 2s)
I am using timer based tsched audio scheduling , on OMAP4 platform.
I have few questions:
Q1. how does this change affect my system, if I always make
tsched_buffer_size=1024? I suspect it may increase the power
consumption and increase the ALSA
wakeup's , if I reduce the buffer size and period like like this?
Q2. When the beep file is not played on speakers , I can see a lot of rewind
prints from PA
protocol-native.c: Requesting rewind due to rewrite. and it continues and
finally I got EOS from my gst pipeline
I need to know what is rewind ? and what triggers PA to make these rewinds?
and what is "rewrite" here in terms of pulseaudio?
(Just to remind you I can play the beep wav with paplay and pacmd
play-file, without any issues and without modifying the buffersize param.
so I am just confused whats going here ? )
Thanks in advance,
On Thu, Jul 28, 2011 at 1:55 PM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Thu, 2011-07-28 at 11:56 +0530, Himanshu Chug wrote:
> > Hi Tanu
> > I guess you are right, I am able to play the same beep.wav with paplay
> > pacmd play-file without any issues.
> > seems like issues with gstreamer (pulsesink? ) any hints .. ?
> Make sure you have the patches applied in your pulseaudio and gstreamer
> that are talked about in this thread:
> If you already have those, I don't have any further hints.
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss