All of lore.kernel.org
 help / color / mirror / Atom feed
From: ANISH KUMAR <anish.singh@samsung.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: MAHAMMADRAFI MANIYAR <maniyar@samsung.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	lrg@slimlogic.co.uk, lennart@poettering.net
Subject: Re: ALSA DMIX support without MMAP ?
Date: Mon, 18 Jan 2010 03:25:31 +0000 (GMT)	[thread overview]
Message-ID: <29151493.101581263785131632.JavaMail.weblogic@epml24> (raw)


> Actually i am working on soc platform(android-S3C6410) and wanted to
> use DMIX and some good resampler for my software mixing instead of
> current software mixing and resampling in upper layer(Above
> alsa-lib).DMIX is working fine but this resampling is causing some
> jitter.During rate conversion it looks for
> libasound_module_rate_speexrate.so which i don't have so its using
> default one causing the jitter.
>>Have you considered using PulseAudio for this?

 
Mark thanks for the suggestion and i checked out PulseAudio for my requirements.I found out that i don't need all the things in PulseAudio 
a. I just need good resampling code.Can i just use just the resampler code of pulseaudio(mine is mobile enviroment)?
b. Just want a good mixer at ALSA-LIB level.As of now this is provided by android framework but i want this to be done by ALSA-LIB so that i
    can replace with some good mixer later on(if i find that some other mixer is good).DMIX is providing that but it's not that good.
c.Jaroslav suggested to use sox resamplers but for that to work i have to get the sox resampler code(proper license) and need to build it for my system and link it  
   with corresponding functions of ALSA-LIB so that they can call relevant functions for resampling.As i am working on mobile domain i think i need to do the   
    integration of sox resampler code with ALSA-LIB for that to work??
   or 
   Can i just use the integrated sox library(some .so i guess) and change the asound.conf for using that library??Will this work??
d. I saw some check-ins related to Scenario Manager.As of now scenario manager functionality is also given in Android(we open a differnet
    device and the corresponding hooks for changing the routes dynamically) but i think if it given in alsa-lib switching will be much faster and this 
    will increase the system performance.

             reply	other threads:[~2010-01-18  3:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18  3:25 ANISH KUMAR [this message]
2010-01-18 11:01 ` ALSA DMIX support without MMAP ? Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2010-01-15 12:07 ANISH KUMAR
2010-01-15 13:37 ` Mark Brown
2010-01-14 10:30 ANISH KUMAR
2010-01-14 10:37 ` Jaroslav Kysela
     [not found] <0KW800IYGE3P07@ms13.samsung.com>
2010-01-14  9:55 ` Mark Brown
2010-01-13  9:46 ANISH KUMAR
2010-01-13 11:27 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29151493.101581263785131632.JavaMail.weblogic@epml24 \
    --to=anish.singh@samsung.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lennart@poettering.net \
    --cc=lrg@slimlogic.co.uk \
    --cc=maniyar@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.