220 26170 <4cfc7939-1ebf-415f-8ef4-d51e7cdadef5@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: alexander.zywicki@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 21:08:44 -0700 (PDT)
Lines: 76
Approved: news@gmane.org
Message-ID: <4cfc7939-1ebf-415f-8ef4-d51e7cdadef5@isocpp.org>
References: <5751B06A.4080501@mail1.stofanet.dk> <5290948.va25uYNizX@tjmaciei-mobl1>
 <CAEhD+6Ca=j3SaS5nC_Qe=6FGMdJLgpQd1LnGfiep8m9GrEU1jQ@mail.gmail.com>
 <1580229.cHEgQxCuA1@tjmaciei-mobl1> <CANh-dX=heKaWzvE+rk8FeCSTQyZ8-FR9UaGdam8quLaEuLJ=-A@mail.gmail.com>
 <62b7649a-5de5-4330-9bac-708375d36e2c@isocpp.org> <CAOcFa=fnWS=T2p6xgQ_EiCnVTmkSk_UrobDMYvXhaKi95cxrdQ@mail.gmail.com>
 <a27c2580-c766-4488-bc26-a7b15783e0fd@isocpp.org>
 <CAOcFa=ethRsOWP2QQeTtOdtQngEVdo5e29nX+SQAFzyxTdhJzA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_92_668365805.1465013324987"
