220 26237 <1660798.4fr5peXh7P@lastique-pc> article
Path: news.gmane.org!not-for-mail
From: Andrey Semashev <andrey.semashev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Any interest to adding audio support to the std library?
Date: Fri, 10 Jun 2016 13:37:22 +0300
Lines: 91
Approved: news@gmane.org
Message-ID: <1660798.4fr5peXh7P@lastique-pc>
References: <5751B06A.4080501@mail1.stofanet.dk> <8e15e56a-73e1-452b-a564-b36aead468b8@isocpp.org> <bf9d23d9-657a-4c5d-8985-d3cd504f59f3@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="nextPart2332950.nM8NnqRuSA"
Content-Transfer-Encoding: 7Bit
X-Trace: ger.gmane.org 1465555060 8138 80.91.229.3 (10 Jun 2016 10:37:40 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 10 Jun 2016 10:37:40 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBZNQ5K5AKGQEMQL3YJI@isocpp.org Fri Jun 10 12:37:34 2016
Return-path: <std-proposals+bncBCXY5TXHWYJRBZNQ5K5AKGQEMQL3YJI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f71.google.com ([74.125.82.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBZNQ5K5AKGQEMQL3YJI@isocpp.org>)
	id 1bBJoh-0004P1-Po
	for gclcip-std-proposals@m.gmane.org; Fri, 10 Jun 2016 12:37:31 +0200
Original-Received: by mail-wm0-f71.google.com with SMTP id 4sf34449521wmz.1
        for <gclcip-std-proposals@m.gmane.org>; Fri, 10 Jun 2016 03:37:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=S7NU6q1ZWXc/cpQBrCI92Yp8vLtxT4mhYsKtW87a5QM=;
        b=e1Eu6h3OGnDNp4nf4o56uMyyHcBpXFbpq7AOYVdBg/l+6Cgol6/vQcB8FJ47nKSUa/
         CuTgLBqwsiZoxgkJjf8hIIlpXsI38fLuFUcKiMgzVz+lyGTluzwSLfWfp1c+xRs9bdsJ
         2GajHfTgJksFdIjPXvzzbowaanEQyHXU9HDWnhpi4zxcGjmcvdpYB3hlWcnTJNrucnlL
         j7yxmcp9M6GMMQGK2HG8FxAUReojKkUaS3Pl4Rqumm3kMNepZ9XKcl0lSTCgVZh9TIM+
         pjNG8lUEJKpMKt0WpCVM+tR7YD0C+1IeLuKx99oVGMYj0nJFFyhG/yfYi1qnNYJ/UuZr
      
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:content-transfer-encoding
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=S7NU6q1ZWXc/cpQBrCI92Yp8vLtxT4mhYsKtW87a5QM=;
        b=jK467AYInSFy4hyd1XQEcjRy42nfEFY1M3C+9LN57NTHcGfNjv/NYxuqNm4LvgpMPT
         m1YfZRW8I9Hr4luyHmeomVbTxV8XMhTRhwk8JxhFQZzJAnv4Crx+0wTCS0GctfIWTm7M
         oxPjhSnYRo3zHp7iKDBTbCbUD7s2UPyTmHLpfAaRuELSEhTYd1pOseH4wmym5ssdmdVf
         NsHM6Q0aQ0DunV/nYFZlYRUcKdXn5tEFEP4QPGqfgoGwZQnY3CBYLEM94L/W8t1E1/xu
         AkCxAbgVp0ydtrQ2krPucyaEgQrzgDJbobLUYQqw1LZdV0OeN1p/e31hmk9RLLMsbCl/
  
X-Gm-Message-State: ALyK8tJcAiLGPAfp0Iq/OaxV0nxgkncwcBzjFxmGmtDrI1oQRKqoqOmk2Vx1xxkZZHtyEA==
X-Received: by 10.28.40.195 with SMTP id o186mr2942365wmo.5.1465555046202;
        Fri, 10 Jun 2016 03:37:26 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.46.32.77 with SMTP id g74ls80585ljg.68.gmail; Fri, 10 Jun 2016
 03:37:25 -0700 (PDT)
X-Received: by 10.25.138.65 with SMTP id m62mr472997lfd.16.1465555045024;
        Fri, 10 Jun 2016 03:37:25 -0700 (PDT)
Original-Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com. [2a00:1450:4010:c07::22d])
        by mx.google.com with ESMTPS id j4si6582228lbe.34.2016.06.10.03.37.24
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 10 Jun 2016 03:37:25 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2a00:1450:4010:c07::22d as permitted sender) client-ip=2a00:1450:4010:c07::22d;
Original-Received: by mail-lf0-x22d.google.com with SMTP id u74so43389368lff.2
        for <std-proposals@isocpp.org>; Fri, 10 Jun 2016 03:37:24 -0700 (PDT)
