mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
Web API: /sdrangel/audio (PATCH) implementation
This commit is contained in:
@@ -28,6 +28,7 @@ namespace Swagger
|
||||
class SWGInstanceChannelsResponse;
|
||||
class SWGLoggingInfo;
|
||||
class SWGAudioDevices;
|
||||
class SWGAudioDevicesSelect;
|
||||
class SWGErrorResponse;
|
||||
}
|
||||
|
||||
@@ -92,6 +93,15 @@ public:
|
||||
Swagger::SWGErrorResponse& error __attribute__((unused)))
|
||||
{ return 501; }
|
||||
|
||||
/**
|
||||
* Handler of /sdrangel/audio (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
||||
* returns the Http status code (default 501: not implemented)
|
||||
*/
|
||||
virtual int instanceAudioPatch(
|
||||
Swagger::SWGAudioDevicesSelect& response __attribute__((unused)),
|
||||
Swagger::SWGErrorResponse& error __attribute__((unused)))
|
||||
{ return 501; }
|
||||
|
||||
static QString instanceSummaryURL;
|
||||
static QString instanceDevicesURL;
|
||||
static QString instanceChannelsURL;
|
||||
|
||||
Reference in New Issue
Block a user