libgroove  5.0.0
GroovePlaylistItem Struct Reference

Data Fields

struct GrooveFilefile
 read-only More...
 
double gain
 Read-only. More...
 
double peak
 Read-only. More...
 
struct GroovePlaylistItemprev
 A GroovePlaylist is a doubly linked list. More...
 
struct GroovePlaylistItemnext
 

Detailed Description

Field Documentation

struct GrooveFile* GroovePlaylistItem::file

read-only

Examples:
fingerprint.c, playlist.c, replaygain.c, and transcode.c.
double GroovePlaylistItem::gain

Read-only.

A volume adjustment in float format to apply to the file when it plays. This is typically used for loudness compensation, for example ReplayGain. To convert from dB to float, use exp(log(10) * 0.05 * dB_value) Modify with groove_playlist_set_item_gain_peak

struct GroovePlaylistItem* GroovePlaylistItem::next
double GroovePlaylistItem::peak

Read-only.

The sample peak of this playlist item is assumed to be 1.0 in float format. If you know for certain that the peak is less than 1.0, you may set this value which may allow the volume adjustment to use a pure amplifier rather than a compressor. This results in slightly better audio quality. Modify with groove_playlist_set_item_gain_peak

struct GroovePlaylistItem* GroovePlaylistItem::prev

A GroovePlaylist is a doubly linked list.

Use these fields to traverse the list. See also groove_playlist_remove See also groove_playlist_insert


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