Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
b8fd4dd5
Commit
b8fd4dd5
authored
14 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab).
parent
64fe1cd0
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/Drivers/USB/Class/Device/Audio.h
+1
-1
1 addition, 1 deletion
LUFA/Drivers/USB/Class/Device/Audio.h
LUFA/ManPages/ChangeLog.txt
+1
-0
1 addition, 0 deletions
LUFA/ManPages/ChangeLog.txt
with
2 additions
and
1 deletion
LUFA/Drivers/USB/Class/Device/Audio.h
+
1
−
1
View file @
b8fd4dd5
...
...
@@ -318,8 +318,8 @@
static
inline
void
Audio_Device_WriteSample24
(
USB_ClassInfo_Audio_Device_t
*
const
AudioInterfaceInfo
,
const
int32_t
Sample
)
{
Endpoint_Write_Byte
(
Sample
>>
16
);
Endpoint_Write_Word_LE
(
Sample
);
Endpoint_Write_Byte
(
Sample
>>
16
);
if
(
Endpoint_BytesInEndpoint
()
==
AudioInterfaceInfo
->
Config
.
DataINEndpointSize
)
Endpoint_ClearIN
();
...
...
This diff is collapsed.
Click to expand it.
LUFA/ManPages/ChangeLog.txt
+
1
−
0
View file @
b8fd4dd5
...
...
@@ -39,6 +39,7 @@
* - Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver (thanks to Opendous Inc.)
* - Fixed incorrect endpoint initialisation order in the several device demos (thanks to Rick Drolet)
* - Fixed inverted Minimum board LEDs
* - Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab)
* - Library Applications:
* - Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy
* - Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment