view scripts/audio/@audioplayer/isplaying.m @ 19522:ee3ec3f02358

maint: moved @audiorecorder and @audioplayer folders inside the audio folder
author Vytautas Jančauskas <unaudio@gmail.com>
date Wed, 18 Sep 2013 00:16:28 +0300
parents scripts/@audioplayer/isplaying.m@e1f98e402a7e
children 8bb399569393
line wrap: on
line source

## -*- texinfo -*-
## @deftypefn{Function File} isplaying (@var{playerObj})
## Returns 1 if the audioplayer object is currently playing back audio.
## Returns 0 otherwise.
## @end deftypefn

function result = isplaying(player)
    result = __player_isplaying__(struct(player).player);
endfunction