forked from PAWPAW-Mirror/lib_xua
Aded hostactive.c and audiostream.c. These are now weak so can be over-ridden by app
This commit is contained in:
13
module_usb_audio/audiostream/audiostream.c
Normal file
13
module_usb_audio/audiostream/audiostream.c
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
/* Deafult implementations of AudioStreamStop() and AudioStreamStart(). Both can be over-ridden */
|
||||||
|
void UserAudioStreamStop() __attribute__ ((weak));
|
||||||
|
void UserAudioStreamStop()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UserAudioStreamStart() __attribute__ ((weak));
|
||||||
|
void UserAudioStreamStart()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
7
module_usb_audio/hostactive/hostactive.c
Normal file
7
module_usb_audio/hostactive/hostactive.c
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
void UserHostActive(int active) __attribute__ ((weak));
|
||||||
|
void UserHostActive(int active)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user