Analog Devices ADSP-BF537 EZ-KIT Lite Getting Started page 74

Hide thumbs Also See for ADSP-BF537 EZ-KIT Lite:
Table of Contents

Advertisement

Part 2: Controlling Pass-Through Volume via Telnet
To generate
VOL_CHANGE
1. Open the
2. Replace the implementation of
Casesar_Cipher_ThreadType::Run()
3-1. Caesar_Cipher_ThreadType::Run() New Implementation" on
page
3-19.
Note how the
the
volume
zero being no volume (mute) and
After changing the variable, its value is passed to the audio threads
by posting a
message is the volume change only (a four-byte
has a size of four bytes, with the payload being the volume value
itself.
VOL_CHANGE
be
#include
Build and run the project. When the audio output starts, telnet to the
EZ-KIT Lite and use the
of the output. Now you are running an interactive real-time application
(audio pass-through) that communicates through a TCP/IP connection.
Now we use monitoring and analysis tools to understand the application's
behavior. We already are familiar with the statistical profiler used in the
earlier exercise. Using the statistical profiler, we will show that the applica-
tion spends the majority of its time in the
The
Idle Thread
is complete. It represents the amount of spare capacity available for other
work to be done in the system.
Halt the EZ-KIT Lite with Debug–>Halt. We can now examine the
behavior of the system's thread with the View–>VDK Windows–>History
menu item. The VDK State History window displays the recent history of
the application. Resize the window to a comfortable size. Turn on the leg-
end by right-clicking in the window and selecting Legend. The window
3-8
www.BDTIC.com/ADI
messages:
Caesar_Cipher_ThreadType.cpp
(plus) and – (minus) characters are used to change
+
variable in the range of
message. Since the entire payload of the
VOL_CHANGE
is declared in
'd in
Caesar_Cipher_ThreadType.cpp
and
on your keyboard to change the volume
+
is where a VDK application goes when all the processing
Getting Started with ADSP-BF537 EZ-KIT Lite
file.
with the contents of
and
(inclusive), with
0.0
48.0
being maximum volume.
48.0
float
, so the header file must
AudioMsg.h
.
VDK::IdleThread
"Listing
), the message
functions.

Advertisement

Table of Contents
loading

Table of Contents