summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/src
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-25 14:47:11 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-25 14:47:11 (GMT)
commitf16d1183a6ff0ce600368c91418f5ad7fc5a15d0 (patch)
treeb69da91967aae4555ec12bb496609351cf3e80a0 /Graphic_Equalizer/src
parentf995b42073099f2e4cf51fd74d5f52dd2af0f694 (diff)
downloadTASS-f16d1183a6ff0ce600368c91418f5ad7fc5a15d0.zip
TASS-f16d1183a6ff0ce600368c91418f5ad7fc5a15d0.tar.gz
TASS-f16d1183a6ff0ce600368c91418f5ad7fc5a15d0.tar.bz2
Diffstat (limited to 'Graphic_Equalizer/src')
-rw-r--r--Graphic_Equalizer/src/audio/main.hcc88
1 files changed, 0 insertions, 88 deletions
diff --git a/Graphic_Equalizer/src/audio/main.hcc b/Graphic_Equalizer/src/audio/main.hcc
deleted file mode 100644
index cd98565..0000000
--- a/Graphic_Equalizer/src/audio/main.hcc
+++ /dev/null
@@ -1,88 +0,0 @@
-/*! \file header_templace.hcc
- *
- * \section generic Message build up information and more
- *
- * \section project Project information.
- * Project Graphic Equalizer\n
- * \author
- * \date 20041011
- * \version 0.1
- *
- * \section copyright Copyright
- * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
- *
- * \section history Change history
- * 20041011: \n Initial version
- *
- ********************************************************************/
-
-
-/*
- * Set the Clock rate for this domain. 50.0 Mhz is minimally required while
- * performing audio tasks.
- */
-#define PAL_TARGET_CLOCK_RATE 50000000
-
-/******** System Includes *************/
-#include <stdlib.hch>
-
-#include "pal_master.hch"
-
-/******** Application Includes ********/
-#include "audiodriver.hch"
-
-
-/*
- * Request Clockrate. Approximated ClockRate is compiler assigned.
- */
-static macro expr ClockRate = PAL_ACTUAL_CLOCK_RATE;
-
-
-
-/*! \fn void main(void);
- * \brief Main audio handling loop.
- *
- * \param void
- *
- * \return void
- * \retval void
- */
-void main(void) {
- /* Setup Audio I/O Pointers */
- macro expr AudioIn = PalAudioInCT(0);
- macro expr AudioOut = PalAudioOutCT(0);
-
- /*
- * Check library versions and Request VideoOutput.
- * We need at least Major Version 1 and minor version 2.
- */
- PalVersionRequire(1, 2);
- PalAudioInRequire(1);
- PalAudioOutRequire(1);
-
- /*
- * Run The Following main tasks in parallel.
- */
- par {
- /*
- * Primary task is to 'Run' several hardware simultaniously.
- * Audio I/O needs to be in sync.
- */
- PalAudioInRun(AudioIn, ClockRate);
- PalAudioOutRun(AudioOut, ClockRate);
-
- /* Parallel to our Primary tasks we run the application. */
- seq {
- /* But first we need to enable and initialize the audio. */
- PalAudioInEnable(AudioIn);
- PalAudioOutEnable(AudioOut);
- audio_init(7, LINE_IN, SR_44100);
- par {
- /*
- * From here we run the main audio loop.
- */
- audio_main();
- }
- }
- }
-} /* --- main() --- */