song Struct Reference

#include <song.h>

Data Fields

struct list_head siblings
 Pointers to the siblings of this directory within the parent directory.
struct tagtag
struct directoryparent
time_t mtime
unsigned start_ms
 Start of this sub-song within the file in milliseconds.
unsigned end_ms
 End of this sub-song within the file in milliseconds.
char uri [sizeof(int)]

Detailed Description

Definition at line 32 of file song.h.


Field Documentation

unsigned song::end_ms

End of this sub-song within the file in milliseconds.

Unused if zero.

Definition at line 56 of file song.h.

time_t song::mtime

Definition at line 45 of file song.h.

struct directory* song::parent [read]

Definition at line 44 of file song.h.

struct list_head song::siblings [read]

Pointers to the siblings of this directory within the parent directory.

It is unused (undefined) if this song is not in the database.

This attribute is protected with the global db_mutex. Read access in the update thread does not need protection.

Definition at line 41 of file song.h.

unsigned song::start_ms

Start of this sub-song within the file in milliseconds.

Definition at line 50 of file song.h.

struct tag* song::tag [read]

Definition at line 43 of file song.h.

char song::uri[sizeof(int)]

Definition at line 58 of file song.h.


The documentation for this struct was generated from the following file:

Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1