projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add XMEGA C3 family to the ModuleTest build test.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
AudioClassHost.h
diff --git
a/LUFA/Drivers/USB/Class/Host/AudioClassHost.h
b/LUFA/Drivers/USB/Class/Host/AudioClassHost.h
index
1940c0d
..
a6e425d
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/AudioClassHost.h
+++ b/
LUFA/Drivers/USB/Class/Host/AudioClassHost.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-77,7
+77,7
@@
*/
typedef struct
{
*/
typedef struct
{
-
const
struct
+ struct
{
uint8_t DataINPipeNumber; /**< Pipe number of the Audio interface's IN data pipe. If this interface should not
* bind to an IN endpoint, this may be set to 0 to disable audio input streaming for
{
uint8_t DataINPipeNumber; /**< Pipe number of the Audio interface's IN data pipe. If this interface should not
* bind to an IN endpoint, this may be set to 0 to disable audio input streaming for
@@
-98,7
+98,7
@@
*/
uint8_t ControlInterfaceNumber; /**< Interface index of the Audio Control interface within the attached device. */
uint8_t StreamingInterfaceNumber; /**< Interface index of the Audio Streaming interface within the attached device. */
*/
uint8_t ControlInterfaceNumber; /**< Interface index of the Audio Control interface within the attached device. */
uint8_t StreamingInterfaceNumber; /**< Interface index of the Audio Streaming interface within the attached device. */
-
+
uint8_t EnabledStreamingAltIndex; /**< Alternative setting index of the Audio Streaming interface when the stream is enabled. */
uint16_t DataINPipeSize; /**< Size in bytes of the Audio interface's IN data pipe. */
uint8_t EnabledStreamingAltIndex; /**< Alternative setting index of the Audio Streaming interface when the stream is enabled. */
uint16_t DataINPipeSize; /**< Size in bytes of the Audio interface's IN data pipe. */
@@
-331,7
+331,7
@@
const int8_t Sample)
{
(void)AudioInterfaceInfo;
const int8_t Sample)
{
(void)AudioInterfaceInfo;
-
+
Pipe_Write_8(Sample);
if (!(Pipe_IsReadWriteAllowed()))
Pipe_Write_8(Sample);
if (!(Pipe_IsReadWriteAllowed()))
@@
-357,7
+357,7
@@
const int16_t Sample)
{
(void)AudioInterfaceInfo;
const int16_t Sample)
{
(void)AudioInterfaceInfo;
-
+
Pipe_Write_16_LE(Sample);
if (!(Pipe_IsReadWriteAllowed()))
Pipe_Write_16_LE(Sample);
if (!(Pipe_IsReadWriteAllowed()))
@@
-395,7
+395,7
@@
Pipe_Freeze();
}
}
Pipe_Freeze();
}
}
-
+
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Function Prototypes: */
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Function Prototypes: */