I'm referencing from the sceAtracGetNextSample() and seen it tried to write 0 to outNaddr when atrac->currentSample >= atrac->endSample , so try this out in sceAtracGetNextDecodePosition and seems to be working in Prince of Persia