libgroove  5.0.0
GrooveBuffer Struct Reference

Data Fields

uint8_t ** data
 read-only. More...
 
struct GrooveAudioFormat format
 read-only More...
 
int frame_count
 read-only number of audio frames described by this buffer for encoded audio, this is unknown and set to 0. More...
 
struct GroovePlaylistItemitem
 read-only when encoding, if item is NULL, this is a format header or trailer. More...
 
double pos
 read-only More...
 
int size
 read-only total number of bytes contained in this buffer More...
 
uint64_t pts
 read-only presentation time stamp of the buffer More...
 

Detailed Description

Examples:
transcode.c.

Field Documentation

uint8_t** GrooveBuffer::data

read-only.

  • for interleaved audio, data[0] is the buffer.
  • for planar audio, each channel has a separate data pointer.
  • for encoded audio, data[0] is the encoded buffer.
Examples:
transcode.c.
struct GrooveAudioFormat GrooveBuffer::format

read-only

int GrooveBuffer::frame_count

read-only number of audio frames described by this buffer for encoded audio, this is unknown and set to 0.

struct GroovePlaylistItem* GrooveBuffer::item

read-only when encoding, if item is NULL, this is a format header or trailer.

otherwise, this is encoded audio for the item specified. when decoding, item is never NULL.

double GrooveBuffer::pos

read-only

uint64_t GrooveBuffer::pts

read-only presentation time stamp of the buffer

int GrooveBuffer::size

read-only total number of bytes contained in this buffer

Examples:
transcode.c.

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