Epok Engine

PSYQO SDK

psyqo::CDRomDevice::getPlaybackLocation

Method · 3 overloads

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Returns playback location as part of the cdrom device module.

Belongs to
psyqo::CDRomDevice
Header
cdrom-device.hh
Overloads
3

Declaration 1 of 3

Declaration
GetPlaybackLocationAwaiter getPlaybackLocation()

Returns playback location as part of the cdrom device module.

This overload takes no parameters.

Returns: GetPlaybackLocationAwaiter. Consult the linked header for its meaning.

Example sketch

C++ example
#include "psyqo/cdrom-device.hh"

psyqo::CDRomDevice& object = /* obtain a valid instance */;

auto result = object.getPlaybackLocation();

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/cdrom-device.hh:392

Declaration 2 of 3

Declaration
void getPlaybackLocation(PlaybackLocation *location, eastl::function<void(PlaybackLocation *)> &&callback)

Get the Playback location of the CDDA audio.

ParameterTypeMeaning
locationPlaybackLocation *If provided, the location will be stored here.
callbackeastl::function<void (PlaybackLocation *)> &&The callback to call when the location is retrieved.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/cdrom-device.hh"

// Assume these named values have been initialized with valid data:
// PlaybackLocation * location
// eastl::function<void (PlaybackLocation *)> && callback

psyqo::CDRomDevice& object = /* obtain a valid instance */;

object.getPlaybackLocation(location, callback);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/cdrom-device.hh:389

Declaration 3 of 3

Declaration
void getPlaybackLocation(eastl::function<void(PlaybackLocation *)> &&callback)

Returns playback location as part of the cdrom device module.

ParameterTypeMeaning
callbackeastl::function<void (PlaybackLocation *)> &&Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/cdrom-device.hh"

// Assume these named values have been initialized with valid data:
// eastl::function<void (PlaybackLocation *)> && callback

psyqo::CDRomDevice& object = /* obtain a valid instance */;

object.getPlaybackLocation(callback);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/cdrom-device.hh:390

Related members