aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/AudioInput/AudioInput.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights for 2018.Dean Camera2018-01-041-2/+2
|
* Update copyrights for 2017.Dean Camera2017-04-181-2/+2
|
* Update copyrights to 2016.Dean Camera2016-01-311-2/+2
|
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Extract interface numbers into enums.László Monda2013-10-061-2/+2
|
* Add XMEGA support to the class driver demos where possible.Dean Camera2013-05-191-1/+3
|
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Spell check source code, fix mistakes.Dean Camera2012-06-091-2/+2
|
* AppConfigHeaders: Move out the last of the demo/app configurations into new ↵Dean Camera2012-05-131-1/+1
| | | | AppConfig.h header files.
* Add branch for the conversion of demos to use standard C header files for ↵Dean Camera2012-05-101-4/+7
| | | | configuration, rather than makefile defined macros.
* Audio Device Class driver changed to also require the index of the Audio ↵Dean Camera2012-03-141-0/+1
| | | | Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
* Fix incorrect Doxygen references in the Audio Input/Output ClassDriver demos.Dean Camera2012-03-071-1/+1
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the ↵Dean Camera2012-01-281-1/+33
| | | | Audio Device Class driver.
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-9/+10
| | | | trailing whitespace at the end of each line.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-191-1/+1
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Update AudioInput and AudioOutput Class Driver device mode demos to use a ↵Dean Camera2011-06-291-27/+25
| | | | switch statement when selecting the audio request type for clarity.
* Rename new Audio class driver functions, callbacks and events to ensure that ↵Dean Camera2011-06-161-6/+6
| | | | they contain the USB mode (Device or Host) in the function names.
* Fix Doxygen documentation errors.Dean Camera2011-06-141-1/+1
|
* Add new Audio Class Driver Host demos.Dean Camera2011-06-091-1/+1
| | | | | | Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device. Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
* Fix errors in the Audio device demos and class driver regarding multiple ↵Dean Camera2011-06-071-2/+2
| | | | sample frequency support.
* Update the Low Level Audio Input and Audio Output demos to support multiple ↵Dean Camera2011-06-061-1/+1
| | | | | | sample rates. Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
* Added new callback to the Audio Class driver to allow for endpoint control ↵Dean Camera2011-06-031-1/+73
| | | | | | | | | | | | manipulations such as data sample rates. Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates. Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed. Fix broken LowLevel audio demo descriptors. Minor documentation fixes.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-0/+1
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-081-1/+1
| | | | | | Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-2/+2
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-261-10/+8
| | | | interrupt rather than polling the sample timer.
* Added default test tone generation mode to the Device mode AudioInput demos.Dean Camera2010-10-201-9/+24
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-10/+11
| | | | tool made by Laszlo Monda
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-4/+5
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-121-0/+1
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-148/+148
| | | | correctly converted to the target system's native end of line style.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-1/+1
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean Camera2010-01-251-1/+1
| | | | the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-201-2/+2
| | | | when the given data length is zero.
* Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.Dean Camera2009-10-121-2/+2
| | | | Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-6/+6
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Fix incorrect configuration in the ClassDriver AudioOutput demo.Dean Camera2009-07-301-3/+3
| | | | | | Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs). Make LEDs more responsive in the AudioOutput device demos.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-5/+0
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-5/+13
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Changed to new device mode Class Driver function name prefixes to make way ↵Dean Camera2009-06-111-5/+5
| | | | for similar host mode Class drivers.