Re: question about audio samples 'from the past'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le Mon, 26 Dec 2011 10:18:58 +0100 (CET),
"iw3gtf@xxxxxxxxxx" <iw3gtf@xxxxxxxxxx> a écrit :

> Hi all,
> 
> I have a simple problem with my application using the alsa lib for
> audio but I cannot find
> 
> any simple and direct solution...
> 
> Is it possible to open a CAPTURE stream and get access to the 
> last, say, 4 seconds of samples?
> This means I want to open the capture 'now' and seek back to -4 
> seconds and get all the samples
> since then. This also means the kernel must read samples from the 
> soundcard all the time.

Samples from the past are by definition out in the air. Your
application must feed a large enough audio buffer (4 seconds of audio
samples).

Dominique

> 
> Thanks for your answers,
> 
> giorgio
> 
> 
> 
> 
> E' nata indoona: chiama, videochiama e messaggia Gratis. Scarica
> indoona per iPhone, Android e PC: http://www.indoona.com/ 
> 
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development.
> Create new or port existing apps to sell to consumers worldwide.
> Explore the Intel AppUpSM program developer opportunity.
> appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user


-- 
"We have the heroes we deserve."

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Free Dating Site]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux