220 26272 <3560828.vAATzG8HgS@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: Sat, 11 Jun 2016 11:09:50 +0300
Lines: 89
Approved: news@gmane.org
Message-ID: <3560828.vAATzG8HgS@lastique-pc>
References: <5751B06A.4080501@mail1.stofanet.dk> <485D94E9-3386-4C2E-8C90-2AE821C3B7E6@gmail.com> <31D8D875-9842-4CC4-98C6-F75FD20155DE@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="nextPart97720920.6ZTK7XLkJK"
Content-Transfer-Encoding: 7Bit
X-Trace: ger.gmane.org 1465632602 12969 80.91.229.3 (11 Jun 2016 08:10:02 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 11 Jun 2016 08:10:02 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBUMO565AKGQEC52373I@isocpp.org Sat Jun 11 10:09:55 2016
Return-path: <std-proposals+bncBCXY5TXHWYJRBUMO565AKGQEC52373I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBUMO565AKGQEC52373I@isocpp.org>)
	id 1bBdzO-0007dR-9u
	for gclcip-std-proposals@m.gmane.org; Sat, 11 Jun 2016 10:09:54 +0200
Original-Received: by mail-lf0-f71.google.com with SMTP id k192sf38693663lfb.1
        for <gclcip-std-proposals@m.gmane.org>; Sat, 11 Jun 2016 01:09:54 -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=3UUUxs7may0t+4egFsqycr6Bna/GQRYhn9N9Iil9CoU=;
        b=NN05l9Z+aMkNqdr5O6T5991UtsQM0DCMDid9duFcCMlKeUqERsJkV4lnQyJNsQ9gd7
         LVEUaRewbEazJQC6Jp5oG3FE6jiEgvydvYCSA2aSjs/JRJyInodgBYP4ZwpCcevFQXJK
         sNy0bqNfuhMOeCz3WlhZatWilTXJdkPqCmypHx5nD2x6e1Mxf2kZvlmwwo+a0CLDAwGh
         9CZxznHEppN9sRyLaRTvoJ7172oJ7XeM/NtGUQ2h/w/M8Dm3EH9eNQYwGy4T11eEGRPK
         JRO5c8UiXnpB0/OMt502vH0rB5dLZ3W+PGFLNo/IIlzDftu7hVC3gDfiJEmdIrifHPFj
      
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=3UUUxs7may0t+4egFsqycr6Bna/GQRYhn9N9Iil9CoU=;
        b=WXwxG0iJzf3LJ+EFWSri4Hdz6tiNWcXR9EI9y3pBAVAT65Hs5JkdrDybelcJ1+/TS6
         WqKkM9aqvzwcgL4cXNzguuQ3fQXbY2yRVyetOY1MuvTnnOpMam2+pFg7iQp+Lus1tDTd
         ov6I+m2CTQAuz84HjsH5JYqknxPpYkKE5pXMuxvF6C+QOtBXag3/dEdycySfU+hARQ4c
         i70O6X+mmydmb96aeB7Jwlw5rHe5bcUQTnBh31vQyPmwnkDwxklKKmiOoD8ijx+lzflM
         PmH+A6ybMl2G7yDYBInsYXqnIZsULvrs2ESpQ5h7X5v82cKwwFTslCSIySJDXQXBj8tY
  
X-Gm-Message-State: ALyK8tL1ThkZ3PaRT+VIONqv2CJiDZJhXJNtQPNc+Y+xAgwDHsJ8k5YlgT7K7TDPCQU7Aw==
X-Received: by 10.25.201.129 with SMTP id z123mr833892lff.10.1465632593871;
        Sat, 11 Jun 2016 01:09:53 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.46.0.102 with SMTP id 99ls54116lja.88.gmail; Sat, 11 Jun 2016
 01:09:52 -0700 (PDT)
X-Received: by 10.25.165.2 with SMTP id o2mr1345557lfe.66.1465632592845;
        Sat, 11 Jun 2016 01:09:52 -0700 (PDT)
Original-Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com. [2a00:1450:4010:c07::235])
        by mx.google.com with ESMTPS id mq9si1608524lbb.136.2016.06.11.01.09.52
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 11 Jun 2016 01:09:52 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2a00:1450:4010:c07::235 as permitted sender) client-ip=2a00:1450:4010:c07::235;
Original-Received: by mail-lf0-x235.google.com with SMTP id u74so58260804lff.2
        for <std-proposals@isocpp.org>; Sat, 11 Jun 2016 01:09:52 -0700 (PDT)
X-Received: by 10.25.214.143 with SMTP id p15mr1313773lfi.95.1465632592489;
        Sat, 11 Jun 2016 01:09:52 -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 d126sm1602008lfd.45.2016.06.11.01.09.51
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Sat, 11 Jun 2016 01:09:51 -0700 (PDT)
User-Agent: KMail/5.1.3 (Linux/4.4.0-24-generic; KDE/5.18.0; x86_64; ; )
In-Reply-To: <31D8D875-9842-4CC4-98C6-F75FD20155DE@gmail.com>
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::235 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:26272
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26272>

This is a multi-part message in MIME format.

--nextPart97720920.6ZTK7XLkJK
Content-Type: text/plain; charset=UTF-8

On Saturday, 11 June 2016 11:03:41 MSK alexander.zywicki@gmail.com wrote:
> Or at least store a time point each time the stream is started using a clock
> with a well defined epoch, so that we might be able to find the length of
> time that the stream has been active and have meaningful measurements of
> time within the stream.

There is no need to have the epoch bound to the beginning of the stream to 
calculate its duration. Or any particular epoch at all. All you need is the 
timestamp of its first and last frames.

A fixed epoch becomes important when you try to synchronize multiple streams 
together. But even then it's not important what exactly is the epoch; what is 
important is that it has to be the same for all streams you are processing.

-- 
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/3560828.vAATzG8HgS%40lastique-pc.

--nextPart97720920.6ZTK7XLkJK
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 Saturday=
, 11 June 2016 11:03:41 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 at =
least store a time point each time the stream is started using a clock</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; with a=
 well defined epoch, so that we might be able to find the length 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; time t=
hat the stream has been active and have meaningful measurements 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; time w=
ithin the stream.</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;">There is no=
 need to have the epoch bound to the beginning of the stream to calculate i=
ts duration. Or any particular epoch at all. All you need is the timestamp =
of its first and last frames.</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;">A fixed epo=
ch becomes important when you try to synchronize multiple streams together.=
 But even then it's not important what exactly is the epoch; what is import=
ant is that it has to be the same for all streams you are processing.</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/3560828.vAATzG8HgS%40lastique-pc?utm_=
medium=3Demail&utm_source=3Dfooter">https://groups.google.com/a/isocpp.org/=
d/msgid/std-proposals/3560828.vAATzG8HgS%40lastique-pc</a>.<br />

--nextPart97720920.6ZTK7XLkJK--


.
