diff options
| author | Dean Camera <[email protected]> | 2011-06-13 00:19:40 +0000 |
|---|---|---|
| committer | Dean Camera <[email protected]> | 2011-06-13 00:19:40 +0000 |
| commit | deaab900899b90cc3fea4adb48cbc82e2dfe7de8 (patch) | |
| tree | 3fd88c1a005796f917f9bf945cab22b470fc150c /Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c | |
| parent | 6e0a26083ad76d2cea5aa934b530fdd8d6f4e7c1 (diff) | |
| download | qmk_firmware-deaab900899b90cc3fea4adb48cbc82e2dfe7de8.tar.gz qmk_firmware-deaab900899b90cc3fea4adb48cbc82e2dfe7de8.zip | |
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
Fix const-correctness of the Audio Host Class driver.
Diffstat (limited to 'Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c')
| -rw-r--r-- | Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c b/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c index 93c1e72a3b..35a4ef90ae 100644 --- a/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c +++ b/Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c @@ -104,7 +104,7 @@ int main(void) USB_HostState = HOST_STATE_WaitForDeviceRemoval;
break;
}
-
+
USB_Audio_SampleFreq_t SampleRate = AUDIO_SAMPLE_FREQ(48000);
if (Audio_GetSetEndpointProperty(&Microphone_Audio_Interface, Microphone_Audio_Interface.Config.DataINPipeNumber,
AUDIO_REQ_SetCurrent, AUDIO_EPCONTROL_SamplingFreq,
|
