changeset 23336:9cd68be3dba8

add files missing in changeset c052a29c1f1f * scripts/audio/@audioplayer/disp.m, scripts/audio/@audiorecorder/disp.m: New files.
author John W. Eaton <jwe@octave.org>
date Wed, 29 Mar 2017 17:37:31 -0400
parents c052a29c1f1f
children f04f32f08590
files scripts/audio/@audioplayer/disp.m scripts/audio/@audiorecorder/disp.m
diffstat 2 files changed, 66 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/audio/@audioplayer/disp.m	Wed Mar 29 17:37:31 2017 -0400
@@ -0,0 +1,33 @@
+## Copyright (C) 2017 John W. Eaton
+##
+## This file is part of Octave.
+##
+## Octave is free software; you can redistribute it and/or modify it
+## 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.
+##
+## Octave 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
+## along with Octave; see the file COPYING.  If not, see
+## <http://www.gnu.org/licenses/>.
+
+## -*- texinfo -*-
+## @deftypefn {} {} disp (@var{player})
+## Display the properties of the audioplayer object @var{player}.
+## @end deftypefn
+
+function disp (player)
+
+  if (nargin != 1)
+    print_usage ();
+  endif
+
+  disp (__get_properties__ (player));
+  printf ("\n");
+
+endfunction
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/audio/@audiorecorder/disp.m	Wed Mar 29 17:37:31 2017 -0400
@@ -0,0 +1,33 @@
+## Copyright (C) 2017 John W. Eaton.
+##
+## This file is part of Octave.
+##
+## Octave is free software; you can redistribute it and/or modify it
+## 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.
+##
+## Octave 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
+## along with Octave; see the file COPYING.  If not, see
+## <http://www.gnu.org/licenses/>.
+
+## -*- texinfo -*-
+## @deftypefn {} {} disp (@var{recorder})
+## Display the properties of the audiorecorder object @var{recorder}.
+## @end deftypefn
+
+function disp (recorder)
+
+  if (nargin != 1)
+    print_usage ();
+  endif
+
+  disp (__get_properties__ (recorder));
+  printf ("\n");
+
+endfunction