220 26156 <CAEhD+6Ca=j3SaS5nC_Qe=6FGMdJLgpQd1LnGfiep8m9GrEU1jQ@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 02:20:15 +0300
Lines: 40
Approved: news@gmane.org
Message-ID: <CAEhD+6Ca=j3SaS5nC_Qe=6FGMdJLgpQd1LnGfiep8m9GrEU1jQ@mail.gmail.com>
References: <5751B06A.4080501@mail1.stofanet.dk> <2028636.MhYnudsMAW@tjmaciei-mobl1>
 <CAEhD+6DbXNRm030MSycRhAxUk2Ji2saDJBv-np32TbseZNDnVw@mail.gmail.com> <5290948.va25uYNizX@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1464996026 28038 80.91.229.3 (3 Jun 2016 23:20:26 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 3 Jun 2016 23:20:26 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCXY5TXHWYJRBMFBZC5AKGQEFC4AMWY@isocpp.org Sat Jun 04 01:20:19 2016
Return-path: <std-proposals+bncBCXY5TXHWYJRBMFBZC5AKGQEFC4AMWY@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+bncBCXY5TXHWYJRBMFBZC5AKGQEFC4AMWY@isocpp.org>)
	id 1b8yO2-00051p-KX
	for gclcip-std-proposals@m.gmane.org; Sat, 04 Jun 2016 01:20:18 +0200
Original-Received: by mail-ig0-f199.google.com with SMTP id f11sf22061633igo.1
        for <gclcip-std-proposals@m.gmane.org>; Fri, 03 Jun 2016 16:20:18 -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
         :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=WcJvvWLLJWCN1WyBKdPyh6cYJL+Nm30cCL8s5074Bxk=;
        b=Zcu/t70jqqRkdxFXqh5X38oo0nPb/fVyUEcqhObUj9k7OsHkPiH2iBymQX/hSa1kXd
         M85GGm5gPBkN5wFPlcBgiKZAyKfPmqkZ6PquNyu2qSMZ9LDiKHxNbEmEMrVXlzQ7AteQ
         XvrHM9kIRMunWoZU2avT5OJIls6VogisTtIPXC+Y4UmhKVpFpigskK0IBqrD/rBun3Zp
         S7FsUsPOmyRtNpBkyTaADEZggyz0jghU2NSf74hiVnDAAmMcF5T/tCkVSqWE86iNRafm
         oczAuzRy7zF6gM0IFgjrpG8mZaB3iw7tzIZOiuM+tRk57brmVVtZOzWpZWqaUDju/ppN
         rp5w==
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: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=WcJvvWLLJWCN1WyBKdPyh6cYJL+Nm30cCL8s5074Bxk=;
        b=QVLQuJ2HsKy9Bx9b9ku+Qshat0Do0PApZzys/LNqQVsELrHKFHNN7njHv8gaEdm722
         mwMsAVdedzupGO6YKBqXud76jAFCHQz41y0sa4PUrATmBk1IUXPCoLvmTWcu5ygUxgDT
         DOidIM1ja3DoWham2EpAH3N0Exy8X4SWTFKCrzQDnEy/m9SqNNwJfc2ouMW+q4apa8AD
         RK7bdHbhaltLx74n+fzU8yM0zDCceNhwFYmVqPkA5MOPftdM9QriAFl+pjrVBq5tqDcR
         puwSEyTbV2C5tjSs6omqnsKtsyfNye0Yooa19hPlsmgpKsLhIPKqwWHR0a7m9lPqdx8I
         3lV 
X-Gm-Message-State: ALyK8tIdu4gRYUchiAZNdJ0YNQe9qHXgz1m/QSVZR3lmvCvtwpa/BjKL2qkxiDc4MvLc+g==
X-Received: by 10.157.6.3 with SMTP id 3mr4698517otn.47.1464996017628;
        Fri, 03 Jun 2016 16:20:17 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.48.88 with SMTP id w24ls168229otd.7.gmail; Fri, 03 Jun
 2016 16:20:16 -0700 (PDT)
X-Received: by 10.157.20.4 with SMTP id h4mr3481054oth.64.1464996016700;
        Fri, 03 Jun 2016 16:20:16 -0700 (PDT)
Original-Received: from mail-io0-x231.google.com (mail-io0-x231.google.com. [2607:f8b0:4001:c06::231])
        by mx.google.com with ESMTPS id i205si3710588oib.196.2016.06.03.16.20.16
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 03 Jun 2016 16:20:16 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2607:f8b0:4001:c06::231 as permitted sender) client-ip=2607:f8b0:4001:c06::231;
Original-Received: by mail-io0-x231.google.com with SMTP id k19so80612430ioi.3
        for <std-proposals@isocpp.org>; Fri, 03 Jun 2016 16:20:16 -0700 (PDT)
X-Received: by 10.36.44.200 with SMTP id i191mr2746344iti.99.1464996016461;
 Fri, 03 Jun 2016 16:20:16 -0700 (PDT)
Original-Received: by 10.79.12.23 with HTTP; Fri, 3 Jun 2016 16:20:15 -0700 (PDT)
In-Reply-To: <5290948.va25uYNizX@tjmaciei-mobl1>
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::231 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:26156
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26156>

On Sat, Jun 4, 2016 at 2:04 AM, Thiago Macieira <thiago@macieira.org> wrote=
:
> On s=C3=A1bado, 4 de junho de 2016 01:54:55 BRT Andrey Semashev wrote:
>> > Considering the domain of media codecs is a patent minefield, the API
>> > should be designed around never having access to the actual contents o=
f
>> > the frames, only that they exist.
>>
>> Well, regarding codecs, there are different ones, including the
>> unencumbered ones. But the point of the proposal is not so much aimed
>> at codecs but rather at raw media processing.
>
> As replied to Alexander: that's not how patents work and raw processing i=
s not
> useful if you can't load a file or save your work.

I think patents are irrelevant in this proposal. I don't think anyone
patented the concept of audio samples or pixel representation, at
least not the conventional ones.

How you save and load these samples and which codecs you use is a
question of the available modules you have - whether these modules are
provided by your compiler or OS vendor or a third party or even your
hardware. For all I care, all this stuff could be handled by ffmpeg
internally. The codecs themselves need not be in the C++ standard.
What is needed is a standardized interface for these different modules
to work with each other. The interface should also allow me, the
developer, to work with the media (e.g. create my own audio or image
filter or a new codec or a new device driver).

--=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/CAEhD%2B6Ca%3Dj3SaS5nC_Qe%3D6FGMdJLgpQd1LnGfiep8=
m9GrEU1jQ%40mail.gmail.com.

.
