annotate scripts/audio/@audiorecorder/disp.m @ 31706:597f3ee61a48 stable

update Octave Project Developers copyright for the new year
author John W. Eaton <jwe@octave.org>
date Fri, 06 Jan 2023 13:11:27 -0500
parents 2d6e60776588
children 2e484f9f1f18
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
1 ########################################################################
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
2 ##
31706
597f3ee61a48 update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 30569
diff changeset
3 ## Copyright (C) 2017-2023 The Octave Project Developers
27918
b442ec6dda5c use centralized file for copyright info for individual contributors
John W. Eaton <jwe@octave.org>
parents: 26376
diff changeset
4 ##
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
5 ## See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 ## distribution or <https://octave.org/copyright/>.
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 ##
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 ## This file is part of Octave.
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 ##
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 ## (at your option) any later version.
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ##
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 ## GNU General Public License for more details.
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 ##
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 23351
diff changeset
22 ## <https://www.gnu.org/licenses/>.
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 ##
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 ########################################################################
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 ## -*- texinfo -*-
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 ## @deftypefn {} {} disp (@var{recorder})
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 ## Display the properties of the audiorecorder object @var{recorder}.
30568
82b685157e2b doc: Update documentation in audio/ directory.
Rik <rik@octave.org>
parents: 30564
diff changeset
29 ## @seealso{@audiorecorder/audiorecorder}
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 ## @end deftypefn
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 function disp (recorder)
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
23337
f04f32f08590 Override disp rather than display for class objects (bug #50640).
Rik <rik@octave.org>
parents: 23336
diff changeset
34 printf ("audiorecorder object with properties:\n\n");
f04f32f08590 Override disp rather than display for class objects (bug #50640).
Rik <rik@octave.org>
parents: 23336
diff changeset
35 for [val, prop] = __get_properties__ (recorder)
f04f32f08590 Override disp rather than display for class objects (bug #50640).
Rik <rik@octave.org>
parents: 23336
diff changeset
36 printf (" %s = ", prop), disp (val);
f04f32f08590 Override disp rather than display for class objects (bug #50640).
Rik <rik@octave.org>
parents: 23336
diff changeset
37 endfor
23336
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
9cd68be3dba8 add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 endfunction
30569
2d6e60776588 Overhaul @audiorecorder class.
Rik <rik@octave.org>
parents: 30568
diff changeset
40
2d6e60776588 Overhaul @audiorecorder class.
Rik <rik@octave.org>
parents: 30568
diff changeset
41
2d6e60776588 Overhaul @audiorecorder class.
Rik <rik@octave.org>
parents: 30568
diff changeset
42 ## No tests possible/needed for this function
2d6e60776588 Overhaul @audiorecorder class.
Rik <rik@octave.org>
parents: 30568
diff changeset
43 %!assert (1)