From 927194de4cadba887df5b092b32d7150e7a55370 Mon Sep 17 00:00:00 2001 From: Trek H Date: Wed, 13 Mar 2019 13:59:21 +1030 Subject: [PATCH] pcm: added file headers --- audio/pcm/pcm.go | 26 ++++++++++++++++++++++++ audio/pcm/pcm_test.go | 26 ++++++++++++++++++++++++ exp/pcm/resample/resample.go | 26 ++++++++++++++++++++++++ exp/pcm/stereo-to-mono/stereo-to-mono.go | 26 ++++++++++++++++++++++++ 4 files changed, 104 insertions(+) diff --git a/audio/pcm/pcm.go b/audio/pcm/pcm.go index 8e951120..76594b88 100644 --- a/audio/pcm/pcm.go +++ b/audio/pcm/pcm.go @@ -1,3 +1,29 @@ +/* +NAME + pcm.go + +DESCRIPTION + pcm.go contains functions for processing pcm. + +AUTHOR + Trek Hopton + +LICENSE + pcm.go is Copyright (C) 2018 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License in gpl.txt. + If not, see [GNU licenses](http://www.gnu.org/licenses). +*/ package pcm import ( diff --git a/audio/pcm/pcm_test.go b/audio/pcm/pcm_test.go index b543b823..5abcd1a8 100644 --- a/audio/pcm/pcm_test.go +++ b/audio/pcm/pcm_test.go @@ -1,3 +1,29 @@ +/* +NAME + pcm_test.go + +DESCRIPTION + pcm_test.go contains functions for testing the pcm package. + +AUTHOR + Trek Hopton + +LICENSE + pcm_test.go is Copyright (C) 2018 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License in gpl.txt. + If not, see [GNU licenses](http://www.gnu.org/licenses). +*/ package pcm import ( diff --git a/exp/pcm/resample/resample.go b/exp/pcm/resample/resample.go index b896fafb..2fef9f7c 100644 --- a/exp/pcm/resample/resample.go +++ b/exp/pcm/resample/resample.go @@ -1,3 +1,29 @@ +/* +NAME + resample.go + +DESCRIPTION + resample.go is a program for resampling a pcm file. + +AUTHOR + Trek Hopton + +LICENSE + resample.go is Copyright (C) 2018 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License in gpl.txt. + If not, see [GNU licenses](http://www.gnu.org/licenses). +*/ package main import ( diff --git a/exp/pcm/stereo-to-mono/stereo-to-mono.go b/exp/pcm/stereo-to-mono/stereo-to-mono.go index b16f1ab3..69bc081b 100644 --- a/exp/pcm/stereo-to-mono/stereo-to-mono.go +++ b/exp/pcm/stereo-to-mono/stereo-to-mono.go @@ -1,3 +1,29 @@ +/* +NAME + stereo-to-mono.go + +DESCRIPTION + stereo-to-mono.go is a program for converting a mono pcm file to a stereo pcm file. + +AUTHOR + Trek Hopton + +LICENSE + stereo-to-mono.go is Copyright (C) 2018 the Australian Ocean Lab (AusOcean) + + It is free software: you can redistribute it and/or modify them + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + It is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License in gpl.txt. + If not, see [GNU licenses](http://www.gnu.org/licenses). +*/ package main import (