Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

PlayPosition

Type Alias PlayPosition 

Source
pub type PlayPosition = PlayPosition;
👎Deprecated:

moved to psx_io::cd::PlayPosition

Expand description

Moved to cd::PlayPosition.

Aliased Type§

pub struct PlayPosition {
    pub track: u8,
    pub index: u8,
    pub relative_min: u8,
    pub relative_sec: u8,
    pub relative_frame: u8,
    pub absolute_min: u8,
    pub absolute_sec: u8,
    pub absolute_frame: u8,
}

Fields§

§track: u8

1-based track number the drive is currently in.

§index: u8

Track index (raw): 0 = pregap, 1 = program area.

§relative_min: u8

Minutes elapsed into the current track.

§relative_sec: u8

Seconds elapsed into the current track (0..=59).

§relative_frame: u8

MSF frames elapsed into the current track (0..=74, 75 per second).

§absolute_min: u8

Absolute disc position, minutes.

§absolute_sec: u8

Absolute disc position, seconds (0..=59).

§absolute_frame: u8

Absolute disc position, MSF frames (0..=74).