X-Received: by 10.46.32.158 with SMTP id g30mr423459lji.28.1465555044747;
        Fri, 10 Jun 2016 03:37:24 -0700 (PDT)
Original-Received: from lastique-pc.localnet (broadband-90-154-68-136.nationalcablenetworks.ru. [90.154.68.136])
        by smtp.googlemail.com with ESMTPSA id 65sm1161613lja.41.2016.06.10.03.37.23
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Fri, 10 Jun 2016 03:37:23 -0700 (PDT)
User-Agent: KMail/5.1.3 (Linux/4.4.0-24-generic; KDE/5.18.0; x86_64; ; )
In-Reply-To: <bf9d23d9-657a-4c5d-8985-d3cd504f59f3@isocpp.org>
X-Original-Sender: andrey.semashev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 andrey.semashev@gmail.com designates 2a00:1450:4010:c07::22d as permitted
 sender) smtp.mailfrom=andrey.semashev@gmail.com;       dmarc=pass (p=NONE
 dis=NONE) header.from=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:26237
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26237>

This is a multi-part message in MIME format.

--nextPart2332950.nM8NnqRuSA
Content-Type: text/plain; charset=UTF-8

On Friday, 10 June 2016 13:36:48 MSK 
alexander.zywicki@gmail.com wrote:
> Or are we trying to define how to determine a specific 
timepoint that a
> specific frame corresponds to?
> 
> double start = fstart/frate;//timepoint that corresponds to the 
start of
> the frame
> double end = fend/frate;
> 
> double elapsed = end-start;//duration of frame?

Floating point types are definitely not the way to go for 
timestamps.

-- 
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/1660798.4fr5peXh7P%40lastique-pc.

--nextPart2332950.nM8NnqRuSA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-=
html40/strict.dtd">
<html><head><meta name=3D"qrichtext" content=3D"1" /><style type=3D"text/cs=
s">
p, li { white-space: pre-wrap; }
</style></head><body style=3D" font-family:'DejaVu Sans Mono'; font-size:9p=
t; font-weight:400; font-style:normal;">
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Friday, =
10 June 2016 13:36:48 MSK alexander.zywicki@gmail.com wrote:</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Or are=
 we trying to define how to determine a specific timepoint that a</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; specif=
ic frame corresponds to?</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; double=
 start =3D fstart/frate;//timepoint that corresponds to the start of</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; the fr=
ame</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; double=
 end =3D fend/frate;</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; double=
 elapsed =3D end-start;//duration of frame?</p>
<p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma=
rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nb=
sp;</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-rig=
ht:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Floating po=
int types are definitely not the way to go for timestamps.</p>
<p style=3D"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; ma=
rgin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nb=
sp;</p></body></html>

<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/1660798.4fr5peXh7P%40lastique-pc?utm_=
medium=3Demail&utm_source=3Dfooter">https://groups.google.com/a/isocpp.org/=
d/msgid/std-proposals/1660798.4fr5peXh7P%40lastique-pc</a>.<br />

--nextPart2332950.nM8NnqRuSA--


.
