220 26147 <CAEhD+6DqBNjzGzV_AJbVH57suEmviFm9XK7fPtE+Ffdk5qsgOg@mail.gmail.com> 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, 4 Jun 2016 01:37:34 +0300
Lines: 31
Approved: news@gmane.org
Message-ID: <CAEhD+6DqBNjzGzV_AJbVH57suEmviFm9XK7fPtE+Ffdk5qsgOg@mail.gmail.com>
References: <5751B06A.4080501@mail1.stofanet.dk> <4539123.eWIb3U4yhc@lastique-pc>
 <20160603211341.4915281.1974.11611@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1464993458 24351 80.91.229.3 (3 Jun 2016 22:37:38 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 3 Jun 2016 22:37:38 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCXY5TXHWYJRBL4NZC5AKGQE7GEFJXY@isocpp.org Sat Jun 04 00:37:38 2016
Return-path: <std-proposals+bncBCXY5TXHWYJRBL4NZC5AKGQE7GEFJXY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f197.google.com ([209.85.220.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBL4NZC5AKGQE7GEFJXY@isocpp.org>)
	id 1b8xij-0002Dc-IS
	for gclcip-std-proposals@m.gmane.org; Sat, 04 Jun 2016 00:37:37 +0200
Original-Received: by mail-qk0-f197.google.com with SMTP id g77sf228656717qke.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 03 Jun 2016 15:37:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :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=EWbZtSD6rmjWL7woVIp8k3V9sLDBiyMuGFL3orlDgxY=;
        b=i9dj6Apt1xwKTEmqqhhr2vhXoCIKzhVOLe/5t7bupemE+y253d8M4XsU7ZmuBxQtBD
         9LBzdUUBuTky1c2FoBbcENXPskhnvkzHPGpc4zAeK+fbaoQ+fvcvgvyBFeQbR8ynKAeR
         pvAoLu6E98OErtzENfhk6g4lTEYAdeWumWrCylPuXwfkV1HiLn+QiikwujLHbLIg/eRj
         vPEwMpne9OTXD5FUzF5vQcFs7K2IGWbvpJ8bOw9GSUVcIEQ5PlHIemAC7TNVkVhoiK4K
         wnlZmXG7ZEXYa5cJLYUHUHXnebJMaqjeO7DyRWzR+R6Mo97RiR7coQB/2rYrCfK14vpO
         TPiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to: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=EWbZtSD6rmjWL7woVIp8k3V9sLDBiyMuGFL3orlDgxY=;
        b=R8XNdWYrhTdpEgrcNaTzhPmTctyUPKUGrQetMxOeNVEfQilBH+mI+1acT61uNWHEcH
         O8TajOJedlxxOJzmkJCVYY8EMVhWMZjjXdKEO5j5BSVbc5goPE+Z7N5hNVSV759GIQqn
         WOBjWoP+67IQ+xTwr+AltqTdbgYzzCFWwbMhNhbYNaiMGF1tHeNDA40grIHaxY5tcDzz
         wg1mgitGG3eyBylk/IkNP7W4jRZBF9pji2c7MLl/WS0R4VxrlrGYhJ2ZgiXgrde3+UPG
         UpZgMtjcuoylhbAWR2tVcyLKwWxh/P09F/P+/bPFZrHiLKtkgat8VyjzM8h81E3oQa7O
         K/pA==
X-Gm-Message-State: ALyK8tI0ZG/Hmemz7tjiDfFFs6mnVDaE0k3lklxx4oyC5A1wm5wFNfjfVo6guOfh3d+dJg==
X-Received: by 10.129.72.209 with SMTP id v200mr4305161ywa.58.1464993456648;
        Fri, 03 Jun 2016 15:37:36 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.50.3 with SMTP id y3ls119894ioy.64.gmail; Fri, 03 Jun 2016
 15:37:35 -0700 (PDT)
X-Received: by 10.107.142.137 with SMTP id q131mr8965496iod.47.1464993455301;
        Fri, 03 Jun 2016 15:37:35 -0700 (PDT)
Original-Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com. [2607:f8b0:4001:c06::22f])
        by mx.google.com with ESMTPS id l76si1602442itb.7.2016.06.03.15.37.35
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Jun 2016 15:37:35 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2607:f8b0:4001:c06::22f as permitted sender) client-ip=2607:f8b0:4001:c06::22f;
Original-Received: by mail-io0-x22f.google.com with SMTP id k19so79373120ioi.3
        for <std-proposals@isocpp.org>; Fri, 03 Jun 2016 15:37:35 -0700 (PDT)
X-Received: by 10.107.169.67 with SMTP id s64mr8178500ioe.19.1464993455108;
 Fri, 03 Jun 2016 15:37:35 -0700 (PDT)
Original-Received: by 10.79.12.23 with HTTP; Fri, 3 Jun 2016 15:37:34 -0700 (PDT)
In-Reply-To: <20160603211341.4915281.1974.11611@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 2607:f8b0:4001:c06::22f 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:26147
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26147>

On Sat, Jun 4, 2016 at 12:13 AM, Tony V E <tvaneerd@gmail.com> wrote:
>
> The pipeline/graph model also works for images and other data.
>
> A movie or a sound, etc, is a function f(t) that returns data at a given time.

It's not always time-dependent. Standalone image processing, for
example, is not.

My understanding is that the different abstraction layers such as data
structures (pixel, sample, audio/video frame), algorithms (conversion,
resampling, scaling, etc) and higher level tools (timing,
pipeline/graph, multithreading, I/O) should be as decoupled as
possible.

> Should we build a library that does more than sound?

I think the pipeline/graph framework is orthogonal to audio or
whatever media processing, although can be employed for these tasks as
well. Think of a generic framework like in TBB.

That, however, does not immediately help audio/video processing as the
sample/pixel/frame and DSP layers are still missing and, IMHO, would
be a very useful addition even without the graph framework.

-- 
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/CAEhD%2B6DqBNjzGzV_AJbVH57suEmviFm9XK7fPtE%2BFfdk5qsgOg%40mail.gmail.com.

.
