예제 #1
0
        [Command(10)] // 4.0.0+
        // GetAudioOutPlayedSampleCount() -> u64
        public ResultCode GetAudioOutPlayedSampleCount(ServiceCtx context)
        {
            ulong playedSampleCount = _audioOut.GetPlayedSampleCount(_track);

            context.ResponseData.Write(playedSampleCount);

            return(ResultCode.Success);
        }