Mercurial > octave
annotate scripts/audio/@audioplayer/disp.m @ 33665:6de41f40e397 default tip @
maint: Remove trailing spaces from code.
* NEWS.10.md, files-dock-widget.cc, data.cc, uifigure.m, assert.m:
Remove trailing spaces from code.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 14 Jun 2024 16:05:56 -0700 |
parents | 2e484f9f1f18 |
children |
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 ## |
32632
2e484f9f1f18
maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
31706
diff
changeset
|
3 ## Copyright (C) 2017-2024 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{player}) |
9cd68be3dba8
add files missing in changeset c052a29c1f1f
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 ## Display the properties of the audioplayer object @var{player}. |
30568
82b685157e2b
doc: Update documentation in audio/ directory.
Rik <rik@octave.org>
parents:
30564
diff
changeset
|
29 ## @seealso{@audioplayer/audioplayer} |
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 (player) |
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 ("audioplayer 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__ (player) |
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 |
30572 | 40 |
41 | |
42 ## No tests possible/needed for this function | |
43 %!assert (1) |