Ejemplo n.º 1
0
        [Command(9)] // 4.0.0+
        // GetAudioOutBufferCount() -> u32
        public ResultCode GetAudioOutBufferCount(ServiceCtx context)
        {
            uint bufferCount = _audioOut.GetBufferCount(_track);

            context.ResponseData.Write(bufferCount);

            return(ResultCode.Success);
        }