Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_pure unsigned mpd_song_get_duration ( const struct mpd_song song  ) 

Returns the duration of this song in seconds. 0 means the duration is unknown.

Definition at line 295 of file song.c.

References mpd_song::duration, and mpd_song_get_duration().

Referenced by mpd_song_get_duration().

{
      return song->duration;
}


Generated by  Doxygen 1.6.0   Back to index