Mercurial > hg > beaglert
comparison examples/01-Basics/passthrough/render.cpp @ 500:b935f890e512 prerelease
Updated Doxy to 1.8.11
Amended example titles in render.cpp and file locations in Doxy file.
author | Robert Jack <robert.h.jack@gmail.com> |
---|---|
date | Wed, 22 Jun 2016 00:27:13 +0100 |
parents | 8fcfbfb32aa0 |
children | 1cec96845a23 |
comparison
equal
deleted
inserted
replaced
499:a15a116f6904 | 500:b935f890e512 |
---|---|
66 } | 66 } |
67 | 67 |
68 /* ------------ Project Explantation ------------ */ | 68 /* ------------ Project Explantation ------------ */ |
69 | 69 |
70 /** | 70 /** |
71 \example 01-passthrough | 71 \example passthrough/render.cpp |
72 | 72 |
73 Audio and analog passthrough: input to output | 73 Audio and analog passthrough: input to output |
74 ----------------------------------------- | 74 ----------------------------------------- |
75 | 75 |
76 This sketch demonstrates how to read from and write to the audio and analog input and output buffers. | 76 This sketch demonstrates how to read from and write to the audio and analog input and output buffers. |
82 You can access any information about current audio and sensor settings you can do the following: | 82 You can access any information about current audio and sensor settings you can do the following: |
83 `context->name_of_item`. For example `context->audioChannels` returns current number of channels, | 83 `context->name_of_item`. For example `context->audioChannels` returns current number of channels, |
84 `context->audioFrames` returns the current number of audio frames, | 84 `context->audioFrames` returns the current number of audio frames, |
85 `context->audioSampleRate` returns the audio sample rate. | 85 `context->audioSampleRate` returns the audio sample rate. |
86 | 86 |
87 You can look at all the information you can access in ::BeagleRTContext. | 87 You can look at all the information you can access in ::BelaContext. |
88 | 88 |
89 Reading and writing from the audio buffers | 89 Reading and writing from the audio buffers |
90 ------------------------------------------ | 90 ------------------------------------------ |
91 | 91 |
92 The simplest way to read samples from the audio input buffer is with | 92 The simplest way to read samples from the audio input buffer is with |