X-Trace: ger.gmane.org 1465013370 29070 80.91.229.3 (4 Jun 2016 04:09:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 4 Jun 2016 04:09:30 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCS7TY6DTQOBBTVIZG5AKGQE5WJ4LJQ@isocpp.org Sat Jun 04 06:09:17 2016
Return-path: <std-proposals+bncBCS7TY6DTQOBBTVIZG5AKGQE5WJ4LJQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f200.google.com ([209.85.223.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCS7TY6DTQOBBTVIZG5AKGQE5WJ4LJQ@isocpp.org>)
	id 1b92tE-0006nJ-3i
	for gclcip-std-proposals@m.gmane.org; Sat, 04 Jun 2016 06:08:48 +0200
Original-Received: by mail-io0-f200.google.com with SMTP id w64sf42365902iow.1
        for <gclcip-std-proposals@m.gmane.org>; Fri, 03 Jun 2016 21:08:47 -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=H656uxES0v/tmboduqr+sVN2hWOOBC/0aeLUg/Pf2mM=;
        b=gX2cUQo3OcDAGz+3JvBHhS9vZW7WvW7O8fQVd4O4Ae/alWxzixJDDpOppmMgSdj9Qo
         LnEFhXFzwIU4pfR9hCOwqGmnFp4zaBTgpWSWerk13sfPatcbMChUDbDJaOAfOOQJCjwP
         nF9Cou6YHB0wOEPVWeWHvLET1AExY8j1NRgqrN+pQHyJei2ks+JzAYYhlx2Yx5Jw2MU3
         r3gj4B8leEo5E1G6CkiSaPLczZy4oOa6OmMzxQGdgq3U4wgxOEfTP8vuFICJJx3w7V1G
         +4u6AIO7+IEz9m3YauPNynoE9rTpmjtZiD0iOyUMtri/fPnb8LROqGZd9ocvdQ7JJzgx
         b2Sw==
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=H656uxES0v/tmboduqr+sVN2hWOOBC/0aeLUg/Pf2mM=;
        b=vRpcUapaz6Q7aWZil7B4EZRat+akHIeYPYXV2pEYwY7z0z9tN1qpr1cwtHCpd1g2VZ
         3t1tjndnoAkYRFzmj3ix2EoYT7wE55wCW5H3qfNEDlAHZPlirmi2cNPtkINxAZ5jZmNV
         4U4cQ6zwABCf7vuaYisczwcrj93aOEnyu0XSWona6aVDYyyEPTEDA9NF0qIll6DLVXgd
         +bJBG5+8qEl4sSwxuyZQEUIAqKSk/3tQTOamYAbdYKqe+kr5cMBAPxHkROzSjjP2wrbx
         tJ4DxJ/jDdYR1dFM+zJgMyncCPe5LwXP4M+U4ZXzKxNQZ18PImZDrT/OKoH3tXS3W0Vw
         dtKw==
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=H656uxES0v/tmboduqr+sVN2hWOOBC/0aeLUg/Pf2mM=;
        b=HDDbVibiTmLskU3SKXf8f0HG8iYrbiT7b8ebI6Y3SY7EAUsoRT+Y4smPowO9lk/jd8
         QfSB4wKmzdKnuLBn4eBEYHP5vWxn7KL2Sw5RLVEDeXhzA+KjBcSeB4hbp1OuDMgFOLax
         rz9i7gheRheY4BsKTa6a8wryOgzNMX5YGUHs7zr1K7Vhm5TxuCLnLRGUxIwvQkzbx6GP
         +CNv97tNan7aMEs2A51CHI7+nee413ohlZ316O9AW0xuHzPFIqcij/q1ZHGAEH1iFeh/
         O7Ol136IQ++PkEGdeLeLQZftkddPCAYJTl067JcPBEM9B2cfa/3LkW7bsYfvH9FyXZDy
         X7cA==
X-Gm-Message-State: ALyK8tJz3GIP1jJms8roCfBDz9fixpT+rKY1+EPi2L1uX6RF7MiK+zSAKL4H+RE/Zf88uA==
X-Received: by 10.157.26.120 with SMTP id u53mr4985592otu.25.1465013326874;
        Fri, 03 Jun 2016 21:08:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.48.77 with SMTP id w74ls585608iow.92.gmail; Fri, 03 Jun
 2016 21:08:46 -0700 (PDT)
X-Received: by 10.36.196.5 with SMTP id v5mr93440itf.4.1465013326058;
        Fri, 03 Jun 2016 21:08:46 -0700 (PDT)
In-Reply-To: <CAOcFa=ethRsOWP2QQeTtOdtQngEVdo5e29nX+SQAFzyxTdhJzA@mail.gmail.com>
X-Original-Sender: alexander.zywicki@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:26170
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26170>

------=_Part_92_668365805.1465013324987
Content-Type: multipart/alternative; 
	boundary="----=_Part_93_1962716670.1465013324987"

------=_Part_93_1962716670.1465013324987
Content-Type: text/plain; charset=UTF-8

I agree, how do you feel about the concept i proposed in my original about 
having std audio stream classes similar to std::fstream. The 
std::astream/iastream/oastream would represent the default audio device on 
the system as determined by some method of polling the system. The user 
could either choose to use them as is or manually select a different device?

On Friday, June 3, 2016 at 10:51:12 PM UTC-5, Ron wrote:
>
> Well, it needs to start somewhere.  I think having basic buffers using 
> std::array or plain old arrays might do for now and get some basic audio 
> recording and playback into C++.  It should be as simple as possible to get 
> to the interfaces on the machine and make them work.  The data processing 
> can build onto it with more complex primitives, templates and classes.  
> This way there is at least something semi-usable with code we have today 
> while the rest of the building blocks are being worked on.  Just a thought 
> though.
>
>
>
>

-- 
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 email 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/4cfc7939-1ebf-415f-8ef4-d51e7cdadef5%40isocpp.org.

------=_Part_93_1962716670.1465013324987
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I agree, how do you feel about the concept i proposed in m=
y original about having std audio stream classes similar to std::fstream. T=
he std::astream/iastream/oastream would represent the default audio device =
on the system as determined by some method of polling the system. The user =
could either choose to use them as is or manually select a different device=
?<br><br>On Friday, June 3, 2016 at 10:51:12 PM UTC-5, Ron wrote:<blockquot=
e class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: =
1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">Well, it needs to start=
 somewhere.=C2=A0 I think having basic buffers using std::array or plain ol=
d arrays might do for now and get some basic audio recording and playback i=
nto C++.=C2=A0 It should be as simple as possible to get to the interfaces =
on the machine and make them work.=C2=A0 The data processing can build onto=
 it with more complex primitives, templates and classes.=C2=A0 This way the=
re is at least something semi-usable with code we have today while the rest=
 of the building blocks are being worked on.=C2=A0 Just a thought though.<d=
iv><br></div></div><div><br><br></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/4cfc7939-1ebf-415f-8ef4-d51e7cdadef5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/4cfc7939-1ebf-415f-8ef4-d51e7cdadef5=
%40isocpp.org</a>.<br />

------=_Part_93_1962716670.1465013324987--

------=_Part_92_668365805.1465013324987--

.
