Sonochan II 0.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uac2_device_audio_task.h
Go to the documentation of this file.
1 /* -*- mode: c++; tab-width: 4; c-basic-offset: 4 -*- */
2 /* This header file is part of the ATMEL AVR32-SoftwareFramework-AT32UC3-1.5.0 Release */
3
4 /*This file is prepared for Doxygen automatic documentation generation.*/
20 /* Copyright (c) 2009 Atmel Corporation. All rights reserved.
21 *
22 * Redistribution and use in source and binary forms, with or without
23 * modification, are permitted provided that the following conditions are met:
24 *
25 * 1. Redistributions of source code must retain the above copyright notice, this
26 * list of conditions and the following disclaimer.
27 *
28 * 2. Redistributions in binary form must reproduce the above copyright notice,
29 * this list of conditions and the following disclaimer in the documentation
30 * and/or other materials provided with the distribution.
31 *
32 * 3. The name of Atmel may not be used to endorse or promote products derived
33 * from this software without specific prior written permission.
34 *
35 * 4. This software may only be redistributed and used in connection with an Atmel
36 * AVR product.
37 *
38 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
39 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
40 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
41 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
42 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
43 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
44 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
45 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
47 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
48 *
49 * Modified by Alex Lee and SDR-Widget team for the sdr-widget project.
50 * See http://code.google.com/p/sdr-widget/
51 * Copyright under GNU General Public License v2
52 */
53
54 #ifndef _UAC2_DEVICE_AUDIO_TASK_H_
55 #define _UAC2_DEVICE_AUDIO_TASK_H_
56
57
58 //_____ I N C L U D E S ____________________________________________________
59
60 #include "conf_usb.h"
61
62 #if USB_DEVICE_FEATURE == DISABLED
63 #error uac2_device_audio_task.h is #included although USB_DEVICE_FEATURE is disabled
64 #endif
65
66
67 //_____ D E F I N I T I O N S ______________________________________________
68
69
70 //_____ M A C R O S ________________________________________________________
71
72
73 //_____ D E C L A R A T I O N S ____________________________________________
74
75 extern void uac2_device_audio_task_init(U8 ep_in, U8 ep_out, U8 ep_out_fb);
76 #ifdef FREERTOS_USED
77 extern void uac2_device_audio_task(void *pvParameters);
78 #else
79 extern void uac2_device_audio_task(void);
80 #endif
81
82 #endif // _UAC2_DEVICE_AUDIO_TASK_H_