aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/AudioOutput/AudioOutput.c
Commit message (Collapse)AuthorAgeFilesLines
* Documentation: Update copyrights to 2019.Dean Camera2019-01-081-2/+2
|
* 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
|
* Fixed broken LowLevel Audio Out demo sampling frequency configuration ↵Dean Camera2014-09-281-2/+2
| | | | (thanks to Torsten Duwe).
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Port the device mode demos to the XMEGA architecture where applicable.Dean Camera2013-05-191-0/+2
|
* 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.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-5/+4
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-9/+9
| | | | trailing whitespace at the end of each line.
* Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ↵Dean Camera2011-07-191-2/+2
| | | | ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
* Fix errors in the Audio device demos and class driver regarding multiple ↵Dean Camera2011-06-071-6/+6
| | | | sample frequency support.
* Update the Low Level Audio Input and Audio Output demos to support multiple ↵Dean Camera2011-06-061-1/+55
| | | | | | 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 incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-291-0/+9
| | | | | | Added missing Audio class control request definitions. Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-041-2/+2
| | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-1/+2
| | | | | | 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-4/+4
| | | | 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-48/+39
| | | | interrupt rather than polling the sample timer.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-15/+16
| | | | tool made by Laszlo Monda
* Changed all Device mode LowLevel demos and Device Class drivers so that the ↵Dean Camera2010-08-221-3/+2
| | | | control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-9/+7
| | | | | | 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.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-1/+1
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-239/+239
| | | | 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.
* 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
|
* 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.
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-041-21/+14
| | | | Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-031-10/+8
| | | | | | reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output). Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-5/+5
| | | | | | | | 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.
* Make both LowLevel and ClassDriver AudioOutput demos always output to board ↵Dean Camera2009-08-021-11/+9
| | | | LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode.
* Fix incorrect configuration in the ClassDriver AudioOutput demo.Dean Camera2009-07-301-5/+5
| | | | | | 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.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-0/+2
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Make LowLevel AudioOutput demo work in the same way as the ClassDriver ↵Dean Camera2009-07-281-23/+12
| | | | AudioOutput demo for LEDs output.
* Changed AudioOutput demos to explicitly use timer 3 - the smaller USB AVRs ↵Dean Camera2009-07-281-7/+7
| | | | | | where timer 1 was needed instead did not have the endpoint size neccesary for good audio throughput anyway. Fix Benito documentation indicating erronously that the project used the HID USB class instead of the CDC class.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-4/+2
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-0/+4
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* Some minor whitespace corrections.Dean Camera2009-06-111-1/+1
|
* Error status LEDs shown when device endpoint configuration fails to complete.Dean Camera2009-06-081-5/+8
| | | | MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.
* Converted device mode low-level demos to schedulerless.Dean Camera2009-06-071-68/+30
|
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-051-0/+291
re-add old low level demos to a LowLevel subdirectory.