220 26137 <f2f04a5e-bdb0-4810-9a6c-e4e6de9db08e@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: mlal1811@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Any interest to adding audio support to the std library?
Date: Fri, 3 Jun 2016 09:47:54 -0700 (PDT)
Lines: 32
Approved: news@gmane.org
Message-ID: <f2f04a5e-bdb0-4810-9a6c-e4e6de9db08e@isocpp.org>
References: <5751B06A.4080501@mail1.stofanet.dk>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_992_2086859694.1464972475004"
X-Trace: ger.gmane.org 1464972580 23496 80.91.229.3 (3 Jun 2016 16:49:40 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 3 Jun 2016 16:49:40 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDG2JSELZQORBO7JY25AKGQEYF4SABQ@isocpp.org Fri Jun 03 18:49:32 2016
Return-path: <std-proposals+bncBDG2JSELZQORBO7JY25AKGQEYF4SABQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f199.google.com ([209.85.213.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDG2JSELZQORBO7JY25AKGQEYF4SABQ@isocpp.org>)
	id 1b8sGQ-0002O7-Eg
	for gclcip-std-proposals@m.gmane.org; Fri, 03 Jun 2016 18:48:02 +0200
Original-Received: by mail-ig0-f199.google.com with SMTP id lp2sf3763855igb.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 03 Jun 2016 09:48:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=XRb05RT5oSIiKYRZZtiSt/uYbpZt7hBNPZYduOJNB2Q=;
        b=oI725vnKmWMvXYzv8m4JK0QSpuwZ4YniPQnynrFzX3D+w2zj1jMfxEHYVwr6HWDkNu
         ppqAZacm+D7cnfx5ogTBDo1VlZ4L4OH16S+XCTZTbnZUp8LRDKmg6rC91F9Cfu4yOAVX
         Ff112giNIwqP7j+R6om3y9rhsIiqOyNdWQq1B1hIumHJPkh2mhTHauwsE5IB0BD4Uc5j
         Qcst4T5sGqriLgvjLBtcb+QYXwQLQ/mYooMRRfCooytgx7OvGp8wWjScIMn9bPLl1PI7
         1NH3t1GeQ/HAmg4AEVMTlJMwiOpf6eh8/9omJ87KmGzt/+vMP+7jbZxipWK59FpwV4fS
         z/XQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=XRb05RT5oSIiKYRZZtiSt/uYbpZt7hBNPZYduOJNB2Q=;
        b=THVP+sXJ28EjKzph02gSMgfpIXVO8OqHUAZ7Jhxfotu0WqAxmXuWrIcJPHvENZxFFQ
         lvkBjxgGGQhVDg9VKPtRAPudxM5V05sbF08tZVRQxu6fLdgg15JiRIYmwrpFyoTacQc2
         qyxq8XvLEVp6pULIjG5GErebjcd4QyBEq1aPJ/1o9CPD4Z87zrNTf74PY2TbiGgWTBi4
         UnkABOtVVUKcq+javAHFiU4u8yljgZgTRj/JZx7PgrzLhDpCH9L3JWT/lwHXApoRf6db
         IL+/y3CBcP06suZn8Ld14XRd1mo1qAds/5B2T1VLNNua1Z0jfKvDolsJK9M4FAAuUnyZ
         arvg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=XRb05RT5oSIiKYRZZtiSt/uYbpZt7hBNPZYduOJNB2Q=;
        b=VjCdp5v2/84nd3SBS2cfu+IeAtD3txxIFkq4mmKKsB6CKYpLERSkOImwzQmQs09dSB
         +X1xbOyZMCDBLO4RvY5TSeAECK3eJOqRtZGAUJUymRQsMSFOFl9JlRmOsiGM5CE2IC3f
         CivmcN7x3hrwAC2Pwjgp3D9N7BSZNW9iwZWLVghGGDJw6IH05mxrfb9Xfzd58iQyukv+
         yu8NDEDUJZe5FS3vB6w7w3nhIrbyf2uCMteZVPCRFoIJyyhKrOONdPUt59gkLY1c9H2r
         I6BZjMrBIF/hg5hJFMErB7g6PNjPTyii5vptJmZ6FRRhpTBeN8XN0jX1F/mbHJcOrdjV
         JfRQ==
X-Gm-Message-State: ALyK8tIc2XA0mfKpKt/bPYuqo58fg6ydZNB95mb42e6k1KKzmOZsIV73azCy+Y5vRYwk9w==
X-Received: by 10.157.7.202 with SMTP id 68mr3222948oto.35.1464972476554;
        Fri, 03 Jun 2016 09:47:56 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.8.100 with SMTP id 97ls382468ioi.18.gmail; Fri, 03 Jun
 2016 09:47:55 -0700 (PDT)
X-Received: by 10.36.105.74 with SMTP id e71mr25580itc.5.1464972475744;
        Fri, 03 Jun 2016 09:47:55 -0700 (PDT)
In-Reply-To: <5751B06A.4080501@mail1.stofanet.dk>
X-Original-Sender: mlal1811@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:26137
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26137>

------=_Part_992_2086859694.1464972475004
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I do tend to agree with you on your point of synchronous and asynchronous p=
rocessing models. Keep in mind that an audio system at least in a non embed=
ded context is already going to be an asynchronous system. I also agree tha=
t including higher level functionality such a dsp is not the right thing to=
 do here, BUT I do believe that a std audio library needs to include the bu=
ilding blocks for others to implement signal processing on their own. That =
was the intention of the "steam_process" class design. My overall design ab=
stracts from the typical audio library's implementation that gives you only=
 a callback and says go to work... I rather chose to think of audio in term=
s of source and destination and providing the user a way to interact with a=
udio at a callback level if so chosen. I do not intend to add audio algorit=
hmic functionality as part of the library. In the most basic example using =
my concept you could simply create a default context and route from std::ai=
m to std::aout to creat a duplex play through situation or route from std::=
sin to a file to record or a file to std::aout to play a file.

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/f2f04a5e-bdb0-4810-9a6c-e4e6de9db08e%40isocpp.or=
g.

------=_Part_992_2086859694.1464972475004--

.
