├── .github
└── workflows
│ └── ci.yml
├── .gitignore
├── .gitmodules
├── .travis.yml
├── 93-lightpack.rules
├── CommonHeaders
├── COMMANDS.h
├── LEDS_COUNT.h
└── USB_ID.h
├── Firmware
├── .settings
│ └── de.innot.avreclipse.core.prefs
├── CHANGELOG
├── Descriptors.c
├── Descriptors.h
├── LUFA
│ ├── Build
│ │ ├── HID_EEPROM_Loader
│ │ │ ├── HID_EEPROM_Loader.c
│ │ │ └── makefile
│ │ ├── lufa_atprogram.mk
│ │ ├── lufa_avrdude.mk
│ │ ├── lufa_build.mk
│ │ ├── lufa_core.mk
│ │ ├── lufa_cppcheck.mk
│ │ ├── lufa_dfu.mk
│ │ ├── lufa_doxygen.mk
│ │ ├── lufa_hid.mk
│ │ └── lufa_sources.mk
│ ├── CodeTemplates
│ │ ├── DeviceTemplate
│ │ │ ├── Descriptors.c
│ │ │ ├── Descriptors.h
│ │ │ ├── DeviceApplication.c
│ │ │ ├── DeviceApplication.h
│ │ │ └── asf.xml
│ │ ├── DriverStubs
│ │ │ ├── Board.h
│ │ │ ├── Buttons.h
│ │ │ ├── Dataflash.h
│ │ │ ├── Joystick.h
│ │ │ └── LEDs.h
│ │ ├── HostTemplate
│ │ │ ├── HostApplication.c
│ │ │ ├── HostApplication.h
│ │ │ └── asf.xml
│ │ ├── LUFAConfig.h
│ │ └── makefile_template
│ ├── Common
│ │ ├── ArchitectureSpecific.h
│ │ ├── Architectures.h
│ │ ├── Attributes.h
│ │ ├── BoardTypes.h
│ │ ├── Common.h
│ │ ├── CompilerSpecific.h
│ │ └── Endianness.h
│ ├── Doxygen.conf
│ ├── DoxygenPages
│ │ ├── BuildSystem.txt
│ │ ├── BuildingLinkableLibraries.txt
│ │ ├── ChangeLog.txt
│ │ ├── CompileTimeTokens.txt
│ │ ├── CompilingApps.txt
│ │ ├── ConfiguringApps.txt
│ │ ├── DevelopingWithLUFA.txt
│ │ ├── DeviceSupport.txt
│ │ ├── DirectorySummaries.txt
│ │ ├── Donating.txt
│ │ ├── ExportingLibrary.txt
│ │ ├── FutureChanges.txt
│ │ ├── GettingStarted.txt
│ │ ├── Groups.txt
│ │ ├── Images
│ │ │ ├── AS5_AS6_Import
│ │ │ │ ├── AS5_AS6_Import_Step1.png
│ │ │ │ ├── AS5_AS6_Import_Step2.png
│ │ │ │ ├── AS5_AS6_Import_Step3.png
│ │ │ │ ├── AS5_AS6_Import_Step4.png
│ │ │ │ ├── AS5_AS6_Import_Step5_1.png
│ │ │ │ ├── AS5_AS6_Import_Step5_2.png
│ │ │ │ └── AS5_AS6_Import_Step5_3.png
│ │ │ ├── Author.jpg
│ │ │ ├── LUFA.png
│ │ │ └── LUFA_thumb.png
│ │ ├── KnownIssues.txt
│ │ ├── LUFAPoweredProjects.txt
│ │ ├── LibraryResources.txt
│ │ ├── LicenseInfo.txt
│ │ ├── MainPage.txt
│ │ ├── MigrationInformation.txt
│ │ ├── OSDrivers.txt
│ │ ├── ProgrammingApps.txt
│ │ ├── SoftwareBootloaderJump.txt
│ │ ├── Style
│ │ │ ├── Footer.htm
│ │ │ └── Style.css
│ │ ├── VIDAndPIDValues.txt
│ │ └── WritingBoardDrivers.txt
│ ├── Drivers
│ │ ├── Board
│ │ │ ├── AVR8
│ │ │ │ ├── ADAFRUITU4
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── ATAVRUSBRF01
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── BENITO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── BIGMULTIO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── BLACKCAT
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── BUI
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── BUMBLEB
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── CULV3
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── DUCE
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── EVK527
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Dataflash.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── JMDBU2
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── LEONARDO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MAXIMUS
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MICRO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MICROPENDOUS
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MICROSIN162
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MINIMUS
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── MULTIO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── OLIMEX162
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── OLIMEX32U4
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── OLIMEXISPMK2
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── OLIMEXT32U4
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── RZUSBSTICK
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── SPARKFUN8U2
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── STANGE_ISP
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── STK525
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Dataflash.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── STK526
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Dataflash.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── TEENSY
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── TUL
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── U2S
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── UDIP
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── UNO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── USB2AX
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── USBFOO
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── USBKEY
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Dataflash.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── USBTINYMKII
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── XPLAIN
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Dataflash.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ └── YUN
│ │ │ │ │ ├── Board.h
│ │ │ │ │ └── LEDs.h
│ │ │ ├── Board.h
│ │ │ ├── Buttons.h
│ │ │ ├── Dataflash.h
│ │ │ ├── Joystick.h
│ │ │ ├── LEDs.h
│ │ │ ├── Temperature.c
│ │ │ ├── Temperature.h
│ │ │ ├── UC3
│ │ │ │ ├── EVK1100
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── EVK1101
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ ├── Joystick.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ ├── EVK1104
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ │ └── UC3A3_XPLAINED
│ │ │ │ │ ├── Board.h
│ │ │ │ │ ├── Buttons.h
│ │ │ │ │ └── LEDs.h
│ │ │ └── XMEGA
│ │ │ │ ├── A3BU_XPLAINED
│ │ │ │ ├── Board.h
│ │ │ │ ├── Buttons.h
│ │ │ │ ├── Dataflash.h
│ │ │ │ └── LEDs.h
│ │ │ │ ├── B1_XPLAINED
│ │ │ │ ├── Board.h
│ │ │ │ ├── Buttons.h
│ │ │ │ ├── Dataflash.h
│ │ │ │ └── LEDs.h
│ │ │ │ └── C3_XPLAINED
│ │ │ │ ├── Board.h
│ │ │ │ ├── Buttons.h
│ │ │ │ └── LEDs.h
│ │ ├── Misc
│ │ │ ├── AT45DB321C.h
│ │ │ ├── AT45DB642D.h
│ │ │ ├── RingBuffer.h
│ │ │ └── TerminalCodes.h
│ │ ├── Peripheral
│ │ │ ├── ADC.h
│ │ │ ├── AVR8
│ │ │ │ ├── ADC_AVR8.h
│ │ │ │ ├── SPI_AVR8.h
│ │ │ │ ├── SerialSPI_AVR8.h
│ │ │ │ ├── Serial_AVR8.c
│ │ │ │ ├── Serial_AVR8.h
│ │ │ │ ├── TWI_AVR8.c
│ │ │ │ └── TWI_AVR8.h
│ │ │ ├── SPI.h
│ │ │ ├── Serial.h
│ │ │ ├── SerialSPI.h
│ │ │ ├── TWI.h
│ │ │ └── XMEGA
│ │ │ │ ├── SPI_XMEGA.h
│ │ │ │ ├── SerialSPI_XMEGA.h
│ │ │ │ ├── Serial_XMEGA.c
│ │ │ │ ├── Serial_XMEGA.h
│ │ │ │ ├── TWI_XMEGA.c
│ │ │ │ └── TWI_XMEGA.h
│ │ └── USB
│ │ │ ├── Class
│ │ │ ├── AndroidAccessoryClass.h
│ │ │ ├── AudioClass.h
│ │ │ ├── CDCClass.h
│ │ │ ├── Common
│ │ │ │ ├── AndroidAccessoryClassCommon.h
│ │ │ │ ├── AudioClassCommon.h
│ │ │ │ ├── CDCClassCommon.h
│ │ │ │ ├── HIDClassCommon.h
│ │ │ │ ├── HIDParser.c
│ │ │ │ ├── HIDParser.h
│ │ │ │ ├── HIDReportData.h
│ │ │ │ ├── MIDIClassCommon.h
│ │ │ │ ├── MassStorageClassCommon.h
│ │ │ │ ├── PrinterClassCommon.h
│ │ │ │ ├── RNDISClassCommon.h
│ │ │ │ └── StillImageClassCommon.h
│ │ │ ├── Device
│ │ │ │ ├── AudioClassDevice.c
│ │ │ │ ├── AudioClassDevice.h
│ │ │ │ ├── CDCClassDevice.c
│ │ │ │ ├── CDCClassDevice.h
│ │ │ │ ├── HIDClassDevice.c
│ │ │ │ ├── HIDClassDevice.h
│ │ │ │ ├── MIDIClassDevice.c
│ │ │ │ ├── MIDIClassDevice.h
│ │ │ │ ├── MassStorageClassDevice.c
│ │ │ │ ├── MassStorageClassDevice.h
│ │ │ │ ├── PrinterClassDevice.c
│ │ │ │ ├── PrinterClassDevice.h
│ │ │ │ ├── RNDISClassDevice.c
│ │ │ │ └── RNDISClassDevice.h
│ │ │ ├── HIDClass.h
│ │ │ ├── Host
│ │ │ │ ├── AndroidAccessoryClassHost.c
│ │ │ │ ├── AndroidAccessoryClassHost.h
│ │ │ │ ├── AudioClassHost.c
│ │ │ │ ├── AudioClassHost.h
│ │ │ │ ├── CDCClassHost.c
│ │ │ │ ├── CDCClassHost.h
│ │ │ │ ├── HIDClassHost.c
│ │ │ │ ├── HIDClassHost.h
│ │ │ │ ├── MIDIClassHost.c
│ │ │ │ ├── MIDIClassHost.h
│ │ │ │ ├── MassStorageClassHost.c
│ │ │ │ ├── MassStorageClassHost.h
│ │ │ │ ├── PrinterClassHost.c
│ │ │ │ ├── PrinterClassHost.h
│ │ │ │ ├── RNDISClassHost.c
│ │ │ │ ├── RNDISClassHost.h
│ │ │ │ ├── StillImageClassHost.c
│ │ │ │ └── StillImageClassHost.h
│ │ │ ├── MIDIClass.h
│ │ │ ├── MassStorageClass.h
│ │ │ ├── PrinterClass.h
│ │ │ ├── RNDISClass.h
│ │ │ └── StillImageClass.h
│ │ │ ├── Core
│ │ │ ├── AVR8
│ │ │ │ ├── Device_AVR8.c
│ │ │ │ ├── Device_AVR8.h
│ │ │ │ ├── EndpointStream_AVR8.c
│ │ │ │ ├── EndpointStream_AVR8.h
│ │ │ │ ├── Endpoint_AVR8.c
│ │ │ │ ├── Endpoint_AVR8.h
│ │ │ │ ├── Host_AVR8.c
│ │ │ │ ├── Host_AVR8.h
│ │ │ │ ├── OTG_AVR8.h
│ │ │ │ ├── PipeStream_AVR8.c
│ │ │ │ ├── PipeStream_AVR8.h
│ │ │ │ ├── Pipe_AVR8.c
│ │ │ │ ├── Pipe_AVR8.h
│ │ │ │ ├── Template
│ │ │ │ │ ├── Template_Endpoint_Control_R.c
│ │ │ │ │ ├── Template_Endpoint_Control_W.c
│ │ │ │ │ ├── Template_Endpoint_RW.c
│ │ │ │ │ └── Template_Pipe_RW.c
│ │ │ │ ├── USBController_AVR8.c
│ │ │ │ ├── USBController_AVR8.h
│ │ │ │ ├── USBInterrupt_AVR8.c
│ │ │ │ └── USBInterrupt_AVR8.h
│ │ │ ├── ConfigDescriptors.c
│ │ │ ├── ConfigDescriptors.h
│ │ │ ├── Device.h
│ │ │ ├── DeviceStandardReq.c
│ │ │ ├── DeviceStandardReq.h
│ │ │ ├── Endpoint.h
│ │ │ ├── EndpointStream.h
│ │ │ ├── Events.c
│ │ │ ├── Events.h
│ │ │ ├── Host.h
│ │ │ ├── HostStandardReq.c
│ │ │ ├── HostStandardReq.h
│ │ │ ├── OTG.h
│ │ │ ├── Pipe.h
│ │ │ ├── PipeStream.h
│ │ │ ├── StdDescriptors.h
│ │ │ ├── StdRequestType.h
│ │ │ ├── UC3
│ │ │ │ ├── Device_UC3.c
│ │ │ │ ├── Device_UC3.h
│ │ │ │ ├── EndpointStream_UC3.c
│ │ │ │ ├── EndpointStream_UC3.h
│ │ │ │ ├── Endpoint_UC3.c
│ │ │ │ ├── Endpoint_UC3.h
│ │ │ │ ├── Host_UC3.c
│ │ │ │ ├── Host_UC3.h
│ │ │ │ ├── PipeStream_UC3.c
│ │ │ │ ├── PipeStream_UC3.h
│ │ │ │ ├── Pipe_UC3.c
│ │ │ │ ├── Pipe_UC3.h
│ │ │ │ ├── Template
│ │ │ │ │ ├── Template_Endpoint_Control_R.c
│ │ │ │ │ ├── Template_Endpoint_Control_W.c
│ │ │ │ │ ├── Template_Endpoint_RW.c
│ │ │ │ │ └── Template_Pipe_RW.c
│ │ │ │ ├── USBController_UC3.c
│ │ │ │ ├── USBController_UC3.h
│ │ │ │ ├── USBInterrupt_UC3.c
│ │ │ │ └── USBInterrupt_UC3.h
│ │ │ ├── USBController.h
│ │ │ ├── USBInterrupt.h
│ │ │ ├── USBMode.h
│ │ │ ├── USBTask.c
│ │ │ ├── USBTask.h
│ │ │ └── XMEGA
│ │ │ │ ├── Device_XMEGA.c
│ │ │ │ ├── Device_XMEGA.h
│ │ │ │ ├── EndpointStream_XMEGA.c
│ │ │ │ ├── EndpointStream_XMEGA.h
│ │ │ │ ├── Endpoint_XMEGA.c
│ │ │ │ ├── Endpoint_XMEGA.h
│ │ │ │ ├── Host_XMEGA.c
│ │ │ │ ├── PipeStream_XMEGA.c
│ │ │ │ ├── Pipe_XMEGA.c
│ │ │ │ ├── Template
│ │ │ │ ├── Template_Endpoint_Control_R.c
│ │ │ │ ├── Template_Endpoint_Control_W.c
│ │ │ │ └── Template_Endpoint_RW.c
│ │ │ │ ├── USBController_XMEGA.c
│ │ │ │ ├── USBController_XMEGA.h
│ │ │ │ ├── USBInterrupt_XMEGA.c
│ │ │ │ └── USBInterrupt_XMEGA.h
│ │ │ └── USB.h
│ ├── License.txt
│ ├── Platform
│ │ ├── Platform.h
│ │ ├── UC3
│ │ │ ├── ClockManagement.h
│ │ │ ├── Exception.S
│ │ │ ├── InterruptManagement.c
│ │ │ ├── InterruptManagement.h
│ │ │ └── UC3ExperimentalInfo.txt
│ │ └── XMEGA
│ │ │ ├── ClockManagement.h
│ │ │ └── XMEGAExperimentalInfo.txt
│ ├── StudioIntegration
│ │ ├── Docbook
│ │ │ ├── mshelp
│ │ │ │ └── placeholder.txt
│ │ │ └── placeholder.txt
│ │ ├── HV1
│ │ │ ├── helpcontentsetup.msha
│ │ │ ├── lufa_docbook_transform.xslt
│ │ │ ├── lufa_helpcontentsetup_transform.xslt
│ │ │ ├── lufa_hv1_transform.xslt
│ │ │ └── lufa_studio_help_styling.css
│ │ ├── ProjectGenerator
│ │ │ └── placeholder.txt
│ │ ├── VSIX
│ │ │ ├── LUFA.dll
│ │ │ ├── LUFA.pkgdef
│ │ │ ├── [Content_Types].xml
│ │ │ ├── asf-manifest.xml
│ │ │ ├── extension.vsixmanifest
│ │ │ ├── generate_caches.py
│ │ │ ├── lufa_asfmanifest_transform.xslt
│ │ │ └── lufa_vsmanifest_transform.xslt
│ │ ├── XDK
│ │ │ ├── lufa_extension_transform.xslt
│ │ │ ├── lufa_filelist_transform.xslt
│ │ │ ├── lufa_indent_transform.xslt
│ │ │ └── lufa_module_transform.xslt
│ │ ├── XSLT
│ │ │ ├── lufa_asfmanifest_transform.xslt
│ │ │ ├── lufa_extension_transform.xslt
│ │ │ ├── lufa_filelist_transform.xslt
│ │ │ ├── lufa_indent_transform.xslt
│ │ │ ├── lufa_module_transform.xslt
│ │ │ └── lufa_vsmanifest_transform.xslt
│ │ ├── generate_caches.py
│ │ ├── lufa.xml
│ │ ├── lufa_common.xml
│ │ ├── lufa_drivers_board.xml
│ │ ├── lufa_drivers_board_names.xml
│ │ ├── lufa_drivers_misc.xml
│ │ ├── lufa_drivers_peripheral.xml
│ │ ├── lufa_drivers_usb.xml
│ │ ├── lufa_drivers_usb_class.xml
│ │ ├── lufa_drivers_usb_class_android.xml
│ │ ├── lufa_drivers_usb_class_audio.xml
│ │ ├── lufa_drivers_usb_class_cdc.xml
│ │ ├── lufa_drivers_usb_class_hid.xml
│ │ ├── lufa_drivers_usb_class_midi.xml
│ │ ├── lufa_drivers_usb_class_ms.xml
│ │ ├── lufa_drivers_usb_class_printer.xml
│ │ ├── lufa_drivers_usb_class_rndis.xml
│ │ ├── lufa_drivers_usb_class_si.xml
│ │ ├── lufa_drivers_usb_core.xml
│ │ ├── lufa_drivers_usb_core_avr8.xml
│ │ ├── lufa_drivers_usb_core_uc3.xml
│ │ ├── lufa_drivers_usb_core_xmega.xml
│ │ ├── lufa_platform.xml
│ │ ├── lufa_platform_uc3.xml
│ │ ├── lufa_platform_xmega.xml
│ │ ├── lufa_toolchain.xml
│ │ └── makefile
│ ├── Version.h
│ ├── doxyfile
│ └── makefile
├── LUFAConfig.h
├── LedDriver.c
├── LedDriver.h
├── LedManager.c
├── LedManager.h
├── Lightpack.c
├── Lightpack.h
├── LightpackUSB.c
├── LightpackUSB.h
├── Makefile
├── build_batch.sh
├── datatypes.h
├── flags.h
├── iodefs.h
└── version.h
├── Hardware
├── CHANGELOG
├── Lightpack.brd
└── Lightpack.sch
├── LICENSE
├── LICENSE-TEMPLATE
├── README.md
├── Software
├── CHANGELOG
├── Doxyfile.original
├── Doxyfile.readme
├── Lightpack.pro
├── RELEASE_VERSION
├── apiexamples
│ ├── Android
│ │ ├── DroidPack
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build.properties
│ │ │ ├── build.xml
│ │ │ ├── default.properties
│ │ │ ├── export.properties
│ │ │ ├── local.properties
│ │ │ ├── nbandroid
│ │ │ │ └── private.properties
│ │ │ ├── proguard.cfg
│ │ │ ├── res
│ │ │ │ ├── drawable-hdpi
│ │ │ │ │ ├── icon.png
│ │ │ │ │ └── on.png
│ │ │ │ ├── drawable-ldpi
│ │ │ │ │ ├── icon.png
│ │ │ │ │ └── on.png
│ │ │ │ ├── drawable-mdpi
│ │ │ │ │ ├── icon.png
│ │ │ │ │ └── on.png
│ │ │ │ ├── layout
│ │ │ │ │ └── main.xml
│ │ │ │ └── values
│ │ │ │ │ └── strings.xml
│ │ │ └── src
│ │ │ │ └── net
│ │ │ │ └── droidpack
│ │ │ │ └── DroidPack.java
│ │ └── LightpackDrive_AppInventor
│ │ │ ├── README.TXT
│ │ │ ├── src
│ │ │ └── appinventor
│ │ │ │ └── ai_brunql
│ │ │ │ └── LightpackDrive
│ │ │ │ ├── Screen1.blk
│ │ │ │ ├── Screen1.scm
│ │ │ │ └── Screen1.yail
│ │ │ └── youngandroidproject
│ │ │ └── project.properties
│ ├── C#
│ │ ├── CpuMemMonitor
│ │ │ ├── CpuMemMonitor.exe
│ │ │ ├── CpuMemMonitor
│ │ │ │ ├── CpuMemMonitor.sln
│ │ │ │ ├── CpuMemMonitor.suo
│ │ │ │ └── CpuMemMonitor
│ │ │ │ │ ├── CpuMemMonitor.csproj
│ │ │ │ │ ├── CpuMemMonitor.csproj.user
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ │ ├── bin
│ │ │ │ │ ├── Debug
│ │ │ │ │ │ ├── CpuMemMonitor.exe
│ │ │ │ │ │ ├── CpuMemMonitor.pdb
│ │ │ │ │ │ ├── CpuMemMonitor.vshost.exe
│ │ │ │ │ │ └── CpuMemMonitor.vshost.exe.manifest
│ │ │ │ │ └── Release
│ │ │ │ │ │ ├── CpuMemMonitor.exe
│ │ │ │ │ │ └── CpuMemMonitor.pdb
│ │ │ │ │ └── obj
│ │ │ │ │ └── x86
│ │ │ │ │ ├── Debug
│ │ │ │ │ ├── CpuMemMonitor.csproj.FileListAbsolute.txt
│ │ │ │ │ ├── CpuMemMonitor.exe
│ │ │ │ │ ├── CpuMemMonitor.pdb
│ │ │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ │ │ └── ResolveAssemblyReference.cache
│ │ │ │ │ └── Release
│ │ │ │ │ ├── CpuMemMonitor.csproj.FileListAbsolute.txt
│ │ │ │ │ ├── CpuMemMonitor.exe
│ │ │ │ │ ├── CpuMemMonitor.pdb
│ │ │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ │ │ └── ResolveAssemblyReference.cache
│ │ │ ├── Readme.txt
│ │ │ └── Run.bat
│ │ ├── CpuMonitor
│ │ │ ├── CpuMonitor.exe
│ │ │ ├── CpuMonitor
│ │ │ │ ├── CpuMonitor.sln
│ │ │ │ ├── CpuMonitor.suo
│ │ │ │ └── CpuMonitor
│ │ │ │ │ ├── CpuMonitor.csproj
│ │ │ │ │ ├── CpuMonitor.csproj.user
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ │ ├── bin
│ │ │ │ │ ├── Debug
│ │ │ │ │ │ ├── CpuMonitor.exe
│ │ │ │ │ │ ├── CpuMonitor.pdb
│ │ │ │ │ │ ├── CpuMonitor.vshost.exe
│ │ │ │ │ │ └── CpuMonitor.vshost.exe.manifest
│ │ │ │ │ └── Release
│ │ │ │ │ │ ├── CpuMonitor.exe
│ │ │ │ │ │ └── CpuMonitor.pdb
│ │ │ │ │ └── obj
│ │ │ │ │ └── x86
│ │ │ │ │ ├── Debug
│ │ │ │ │ ├── CpuMonitor.csproj.FileListAbsolute.txt
│ │ │ │ │ ├── CpuMonitor.exe
│ │ │ │ │ ├── CpuMonitor.pdb
│ │ │ │ │ └── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ │ │ └── Release
│ │ │ │ │ ├── CpuMonitor.csproj.FileListAbsolute.txt
│ │ │ │ │ ├── CpuMonitor.exe
│ │ │ │ │ ├── CpuMonitor.pdb
│ │ │ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ │ │ └── ResolveAssemblyReference.cache
│ │ │ ├── Readme.txt
│ │ │ └── Run.bat
│ │ └── VolumeLight
│ │ │ ├── NAudio
│ │ │ ├── Changes.xml
│ │ │ ├── Codecs
│ │ │ │ ├── ALawDecoder.cs
│ │ │ │ ├── ALawEncoder.cs
│ │ │ │ ├── G722Codec.cs
│ │ │ │ ├── MuLawDecoder.cs
│ │ │ │ └── MuLawEncoder.cs
│ │ │ ├── CoreAudioApi
│ │ │ │ ├── AudioCaptureClient.cs
│ │ │ │ ├── AudioClient.cs
│ │ │ │ ├── AudioClientBufferFlags.cs
│ │ │ │ ├── AudioClientShareMode.cs
│ │ │ │ ├── AudioClientStreamFlags.cs
│ │ │ │ ├── AudioEndpointVolume.cs
│ │ │ │ ├── AudioEndpointVolumeCallback.cs
│ │ │ │ ├── AudioEndpointVolumeChannel.cs
│ │ │ │ ├── AudioEndpointVolumeChannels.cs
│ │ │ │ ├── AudioEndpointVolumeNotificationDelegate.cs
│ │ │ │ ├── AudioEndpointVolumeStepInformation.cs
│ │ │ │ ├── AudioEndpointVolumeVolumeRange.cs
│ │ │ │ ├── AudioMeterInformation.cs
│ │ │ │ ├── AudioMeterInformationChannels.cs
│ │ │ │ ├── AudioRenderClient.cs
│ │ │ │ ├── AudioVolumeNotificationData.cs
│ │ │ │ ├── DataFlow.cs
│ │ │ │ ├── DeviceState.cs
│ │ │ │ ├── EEndpointHardwareSupport.cs
│ │ │ │ ├── Interfaces
│ │ │ │ │ ├── AudioVolumeNotificationDataStruct.cs
│ │ │ │ │ ├── Blob.cs
│ │ │ │ │ ├── ClsCtx.cs
│ │ │ │ │ ├── ErrorCodes.cs
│ │ │ │ │ ├── IAudioCaptureClient.cs
│ │ │ │ │ ├── IAudioClient.cs
│ │ │ │ │ ├── IAudioEndpointVolume.cs
│ │ │ │ │ ├── IAudioEndpointVolumeCallback.cs
│ │ │ │ │ ├── IAudioMeterInformation.cs
│ │ │ │ │ ├── IAudioRenderClient.cs
│ │ │ │ │ ├── IMMDevice.cs
│ │ │ │ │ ├── IMMDeviceCollection.cs
│ │ │ │ │ ├── IMMDeviceEnumerator.cs
│ │ │ │ │ ├── IMMEndpoint.cs
│ │ │ │ │ ├── IMMNotificationClient.cs
│ │ │ │ │ ├── IPropertyStore.cs
│ │ │ │ │ ├── MMDeviceEnumeratorComObject.cs
│ │ │ │ │ └── StorageAccessMode.cs
│ │ │ │ ├── MMDevice.cs
│ │ │ │ ├── MMDeviceCollection.cs
│ │ │ │ ├── MMDeviceEnumerator.cs
│ │ │ │ ├── PropVariant.cs
│ │ │ │ ├── PropertyKey.cs
│ │ │ │ ├── PropertyKeys.cs
│ │ │ │ ├── PropertyStore.cs
│ │ │ │ ├── PropertyStoreProperty.cs
│ │ │ │ ├── Role.cs
│ │ │ │ └── WasapiCapture.cs
│ │ │ ├── Dmo
│ │ │ │ ├── AudioMediaSubtypes.cs
│ │ │ │ ├── DmoDescriptor.cs
│ │ │ │ ├── DmoEnumFlags.cs
│ │ │ │ ├── DmoEnumerator.cs
│ │ │ │ ├── DmoGuids.cs
│ │ │ │ ├── DmoHResults.cs
│ │ │ │ ├── DmoInputDataBufferFlags.cs
│ │ │ │ ├── DmoInputStatusFlags.cs
│ │ │ │ ├── DmoInterop.cs
│ │ │ │ ├── DmoMediaType.cs
│ │ │ │ ├── DmoOutputDataBuffer.cs
│ │ │ │ ├── DmoOutputDataBufferFlags.cs
│ │ │ │ ├── DmoPartialMediaType.cs
│ │ │ │ ├── DmoProcessOutputFlags.cs
│ │ │ │ ├── DmoSetTypeFlags.cs
│ │ │ │ ├── IEnumDmo.cs
│ │ │ │ ├── IMediaBuffer.cs
│ │ │ │ ├── IMediaObject.cs
│ │ │ │ ├── IMediaParamInfo.cs
│ │ │ │ ├── IWMResamplerProps.cs
│ │ │ │ ├── InputStreamInfoFlags.cs
│ │ │ │ ├── MediaBuffer.cs
│ │ │ │ ├── MediaObject.cs
│ │ │ │ ├── MediaObjectSizeInfo.cs
│ │ │ │ ├── MediaParamInfo.cs
│ │ │ │ ├── MediaTypes.cs
│ │ │ │ ├── OutputStreamInfoFlags.cs
│ │ │ │ ├── ResamplerMediaObject.cs
│ │ │ │ └── WindowsMediaMp3Decoder.cs
│ │ │ ├── Dsp
│ │ │ │ ├── BiQuadFilter.cs
│ │ │ │ ├── Complex.cs
│ │ │ │ ├── EnvelopeDetector.cs
│ │ │ │ ├── FastFourierTransform.cs
│ │ │ │ ├── ImpulseResponseConvolution.cs
│ │ │ │ ├── ShiftBuffer.cs
│ │ │ │ ├── SimpleCompressor.cs
│ │ │ │ └── SimpleGate.cs
│ │ │ ├── FileFormats
│ │ │ │ ├── Map
│ │ │ │ │ ├── CakewalkDrumMapping.cs
│ │ │ │ │ ├── CakewalkMapFile.cs
│ │ │ │ │ └── MapBlockHeader.cs
│ │ │ │ ├── Mp3
│ │ │ │ │ ├── ChannelMode.cs
│ │ │ │ │ ├── DmoMp3FrameDecompressor.cs
│ │ │ │ │ ├── IMp3FrameDecompressor.cs
│ │ │ │ │ ├── Id3v2Tag.cs
│ │ │ │ │ ├── Mp3Frame.cs
│ │ │ │ │ ├── Mp3FrameDecompressor.cs
│ │ │ │ │ ├── MpegLayer.cs
│ │ │ │ │ ├── MpegVersion.cs
│ │ │ │ │ └── XingHeader.cs
│ │ │ │ ├── Sfz
│ │ │ │ │ └── SfzFileReader.cs
│ │ │ │ └── SoundFont
│ │ │ │ │ ├── Generator.cs
│ │ │ │ │ ├── GeneratorBuilder.cs
│ │ │ │ │ ├── GeneratorEnum.cs
│ │ │ │ │ ├── InfoChunk.cs
│ │ │ │ │ ├── Instrument.cs
│ │ │ │ │ ├── InstrumentBuilder.cs
│ │ │ │ │ ├── Modulator.cs
│ │ │ │ │ ├── ModulatorBuilder.cs
│ │ │ │ │ ├── ModulatorType.cs
│ │ │ │ │ ├── Preset.cs
│ │ │ │ │ ├── PresetBuilder.cs
│ │ │ │ │ ├── PresetsChunk.cs
│ │ │ │ │ ├── RiffChunk.cs
│ │ │ │ │ ├── SFSampleLink.cs
│ │ │ │ │ ├── SFVersion.cs
│ │ │ │ │ ├── SFVersionBuilder.cs
│ │ │ │ │ ├── SampleDataChunk.cs
│ │ │ │ │ ├── SampleHeader.cs
│ │ │ │ │ ├── SampleHeaderBuilder.cs
│ │ │ │ │ ├── SampleMode.cs
│ │ │ │ │ ├── SoundFont.cs
│ │ │ │ │ ├── StructureBuilder.cs
│ │ │ │ │ ├── Zone.cs
│ │ │ │ │ └── ZoneBuilder.cs
│ │ │ ├── Gui
│ │ │ │ ├── Arranger.cs
│ │ │ │ ├── Arranger.resx
│ │ │ │ ├── Fader.cs
│ │ │ │ ├── Fader.resx
│ │ │ │ ├── Graph
│ │ │ │ │ ├── Graph.cs
│ │ │ │ │ └── Graph.resx
│ │ │ │ ├── LcdPanel.cs
│ │ │ │ ├── LcdPanel.resx
│ │ │ │ ├── PanSlider.cs
│ │ │ │ ├── PanSlider.resx
│ │ │ │ ├── Pot.Designer.cs
│ │ │ │ ├── Pot.cs
│ │ │ │ ├── Pot.resx
│ │ │ │ ├── TrackView
│ │ │ │ │ ├── AudioClip.cs
│ │ │ │ │ ├── Clip.cs
│ │ │ │ │ ├── TimeLine.Designer.cs
│ │ │ │ │ ├── TimeLine.cs
│ │ │ │ │ ├── TimeLine.resx
│ │ │ │ │ ├── Track.cs
│ │ │ │ │ ├── TrackHeader.Designer.cs
│ │ │ │ │ ├── TrackHeader.cs
│ │ │ │ │ ├── TrackHeader.resx
│ │ │ │ │ ├── TrackView.Designer.cs
│ │ │ │ │ └── TrackView.cs
│ │ │ │ ├── VolumeMeter.Designer.cs
│ │ │ │ ├── VolumeMeter.cs
│ │ │ │ ├── VolumeSlider.cs
│ │ │ │ ├── VolumeSlider.resx
│ │ │ │ ├── WaveViewer.cs
│ │ │ │ ├── WaveViewer.resx
│ │ │ │ ├── WaveformPainter.Designer.cs
│ │ │ │ └── WaveformPainter.cs
│ │ │ ├── Midi
│ │ │ │ ├── ChannelAfterTouchEvent.cs
│ │ │ │ ├── ControlChangeEvent.cs
│ │ │ │ ├── KeySignatureEvent.cs
│ │ │ │ ├── MetaEvent.cs
│ │ │ │ ├── MetaEventType.cs
│ │ │ │ ├── MidiCommandCode.cs
│ │ │ │ ├── MidiController.cs
│ │ │ │ ├── MidiEvent.cs
│ │ │ │ ├── MidiEventCollection.cs
│ │ │ │ ├── MidiEventComparer.cs
│ │ │ │ ├── MidiFile.cs
│ │ │ │ ├── MidiIn.cs
│ │ │ │ ├── MidiInCapabilities.cs
│ │ │ │ ├── MidiInterop.cs
│ │ │ │ ├── MidiMessage.cs
│ │ │ │ ├── MidiOut.cs
│ │ │ │ ├── MidiOutCapabilities.cs
│ │ │ │ ├── MidiOutTechnology.cs
│ │ │ │ ├── NoteEvent.cs
│ │ │ │ ├── NoteOnEvent.cs
│ │ │ │ ├── PatchChangeEvent.cs
│ │ │ │ ├── PitchWheelChangeEvent.cs
│ │ │ │ ├── SequencerSpecificEvent.cs
│ │ │ │ ├── SmpteOffsetEvent.cs
│ │ │ │ ├── SysexEvent.cs
│ │ │ │ ├── TempoEvent.cs
│ │ │ │ ├── TextEvent.cs
│ │ │ │ ├── TimeSignatureEvent.cs
│ │ │ │ └── TrackSequenceNumberEvent.cs
│ │ │ ├── Mixer
│ │ │ │ ├── BooleanMixerControl.cs
│ │ │ │ ├── CustomMixerControl.cs
│ │ │ │ ├── ListTextMixerControl.cs
│ │ │ │ ├── Mixer.cs
│ │ │ │ ├── MixerControl.cs
│ │ │ │ ├── MixerControlType.cs
│ │ │ │ ├── MixerFlags.cs
│ │ │ │ ├── MixerInterop.cs
│ │ │ │ ├── MixerLine.cs
│ │ │ │ ├── MixerLineComponentType.cs
│ │ │ │ ├── MixerSource.cs
│ │ │ │ ├── SignedMixerControl.cs
│ │ │ │ └── UnsignedMixerControl.cs
│ │ │ ├── NAudio.csproj
│ │ │ ├── NAudio.csproj.vspscc
│ │ │ ├── NAudio.ruleset
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── Utils
│ │ │ │ ├── BufferHelpers.cs
│ │ │ │ ├── ByteEncoding.cs
│ │ │ │ ├── CircularBuffer.cs
│ │ │ │ ├── Decibels.cs
│ │ │ │ ├── FileAssociations.cs
│ │ │ │ ├── HResult.cs
│ │ │ │ ├── IgnoreDisposeStream.cs
│ │ │ │ ├── MergeSort.cs
│ │ │ │ ├── ProgressEventArgs.cs
│ │ │ │ ├── ProgressLog.Designer.cs
│ │ │ │ ├── ProgressLog.cs
│ │ │ │ └── ProgressLog.resx
│ │ │ └── Wave
│ │ │ │ ├── Asio
│ │ │ │ ├── ASIODriver.cs
│ │ │ │ ├── ASIODriverExt.cs
│ │ │ │ ├── ASIOSampleConvertor.cs
│ │ │ │ └── ASIOStructures.cs
│ │ │ │ ├── Compression
│ │ │ │ ├── AcmDriver.cs
│ │ │ │ ├── AcmDriverDetails.cs
│ │ │ │ ├── AcmDriverDetailsSupportFlags.cs
│ │ │ │ ├── AcmDriverEnumFlags.cs
│ │ │ │ ├── AcmFormat.cs
│ │ │ │ ├── AcmFormatChoose.cs
│ │ │ │ ├── AcmFormatChooseStyleFlags.cs
│ │ │ │ ├── AcmFormatDetails.cs
│ │ │ │ ├── AcmFormatEnumFlags.cs
│ │ │ │ ├── AcmFormatSuggestFlags.cs
│ │ │ │ ├── AcmFormatTag.cs
│ │ │ │ ├── AcmFormatTagDetails.cs
│ │ │ │ ├── AcmInterop.cs
│ │ │ │ ├── AcmMetrics.cs
│ │ │ │ ├── AcmStream.cs
│ │ │ │ ├── AcmStreamConvertFlags.cs
│ │ │ │ ├── AcmStreamHeader.cs
│ │ │ │ ├── AcmStreamHeaderStatusFlags.cs
│ │ │ │ ├── AcmStreamHeaderStruct.cs
│ │ │ │ ├── AcmStreamOpenFlags.cs
│ │ │ │ ├── AcmStreamSizeFlags.cs
│ │ │ │ └── WaveFilter.cs
│ │ │ │ ├── MmeInterop
│ │ │ │ ├── Manufacturers.cs
│ │ │ │ ├── MmException.cs
│ │ │ │ ├── MmResult.cs
│ │ │ │ ├── MmTime.cs
│ │ │ │ ├── WaveCallbackInfo.cs
│ │ │ │ ├── WaveCallbackStrategy.cs
│ │ │ │ ├── WaveHeader.cs
│ │ │ │ ├── WaveHeaderFlags.cs
│ │ │ │ ├── WaveIn.cs
│ │ │ │ ├── WaveInCapabilities.cs
│ │ │ │ ├── WaveInEventArgs.cs
│ │ │ │ ├── WaveInterop.cs
│ │ │ │ ├── WaveOutCapabilities.cs
│ │ │ │ ├── WaveOutSupport.cs
│ │ │ │ └── WaveWindow.cs
│ │ │ │ ├── SampleChunkConverters
│ │ │ │ ├── ISampleChunkConverter.cs
│ │ │ │ ├── Mono16SampleChunkConverter.cs
│ │ │ │ ├── Mono24SampleChunkConverter.cs
│ │ │ │ ├── Mono8SampleChunkConverter.cs
│ │ │ │ ├── MonoFloatSampleChunkConverter.cs
│ │ │ │ ├── Stereo16SampleChunkConverter.cs
│ │ │ │ ├── Stereo24SampleChunkConverter.cs
│ │ │ │ ├── Stereo8SampleChunkConverter.cs
│ │ │ │ └── StereoFloatSampleChunkConverter.cs
│ │ │ │ ├── SampleProviders
│ │ │ │ ├── MeteringSampleProvider.cs
│ │ │ │ ├── MixingSampleProvider.cs
│ │ │ │ ├── MonoToStereoSampleProvider.cs
│ │ │ │ ├── NotifyingSampleProvider.cs
│ │ │ │ ├── PanningSampleProvider.cs
│ │ │ │ ├── Pcm16BitToSampleProvider.cs
│ │ │ │ ├── Pcm24BitToSampleProvider.cs
│ │ │ │ ├── Pcm8BitToSampleProvider.cs
│ │ │ │ ├── SampleChannel.cs
│ │ │ │ ├── SampleProviderConverterBase.cs
│ │ │ │ ├── SampleToWaveProvider.cs
│ │ │ │ ├── VolumeSampleProvider.cs
│ │ │ │ └── WaveToSampleProvider.cs
│ │ │ │ ├── WaveFormats
│ │ │ │ ├── AdpcmWaveFormat.cs
│ │ │ │ ├── Gsm610WaveFormat.cs
│ │ │ │ ├── ImaAdpcmWaveFormat.cs
│ │ │ │ ├── Mp3WaveFormat.cs
│ │ │ │ ├── OggWaveFormat.cs
│ │ │ │ ├── TrueSpeechWaveFormat.cs
│ │ │ │ ├── WaveFormat.cs
│ │ │ │ ├── WaveFormatCustomMarshaler.cs
│ │ │ │ ├── WaveFormatEncoding.cs
│ │ │ │ ├── WaveFormatExtensible.cs
│ │ │ │ ├── WaveFormatExtraData.cs
│ │ │ │ └── WmaWaveFormat.cs
│ │ │ │ ├── WaveInputs
│ │ │ │ └── IWaveIn.cs
│ │ │ │ ├── WaveOutputs
│ │ │ │ ├── AsioOut.cs
│ │ │ │ ├── CueWaveFileWriter.cs
│ │ │ │ ├── DirectSoundOut.cs
│ │ │ │ ├── IWaveBuffer.cs
│ │ │ │ ├── IWavePlayer.cs
│ │ │ │ ├── IWaveProvider.cs
│ │ │ │ ├── IWaveProviderFloat.cs
│ │ │ │ ├── PlaybackState.cs
│ │ │ │ ├── WasapiOut.cs
│ │ │ │ ├── WaveBuffer.cs
│ │ │ │ ├── WaveFileWriter.cs
│ │ │ │ ├── WaveOut.cs
│ │ │ │ ├── WaveOutEvent.cs
│ │ │ │ └── WaveOutThreadSafe.cs
│ │ │ │ ├── WaveProviders
│ │ │ │ ├── BufferedWaveProvider.cs
│ │ │ │ ├── MonoToStereoProvider16.cs
│ │ │ │ ├── StereoToMonoProvider16.cs
│ │ │ │ ├── Wave16toFloatProvider.cs
│ │ │ │ ├── WaveFloatTo16Provider.cs
│ │ │ │ ├── WaveInProvider.cs
│ │ │ │ ├── WaveProvider16.cs
│ │ │ │ ├── WaveProvider32.cs
│ │ │ │ └── WaveRecorder.cs
│ │ │ │ └── WaveStreams
│ │ │ │ ├── AiffFileReader.cs
│ │ │ │ ├── AudioFileReader.cs
│ │ │ │ ├── BlockAlignReductionStream.cs
│ │ │ │ ├── CueList.cs
│ │ │ │ ├── CueWaveFileReader.cs
│ │ │ │ ├── ISampleNotifier.cs
│ │ │ │ ├── Mp3FileReader.cs
│ │ │ │ ├── RawSourceWaveStream.cs
│ │ │ │ ├── ResamplerDmoStream.cs
│ │ │ │ ├── RiffChunk.cs
│ │ │ │ ├── SimpleCompressorStream.cs
│ │ │ │ ├── Wave32To16Stream.cs
│ │ │ │ ├── WaveChannel32.cs
│ │ │ │ ├── WaveFileReader.cs
│ │ │ │ ├── WaveFormatConversionStream.cs
│ │ │ │ ├── WaveInBuffer.cs
│ │ │ │ ├── WaveMixerStream32.cs
│ │ │ │ ├── WaveOffsetStream.cs
│ │ │ │ ├── WaveOutBuffer.cs
│ │ │ │ └── WaveStream.cs
│ │ │ ├── Readme.txt
│ │ │ ├── VolumeLight.sln
│ │ │ ├── VolumeLight.suo
│ │ │ ├── VolumeLight
│ │ │ ├── MainForm.Designer.cs
│ │ │ ├── MainForm.cs
│ │ │ ├── MainForm.resx
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ ├── Settings.Designer.cs
│ │ │ │ └── Settings.settings
│ │ │ ├── VolumeLight.csproj
│ │ │ ├── app.config
│ │ │ └── soundlight.ico
│ │ │ └── libLightpack
│ │ │ ├── ApiLightpack.cs
│ │ │ ├── Const.cs
│ │ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ │ └── libLightpack.csproj
│ ├── Delphi
│ │ ├── AIMP
│ │ │ ├── LightPack.pas
│ │ │ ├── LightPack_SDK_Demo
│ │ │ │ ├── LightPack.dcu
│ │ │ │ ├── LightPack.pas
│ │ │ │ ├── LightPack_SDK_Demo.cfg
│ │ │ │ ├── LightPack_SDK_Demo.dof
│ │ │ │ ├── LightPack_SDK_Demo.dpr
│ │ │ │ ├── LightPack_SDK_Demo.exe
│ │ │ │ ├── LightPack_SDK_Demo.res
│ │ │ │ ├── Unit1.dcu
│ │ │ │ ├── Unit1.ddp
│ │ │ │ ├── Unit1.dfm
│ │ │ │ └── Unit1.pas
│ │ │ ├── Readme.txt
│ │ │ └── aimp_LightPack
│ │ │ │ ├── AIMP_SDK.dcu
│ │ │ │ ├── AIMP_SDK.pas
│ │ │ │ ├── LightPack.dcu
│ │ │ │ ├── LightPack.pas
│ │ │ │ ├── aimp_LightPack.cfg
│ │ │ │ ├── aimp_LightPack.dll
│ │ │ │ ├── aimp_LightPack.dof
│ │ │ │ └── aimp_LightPack.dpr
│ │ └── Winamp Lightpack-DISCO
│ │ │ ├── Settings.dcu
│ │ │ ├── Settings.dfm
│ │ │ ├── Settings.pas
│ │ │ ├── ldisco.dpr
│ │ │ ├── ldisco.dproj
│ │ │ ├── ldisco.dproj.local
│ │ │ ├── ldisco.identcache
│ │ │ ├── readme.txt
│ │ │ ├── vis.dcu
│ │ │ ├── vis.dfm
│ │ │ └── vis.pas
│ ├── EventGhost
│ │ └── Prismatik
│ │ │ ├── __init__.py
│ │ │ └── lightpack.py
│ ├── LUA
│ │ ├── Readme.txt
│ │ ├── luaLightpack-sample1.lua
│ │ ├── luaLightpack-sample2.lua
│ │ └── luaLightpack.lua
│ ├── PocketBook LightpackDrivePB
│ │ ├── CMakeLists.txt
│ │ ├── README.TXT
│ │ ├── cimages
│ │ │ └── readme.txt
│ │ ├── makearm.sh
│ │ ├── makepc.sh
│ │ ├── push.sh
│ │ └── src
│ │ │ └── LightpackDrivePB.c
│ ├── Ruby
│ │ ├── lightpack.rb
│ │ └── readme.txt
│ ├── VisualTests
│ │ ├── VisualTests.py
│ │ └── lightpack.py
│ ├── dotnetLightpack
│ │ ├── Lightpack.sln
│ │ ├── TestLightpack
│ │ │ ├── Form1.Designer.cs
│ │ │ ├── Form1.cs
│ │ │ ├── Form1.resx
│ │ │ ├── HelpForm.Designer.cs
│ │ │ ├── HelpForm.cs
│ │ │ ├── HelpForm.resx
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ ├── Settings.Designer.cs
│ │ │ │ └── Settings.settings
│ │ │ ├── TestLightpack.csproj
│ │ │ └── app.config
│ │ └── libLightpack
│ │ │ ├── ApiLightpack.cs
│ │ │ ├── Const.cs
│ │ │ ├── LogEvent.cs
│ │ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ │ └── libLightpack.csproj
│ ├── liOSC
│ │ ├── LiOSC.py
│ │ ├── OSC.py
│ │ └── lightpack.py
│ └── pyLightpack
│ │ ├── Animexamples.py
│ │ ├── ApiServerStressTest.py
│ │ ├── GmailChecker.py
│ │ ├── SkypeBuddyCheck.py
│ │ ├── gReadeChecker.py
│ │ ├── lightpack.py
│ │ ├── script.lightpack.zip
│ │ └── testall.py
├── build-config.prf
├── build-vars.prf.default
├── common
│ ├── BufferFormat.h
│ ├── D3D10GrabberDefs.hpp
│ ├── WinDXUtils.cpp
│ ├── WinDXUtils.hpp
│ ├── defs.h
│ └── msvcstub.h
├── dist_linux
│ ├── build-in-docker.sh
│ ├── build-natively.sh
│ ├── dpkg
│ │ ├── DEBIAN_template
│ │ │ ├── README
│ │ │ ├── changelog
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ └── postinst
│ │ ├── Dockerfile
│ │ └── build.sh
│ ├── flatpak
│ │ ├── build.sh
│ │ ├── launch_prismatik.sh
│ │ └── manifest.yml.template
│ ├── package_template
│ │ ├── etc
│ │ │ └── udev
│ │ │ │ └── rules.d
│ │ │ │ └── 93-lightpack.rules
│ │ └── usr
│ │ │ └── share
│ │ │ ├── applications
│ │ │ └── prismatik.desktop
│ │ │ ├── icons
│ │ │ ├── Prismatik.png
│ │ │ └── hicolor
│ │ │ │ └── 22x22
│ │ │ │ └── apps
│ │ │ │ └── prismatik-on.png
│ │ │ └── pixmaps
│ │ │ └── Prismatik.png
│ └── pacman
│ │ ├── Dockerfile
│ │ ├── PKGBUILD.template
│ │ ├── build.sh
│ │ └── prismatik.install
├── dist_osx
│ ├── build-dmg.sh
│ └── dsstore
├── dist_windows
│ ├── Prismatik.ico
│ ├── content
│ │ └── Plugins
│ │ │ └── .keep_me
│ ├── gpl-3.0.txt
│ ├── readme.txt
│ ├── script.iss
│ └── script_qt6.iss
├── grab
│ ├── BlueLightReduction.cpp
│ ├── D3D10Grabber.cpp
│ ├── DDuplGrabber.cpp
│ ├── GrabberBase.cpp
│ ├── MacOSAVGrabber.mm
│ ├── MacOSCGGrabber.mm
│ ├── MacOSGrabberBase.mm
│ ├── MacUtils.mm
│ ├── WinAPIGrabber.cpp
│ ├── WinUtils.cpp
│ ├── X11Grabber.cpp
│ ├── calculations.cpp
│ ├── configure-grabbers.prf
│ ├── grab.pro
│ └── include
│ │ ├── BlueLightReduction.hpp
│ │ ├── ColorProvider.cpp
│ │ ├── ColorProvider.hpp
│ │ ├── D3D10Grabber.hpp
│ │ ├── DDuplGrabber.hpp
│ │ ├── GrabberBase.hpp
│ │ ├── GrabberContext.hpp
│ │ ├── MacOSAVGrabber.h
│ │ ├── MacOSCGGrabber.hpp
│ │ ├── MacOSGrabberBase.hpp
│ │ ├── MacUtils.h
│ │ ├── WinAPIGrabber.hpp
│ │ ├── WinUtils.hpp
│ │ ├── X11Grabber.hpp
│ │ └── calculations.hpp
├── hooks
│ ├── D3D9FrameGrabber.cpp
│ ├── D3D9FrameGrabber.hpp
│ ├── DxgiFrameGrabber.cpp
│ ├── DxgiFrameGrabber.hpp
│ ├── GAPIProxyFrameGrabber.cpp
│ ├── GAPIProxyFrameGrabber.hpp
│ ├── GAPISubstFunctions.hpp
│ ├── IPCContext.cpp
│ ├── IPCContext.hpp
│ ├── LoggableTrait.hpp
│ ├── Logger.cpp
│ ├── Logger.hpp
│ ├── ProxyFunc.hpp
│ ├── ProxyFuncJmp.cpp
│ ├── ProxyFuncJmp.hpp
│ ├── ProxyFuncJmpToVFTable.cpp
│ ├── ProxyFuncJmpToVFTable.hpp
│ ├── ProxyFuncVFTable.hpp
│ ├── hooks.cpp
│ ├── hooks.h
│ ├── hooks.pro
│ ├── hooks32.pro
│ ├── hooksutils.cpp
│ ├── hooksutils.h
│ ├── proxyfuncvftable.cpp
│ └── res
│ │ ├── logmessages.h
│ │ └── logmessages.mc
├── libraryinjector
│ ├── ILibraryInjector.h
│ ├── LibraryInjector.c
│ ├── LibraryInjector.def
│ ├── LibraryInjector.h
│ ├── dllmain.c
│ └── libraryinjector.pro
├── math
│ ├── PrismatikMath.cpp
│ ├── include
│ │ ├── PrismatikMath.hpp
│ │ └── colorspace_types.h
│ └── math.pro
├── offsetfinder
│ ├── main.cpp
│ └── offsetfinder.pro
├── res
│ ├── Libs.rc
│ ├── Lightpack.rc
│ ├── LightpackResources.qrc
│ ├── buttons
│ │ ├── arrow_right_dark_24px.png
│ │ ├── arrow_right_dark_24px_hover.png
│ │ ├── arrow_right_dark_24px_pressed.png
│ │ ├── arrow_right_light_24px.png
│ │ ├── arrow_right_light_24px_hover.png
│ │ ├── arrow_right_light_24px_pressed.png
│ │ ├── settings_24px.png
│ │ ├── settings_dark_24px.png
│ │ ├── settings_dark_24px_hover.png
│ │ ├── settings_dark_24px_pressed.png
│ │ ├── settings_light_24px.png
│ │ ├── settings_light_24px_hover.png
│ │ └── settings_light_24px_pressed.png
│ ├── icons
│ │ ├── Lightpack.ico
│ │ ├── Lightpack.png
│ │ ├── Prismatik-pixmap.png
│ │ ├── Prismatik.icns
│ │ ├── Prismatik.ico
│ │ ├── Prismatik.png
│ │ ├── about.png
│ │ ├── arrow_down.png
│ │ ├── arrow_down_gray.png
│ │ ├── arrow_up.png
│ │ ├── arrow_up_gray.png
│ │ ├── console_gray.png
│ │ ├── device.png
│ │ ├── donate.png
│ │ ├── error.png
│ │ ├── help.png
│ │ ├── lock.png
│ │ ├── modes.png
│ │ ├── nerd2.png
│ │ ├── off.png
│ │ ├── on.png
│ │ ├── persist.png
│ │ ├── plugins.png
│ │ ├── profile_delete.png
│ │ ├── profile_new.png
│ │ ├── profile_reset.png
│ │ ├── profiles.png
│ │ ├── profiles2.png
│ │ ├── refresh.png
│ │ ├── res_dark.png
│ │ ├── res_light.png
│ │ ├── settings.png
│ │ └── uac-shield.png
│ ├── plugin-template.ini
│ ├── text
│ │ └── cast.html
│ └── translations
│ │ ├── en.ts
│ │ ├── pl_PL.ts
│ │ ├── ru_RU.ts
│ │ ├── uk_UA.ts
│ │ └── zh_CN.ts
├── scripts
│ ├── macos
│ │ └── generate_xcode_project.sh
│ └── win32
│ │ ├── build_UpdateElevate.bat
│ │ ├── generate_sln.bat
│ │ ├── generate_sln.sh
│ │ ├── prepare_installer.sh
│ │ └── wipe.sh
├── src
│ ├── AbstractLedDevice.cpp
│ ├── AbstractLedDevice.hpp
│ ├── AbstractLedDeviceUdp.cpp
│ ├── AbstractLedDeviceUdp.hpp
│ ├── ApiServer.cpp
│ ├── ApiServer.hpp
│ ├── ApiServerSetColorTask.cpp
│ ├── ApiServerSetColorTask.hpp
│ ├── ColorButton.cpp
│ ├── ColorButton.hpp
│ ├── GrabConfigWidget.cpp
│ ├── GrabConfigWidget.hpp
│ ├── GrabConfigWidget.ui
│ ├── GrabManager.cpp
│ ├── GrabManager.hpp
│ ├── GrabWidget.cpp
│ ├── GrabWidget.hpp
│ ├── GrabWidget.ui
│ ├── Info.plist
│ ├── LedDeviceAdalight.cpp
│ ├── LedDeviceAdalight.hpp
│ ├── LedDeviceAlienFx.cpp
│ ├── LedDeviceAlienFx.hpp
│ ├── LedDeviceArdulight.cpp
│ ├── LedDeviceArdulight.hpp
│ ├── LedDeviceDnrgb.cpp
│ ├── LedDeviceDnrgb.hpp
│ ├── LedDeviceDrgb.cpp
│ ├── LedDeviceDrgb.hpp
│ ├── LedDeviceLightpack.cpp
│ ├── LedDeviceLightpack.hpp
│ ├── LedDeviceManager.cpp
│ ├── LedDeviceManager.hpp
│ ├── LedDeviceVirtual.cpp
│ ├── LedDeviceVirtual.hpp
│ ├── LedDeviceWarls.cpp
│ ├── LedDeviceWarls.hpp
│ ├── LightpackApplication.cpp
│ ├── LightpackApplication.hpp
│ ├── LightpackCommandLineParser.cpp
│ ├── LightpackCommandLineParser.hpp
│ ├── LightpackPluginInterface.cpp
│ ├── LightpackPluginInterface.hpp
│ ├── LiquidColorGenerator.cpp
│ ├── LiquidColorGenerator.hpp
│ ├── LogWriter.cpp
│ ├── LogWriter.hpp
│ ├── MacOSSession.h
│ ├── MacOSSession.mm
│ ├── MacOSSoundManager.h
│ ├── MacOSSoundManager.mm
│ ├── MoodLamp.cpp
│ ├── MoodLamp.hpp
│ ├── MoodLampManager.cpp
│ ├── MoodLampManager.hpp
│ ├── Plugin.cpp
│ ├── Plugin.hpp
│ ├── PluginsManager.cpp
│ ├── PluginsManager.hpp
│ ├── PulseAudioSoundManager.cpp
│ ├── PulseAudioSoundManager.hpp
│ ├── SelectWidget.cpp
│ ├── SelectWidget.hpp
│ ├── Settings.cpp
│ ├── Settings.hpp
│ ├── SettingsDefaults.hpp
│ ├── SettingsWindow.cpp
│ ├── SettingsWindow.hpp
│ ├── SettingsWindow.ui
│ ├── SettingsWizard.hpp
│ ├── SoundManagerBase.cpp
│ ├── SoundManagerBase.hpp
│ ├── SoundVisualizer.cpp
│ ├── SoundVisualizer.hpp
│ ├── SystemSession.cpp
│ ├── SystemSession.hpp
│ ├── TimeEvaluations.cpp
│ ├── TimeEvaluations.hpp
│ ├── UpdatesProcessor.cpp
│ ├── UpdatesProcessor.hpp
│ ├── WindowsSession.cpp
│ ├── WindowsSession.hpp
│ ├── WindowsSoundManager.cpp
│ ├── WindowsSoundManager.hpp
│ ├── alienfx
│ │ ├── LFX2.h
│ │ ├── LFXDecl.h
│ │ └── LightFX.dll
│ ├── debug.h
│ ├── enums.hpp
│ ├── hidapi
│ │ ├── hidapi.h
│ │ ├── linux
│ │ │ └── hid-libusb.c
│ │ ├── mac
│ │ │ └── hid.c
│ │ └── windows
│ │ │ └── hid.c
│ ├── main.cpp
│ ├── qtsingleapplication
│ │ ├── common.pri
│ │ └── src
│ │ │ ├── QtLockedFile
│ │ │ ├── QtSingleApplication
│ │ │ ├── qtlocalpeer.cpp
│ │ │ ├── qtlocalpeer.h
│ │ │ ├── qtlockedfile.cpp
│ │ │ ├── qtlockedfile.h
│ │ │ ├── qtlockedfile_unix.cpp
│ │ │ ├── qtlockedfile_win.cpp
│ │ │ ├── qtsingleapplication.cpp
│ │ │ ├── qtsingleapplication.h
│ │ │ ├── qtsingleapplication.pri
│ │ │ ├── qtsinglecoreapplication.cpp
│ │ │ ├── qtsinglecoreapplication.h
│ │ │ └── qtsinglecoreapplication.pri
│ ├── src.pro
│ ├── systrayicon
│ │ ├── SysTrayIcon.cpp
│ │ └── SysTrayIcon.hpp
│ ├── types.h
│ ├── version.h
│ └── wizard
│ │ ├── AreaDistributor.hpp
│ │ ├── ConfigureDevicePage.cpp
│ │ ├── ConfigureDevicePage.hpp
│ │ ├── ConfigureDevicePage.ui
│ │ ├── ConfigureDevicePowerPage.cpp
│ │ ├── ConfigureDevicePowerPage.hpp
│ │ ├── ConfigureDevicePowerPage.ui
│ │ ├── ConfigureUdpDevicePage.cpp
│ │ ├── ConfigureUdpDevicePage.hpp
│ │ ├── ConfigureUdpDevicePage.ui
│ │ ├── CustomDistributor.cpp
│ │ ├── CustomDistributor.hpp
│ │ ├── GlobalColorCoefPage.cpp
│ │ ├── GlobalColorCoefPage.hpp
│ │ ├── GlobalColorCoefPage.ui
│ │ ├── LightpackDiscoveryPage.cpp
│ │ ├── LightpackDiscoveryPage.hpp
│ │ ├── LightpackDiscoveryPage.ui
│ │ ├── MonitorIdForm.cpp
│ │ ├── MonitorIdForm.hpp
│ │ ├── MonitorIdForm.ui
│ │ ├── SelectDevicePage.cpp
│ │ ├── SelectDevicePage.hpp
│ │ ├── SelectDevicePage.ui
│ │ ├── SelectProfilePage.cpp
│ │ ├── SelectProfilePage.hpp
│ │ ├── SelectProfilePage.ui
│ │ ├── SettingsAwareTrait.hpp
│ │ ├── Wizard.cpp
│ │ ├── Wizard.hpp
│ │ ├── Wizard.ui
│ │ ├── WizardPageUsingDevice.cpp
│ │ ├── WizardPageUsingDevice.hpp
│ │ ├── ZonePlacementPage.cpp
│ │ ├── ZonePlacementPage.hpp
│ │ ├── ZonePlacementPage.ui
│ │ ├── ZoneWidget.cpp
│ │ └── ZoneWidget.hpp
├── tests
│ ├── AppVersionTest.cpp
│ ├── AppVersionTest.hpp
│ ├── GrabCalculationTest.cpp
│ ├── GrabCalculationTest.hpp
│ ├── HooksTest.cpp
│ ├── HooksTest.h
│ ├── LightpackApiTest.cpp
│ ├── LightpackApiTest.hpp
│ ├── LightpackCommandLineParserTest.cpp
│ ├── LightpackCommandLineParserTest.hpp
│ ├── SettingsWindowMockup.cpp
│ ├── SettingsWindowMockup.hpp
│ ├── TestsMain.cpp
│ ├── lightpackmathtest.cpp
│ ├── lightpackmathtest.hpp
│ └── tests.pro
├── unhook
│ ├── main.cpp
│ ├── unhook.pro
│ └── unhook32.pro
├── update_locales.bat
└── update_locales.sh
├── XBMC
├── addons.xml
├── addons.xml.md5
├── addons_xml_generator.py
├── readme.txt
└── script.lightpack
│ ├── addon.xml
│ ├── changelog-1.0.4.txt
│ ├── changelog-1.0.5.txt
│ ├── changelog_1.0.6.txt
│ ├── icon.png
│ ├── script.lightpack-1.0.4.zip
│ ├── script.lightpack-1.0.5.zip
│ └── script.lightpack-1.0.6.zip
└── screenshots
├── ambilight_win.png
├── api_win.png
├── moodlamps_win.png
└── soundviz_win.png
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "Software/UpdateElevate"]
2 | path = Software/UpdateElevate
3 | url = https://github.com/psieg/UpdateElevate.git
4 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: cpp
2 | #language: objective-c
3 |
4 | osx_image: xcode12.2
5 |
6 | notifications:
7 | email: false
8 |
9 | os:
10 | - osx
11 |
12 | before_install:
13 | - brew update
14 | - brew install qt5
15 | - export QTDIR=/usr/local/opt/qt5
16 | - export PATH=$PATH:$QTDIR/bin
17 | - export VERSION=`cat Software/VERSION`
18 | - qmake -v
19 |
20 | script:
21 | - cd Software
22 | - set -e
23 | - ./update_locales.sh
24 | - qmake -r
25 | - make
26 | - macdeployqt bin/Prismatik.app -dmg
27 | - ls bin
28 | - hdiutil attach bin/Prismatik.dmg
29 | - ls /Volumes/bin:Prismatik/Prismatik.app
30 | - otool -L /Volumes/bin:Prismatik/Prismatik.app/Contents/MacOS/Prismatik
31 | - otool -L /Volumes/bin:Prismatik/Prismatik.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
32 | - hdiutil detach /Volumes/bin:Prismatik
33 | - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then curl -T bin/Prismatik.dmg "https://psieg.de/lightpack/osx_builds/Prismatik_${VERSION}_${TRAVIS_BUILD_NUMBER}.dmg" -u "${PSIEG_UPLOAD_USER}:${PSIEG_UPLOAD_PASSWORD}"; fi'
34 | - set +e
35 |
--------------------------------------------------------------------------------
/93-lightpack.rules:
--------------------------------------------------------------------------------
1 | #
2 | # /etc/udev/rules.d/93-lightpack.rules
3 | #
4 | # Author: brunql
5 | # Created on: 2.08.10
6 | #
7 | # brunql@brunql-desktop:~$ sudo cp lightpack/93-lightpack.rules /etc/udev/rules.d/
8 | # brunql@brunql-desktop:~$ sudo restart udev
9 | #
10 | # Reconnect Lightpack USB device and check it:
11 | #
12 | # brunql@brunql-desktop:~$ lsusb -d 3eb:204f -v
13 | #
14 |
15 | # Lightpack (lightpack.googlecode.com)
16 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03eb", ATTR{idProduct}=="204f", GROUP="users", MODE="0666"
17 |
18 | # Atmel Flip DFU
19 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2ffa", GROUP="users", MODE="0666"
20 |
21 | #
22 | # In Ubuntu Lucid (10.04) udev rules file format has change, old file format looks like this:
23 | #
24 | # SUBSYSTEM=="usb_device", SYSFS{idVendor}=="03eb", SYSFS{idProduct}=="204f", GROUP="users", MODE="0666"
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Firmware/.settings/de.innot.avreclipse.core.prefs:
--------------------------------------------------------------------------------
1 | #Fri Jan 28 20:49:29 MSK 2011
2 | avrtarget/ClockFrequency=16000000
3 | avrtarget/ExtRAMSize=0
4 | avrtarget/ExtendedRAM=false
5 | avrtarget/MCUType=at90usb162
6 | avrtarget/UseEEPROM=false
7 | avrtarget/UseExtendedRAMforHeap=true
8 | avrtarget/perConfig=false
9 | eclipse.preferences.version=1
10 |
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/ChangeLog.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/ChangeLog.txt
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/DevelopingWithLUFA.txt:
--------------------------------------------------------------------------------
1 | /** \file
2 | *
3 | * This file contains special DoxyGen information for the generation of the main page and other special
4 | * documentation pages. It is not a project source file.
5 | */
6 |
7 | /**
8 | * \page Page_DevelopingWithLUFA Developing With LUFA
9 | *
10 | * This section of the manual contains information on LUFA development, such as Getting Started information,
11 | * information on compile-time tuning of the library and other developer-related sections.
12 | *
13 | * Subsections:
14 | * \li \subpage Page_BuildSystem - The LUFA Buildsystem
15 | * \li \subpage Page_TokenSummary - Summary of Compile Time Tokens
16 | * \li \subpage Page_Migration - Migrating from an Older LUFA Version
17 | * \li \subpage Page_VIDPID - Allocated USB VID and PID Values
18 | * \li \subpage Page_BuildLibrary - Building as a Linkable Library
19 | * \li \subpage Page_ExportingLibrary - Exporting LUFA for IDE Use
20 | * \li \subpage Page_WritingBoardDrivers - How to Write Custom Board Drivers
21 | * \li \subpage Page_SoftwareBootloaderStart - How to jump to the bootloader in software
22 | */
23 |
24 |
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step1.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step2.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step3.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step4.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_1.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_2.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/AS5_AS6_Import/AS5_AS6_Import_Step5_3.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/Author.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/Author.jpg
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/LUFA.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/LUFA.png
--------------------------------------------------------------------------------
/Firmware/LUFA/DoxygenPages/Images/LUFA_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/DoxygenPages/Images/LUFA_thumb.png
--------------------------------------------------------------------------------
/Firmware/LUFA/License.txt:
--------------------------------------------------------------------------------
1 | LUFA Library
2 | Copyright (C) Dean Camera, 2013.
3 |
4 | dean [at] fourwalledcubicle [dot] com
5 | www.lufa-lib.org
6 |
7 |
8 | Permission to use, copy, modify, and distribute this software
9 | and its documentation for any purpose is hereby granted without
10 | fee, provided that the above copyright notice appear in all
11 | copies and that both that the copyright notice and this
12 | permission notice and warranty disclaimer appear in supporting
13 | documentation, and that the name of the author not be used in
14 | advertising or publicity pertaining to distribution of the
15 | software without specific, written prior permission.
16 |
17 | The author disclaims all warranties with regard to this
18 | software, including all implied warranties of merchantability
19 | and fitness. In no event shall the author be liable for any
20 | special, indirect or consequential damages or any damages
21 | whatsoever resulting from loss of use, data or profits, whether
22 | in an action of contract, negligence or other tortious action,
23 | arising out of or in connection with the use or performance of
24 | this software.
--------------------------------------------------------------------------------
/Firmware/LUFA/Platform/UC3/UC3ExperimentalInfo.txt:
--------------------------------------------------------------------------------
1 | Please note that the UC3 architecture support is EXPERIMENTAL at this time, and may be non-functional/incomplete in some areas. Please refer to the Known Issues section of the LUFA manual.
--------------------------------------------------------------------------------
/Firmware/LUFA/Platform/XMEGA/XMEGAExperimentalInfo.txt:
--------------------------------------------------------------------------------
1 | Please note that the XMEGA architecture support is EXPERIMENTAL at this time, and may be non-functional/incomplete in some areas. Please refer to the Known Issues section of the LUFA manual.
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/Docbook/mshelp/placeholder.txt:
--------------------------------------------------------------------------------
1 | Copy the Microsoft HV1 Docbook transform contents into this directory (i.e. with the XSLT files in the current folder). The HV1 transform proposal can be found at http://sourceforge.net/tracker/?func=detail&aid=3610290&group_id=21935&atid=373750 .
2 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/Docbook/placeholder.txt:
--------------------------------------------------------------------------------
1 | Copy the Docbook XSLT docbook-xsl-1.78.1 release contents into this directory (i.e. with the root Docbook files in the current folder). The Docbook releases can be found at http://sourceforge.net/projects/docbook/files/docbook-xsl/ .
2 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/HV1/helpcontentsetup.msha:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 | LUFA Help
12 |
13 |
14 |
15 | FourWalledCubicle
16 | LUFA
17 | LUFA Help
18 | en-us
19 |
20 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css:
--------------------------------------------------------------------------------
1 | /*
2 | LUFA Library
3 | Copyright (C) Dean Camera, 2013.
4 |
5 | dean [at] fourwalledcubicle [dot] com
6 | www.lufa-lib.org
7 | */
8 |
9 | .programlisting {
10 | display: block;
11 | margin-left: 15px;
12 | padding: 10px;
13 | background-color: #f4f4f4;
14 | border: 1px solid #aaaaaa;
15 | font-family: "Consolas", "Courier New", sans-serif;
16 | }
17 |
18 | code {
19 | background-color: #f4f4f4;
20 | font-family: "Consolas", "Courier New", sans-serif;
21 | }
22 |
23 | .note, .warning, .tip {
24 | display: block;
25 | margin-left: 15px;
26 | padding-left: 10px;
27 | padding-bottom: 5px;
28 | background-color: #f4f4f4;
29 | border: 1px solid #aaaaaa;
30 | }
31 |
32 | table {
33 | border: 1px solid #aaaaaa;
34 | border-collapse: collapse;
35 | margin-left: 15px;
36 | font-size: 10pt;
37 | }
38 |
39 | table thead {
40 | background-color: #f4f4f4;
41 | }
42 |
43 | table thead th {
44 | padding: 5px;
45 | }
46 |
47 | table tbody td {
48 | padding: 5px;
49 | }
50 |
51 | ul {
52 | padding-left: 20px;
53 | }
54 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/ProjectGenerator/placeholder.txt:
--------------------------------------------------------------------------------
1 | Copy the ASF Project Generator into this directory (i.e. with the Python scripts in the current folder). The project generator can be extracted from the release versions of Atmel Studio's ASF extension.
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/LUFA.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/StudioIntegration/VSIX/LUFA.dll
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/LUFA.pkgdef:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Firmware/LUFA/StudioIntegration/VSIX/LUFA.pkgdef
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/[Content_Types].xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/asf-manifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | FourWalledCubicle
4 | LUFA
5 | Dean Camera
6 |
7 | True
8 |
9 |
10 |
11 | 0
12 |
13 |
14 | content.xml.cache
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | LUFA Library
6 | Dean Camera
7 | 0
8 | http://www.lufa-lib.org
9 | LUFA USB Framework
10 |
11 | License.txt
12 | PreviewThumb.png
13 | Preview.png
14 |
15 |
16 | AtmelStudio
17 |
18 |
19 |
20 | 1033
21 |
22 | false
23 |
24 |
25 |
26 |
27 |
28 | asf-manifest.xml
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/generate_caches.py:
--------------------------------------------------------------------------------
1 | """
2 | LUFA Library
3 | Copyright (C) Dean Camera, 2013.
4 |
5 | dean [at] fourwalledcubicle [dot] com
6 | www.lufa-lib.org
7 | """
8 |
9 | import sys
10 | sys.path.append("ProjectGenerator")
11 |
12 |
13 | def show_message(message):
14 | print("[Project Generator] %s" % message)
15 | sys.stdout.flush()
16 |
17 |
18 | def main(lufa_root_path):
19 | try:
20 | from asf_avrstudio5_interface import PythonFacade
21 | except ImportError:
22 | print("Fatal Error: The ASF project generator is missing.")
23 | return 1
24 |
25 | p = PythonFacade(lufa_root_path)
26 |
27 | show_message("Checking database sanity...")
28 | p.check_extension_database_sanity(lufa_root_path)
29 |
30 | show_message("Building cache files...")
31 | p.generate_extension_cache_files(lufa_root_path)
32 |
33 | show_message("Cache files created.")
34 | return 0
35 |
36 |
37 | if __name__ == "__main__":
38 | sys.exit(main(sys.argv[1]))
39 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/XSLT/lufa_indent_transform.xslt:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/generate_caches.py:
--------------------------------------------------------------------------------
1 | """
2 | LUFA Library
3 | Copyright (C) Dean Camera, 2013.
4 |
5 | dean [at] fourwalledcubicle [dot] com
6 | www.lufa-lib.org
7 | """
8 |
9 | import sys
10 | sys.path.append("ProjectGenerator")
11 |
12 |
13 | def show_message(message):
14 | print "[Project Generator] %s" % message
15 | sys.stdout.flush()
16 |
17 |
18 | def main(lufa_root_path):
19 | try:
20 | from asf_avrstudio5_interface import PythonFacade
21 | except ImportError:
22 | print "Fatal Error: The ASF project generator is missing."
23 | return 1
24 |
25 | p = PythonFacade(lufa_root_path)
26 |
27 | show_message("Checking database sanity...")
28 | p.check_extension_database_sanity(lufa_root_path)
29 |
30 | show_message("Building cache files...")
31 | p.generate_extension_cache_files(lufa_root_path)
32 |
33 | show_message("Cache files created.")
34 | return 0
35 |
36 |
37 | if __name__ == "__main__":
38 | sys.exit(main(sys.argv[1]))
39 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/lufa_drivers_usb.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/lufa_platform_uc3.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Firmware/LUFA/StudioIntegration/lufa_platform_xmega.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Firmware/LedManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * LedManager.h
3 | *
4 | * Created on: 28.09.2011
5 | * Project: Lightpack
6 | *
7 | * Copyright (c) 2011 Mike Shatohin, mikeshatohin [at] gmail.com
8 | *
9 | * Lightpack is free software: you can redistribute it and/or modify
10 | * it under the terms of the GNU General Public License as published by
11 | * the Free Software Foundation, either version 2 of the License, or
12 | * (at your option) any later version.
13 | *
14 | * Lightpack is distributed in the hope that it will be useful,
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 | * GNU General Public License for more details.
18 | *
19 | * You should have received a copy of the GNU General Public License
20 | * along with this program. If not, see .
21 | *
22 | */
23 |
24 | #ifndef LEDMANAGER_H_INCLUDED
25 | #define LEDMANAGER_H_INCLUDED
26 |
27 | extern void LedManager_UpdateColors(void);
28 | extern void LedManager_FillImages(const uint8_t red, const uint8_t green, const uint8_t blue);
29 |
30 | #endif /* LEDMANAGER_H_INCLUDED */
31 |
32 |
--------------------------------------------------------------------------------
/Firmware/LightpackUSB.h:
--------------------------------------------------------------------------------
1 | /*
2 | * LightpackUSB.h
3 | *
4 | * Created on: 13.04.2011
5 | * Author: Mike Shatohin (brunql)
6 | * Project: Lightpack
7 | *
8 | * Lightpack is a content-appropriate ambient lighting system for any computer
9 | *
10 | * Copyright (c) 2011 Mike Shatohin, mikeshatohin [at] gmail.com
11 | *
12 | * Lightpack is free software: you can redistribute it and/or modify
13 | * it under the terms of the GNU General Public License as published by
14 | * the Free Software Foundation, either version 2 of the License, or
15 | * (at your option) any later version.
16 | *
17 | * Lightpack is distributed in the hope that it will be useful,
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | * GNU General Public License for more details.
21 | *
22 | * You should have received a copy of the GNU General Public License
23 | * along with this program. If not, see .
24 | *
25 | */
26 |
27 | #ifndef LIGHTPACKUSB_H_INCLUDED
28 | #define LIGHTPACKUSB_H_INCLUDED
29 |
30 | #include "datatypes.h"
31 |
32 | extern void ProcessUsbTasks(void);
33 |
34 | #endif /* LIGHTPACKUSB_H_INCLUDED */
35 |
--------------------------------------------------------------------------------
/Firmware/build_batch.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | VERSION=6+1
3 |
4 | if [ ! -e hex ]; then
5 | mkdir hex
6 | fi
7 |
8 | make LIGHTPACK_HW=4
9 | mv Lightpack_hw4.hex hex/Lightpack_hw4_${VERSION}.hex
10 | make clean LIGHTPACK_HW=4
11 | make LIGHTPACK_HW=5
12 | mv Lightpack_hw5.hex hex/Lightpack_hw5_${VERSION}.hex
13 | make clean LIGHTPACK_HW=5
14 | make LIGHTPACK_HW=6
15 | mv Lightpack_hw6.hex hex/Lightpack_hw6_${VERSION}.hex
16 | make clean LIGHTPACK_HW=6
17 | make LIGHTPACK_HW=7
18 | mv Lightpack_hw7.hex hex/Lightpack_hw7_${VERSION}.hex
19 | make clean LIGHTPACK_HW=7
20 |
--------------------------------------------------------------------------------
/Hardware/Lightpack.brd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Hardware/Lightpack.brd
--------------------------------------------------------------------------------
/Hardware/Lightpack.sch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Hardware/Lightpack.sch
--------------------------------------------------------------------------------
/LICENSE-TEMPLATE:
--------------------------------------------------------------------------------
1 | /*
2 | * %FILENAME%
3 | *
4 | * Created on: %DATE%
5 | * Project: Prismatik
6 | *
7 | * Copyright (c) %YEAR% %USER%
8 | *
9 | * Lightpack is an open-source, USB content-driving ambient lighting
10 | * hardware.
11 | *
12 | * Prismatik is a free, open-source software: you can redistribute it and/or
13 | * modify it under the terms of the GNU General Public License as published
14 | * by the Free Software Foundation, either version 2 of the License, or
15 | * (at your option) any later version.
16 | *
17 | * Prismatik and Lightpack files is distributed in the hope that it will be
18 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 | * General Public License for more details.
21 | *
22 | * You should have received a copy of the GNU General Public License
23 | * along with this program. If not, see .
24 | *
25 | */
26 |
--------------------------------------------------------------------------------
/Software/Doxyfile.readme:
--------------------------------------------------------------------------------
1 | To be able to generate Qt help files (.qhc) you need to provide doxygen with correct Doxyfile.
2 |
3 | 1. execute in current directory
4 | cp Doxyfile.original Doxyfile
5 |
6 | 2. make sure you have correct QHG_LOCATION tag there
7 | QHG_LOCATION = full\path\to\qhelpgenerator.exe
--------------------------------------------------------------------------------
/Software/RELEASE_VERSION:
--------------------------------------------------------------------------------
1 | 5.11.2.31
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/build.properties:
--------------------------------------------------------------------------------
1 | # This file is used to override default values used by the Ant build system.
2 | #
3 | # This file must be checked in Version Control Systems, as it is
4 | # integral to the build system of your project.
5 |
6 | # This file is only used by the Ant script.
7 |
8 | # You can use this to override default values such as
9 | # 'source.dir' for the location of your java source folder and
10 | # 'out.dir' for the location of your output folder.
11 |
12 | # You can also use it define how the release builds are signed by declaring
13 | # the following properties:
14 | # 'key.store' for the location of your keystore and
15 | # 'key.alias' for the name of the key to use.
16 | # The password will be asked during the build when you use the 'release' target.
17 |
18 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/default.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system use,
7 | # "build.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Project target.
11 | target=android-8
12 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/export.properties:
--------------------------------------------------------------------------------
1 | # Export properties
2 | #
3 | # This file must be checked in Version Control Systems.
4 |
5 | # The main content for this file is:
6 | # - package name for the application being export
7 | # - list of the projects being export
8 | # - version code for the application
9 |
10 | # You can also use it define how the release builds are signed by declaring
11 | # the following properties:
12 | # 'key.store' for the location of your keystore and
13 | # 'key.alias' for the name of the key alias to use.
14 | # The password will be asked during the build when you use the 'release' target.
15 |
16 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/local.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must *NOT* be checked in Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 |
7 | # location of the SDK. This is only used by Ant
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | sdk.dir=C:\\\\android\\\\android-sdk
11 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/nbandroid/private.properties:
--------------------------------------------------------------------------------
1 | auxiliary.launch.action=main
2 | auxiliary.launch.target=AUTO
3 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-hdpi/on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-hdpi/on.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-ldpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-ldpi/icon.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-ldpi/on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-ldpi/on.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/drawable-mdpi/on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Android/DroidPack/res/drawable-mdpi/on.png
--------------------------------------------------------------------------------
/Software/apiexamples/Android/DroidPack/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | DroidPack
4 |
5 |
--------------------------------------------------------------------------------
/Software/apiexamples/Android/LightpackDrive_AppInventor/src/appinventor/ai_brunql/LightpackDrive/Screen1.scm:
--------------------------------------------------------------------------------
1 | #|
2 | $JSON
3 | {"YaVersion":"51","Source":"Form","Properties":{"$Name":"Screen1","$Type":"Form","$Version":"6","Uuid":"0","Title":"Screen1","$Components":[{"$Name":"VerticalArrangement2","$Type":"VerticalArrangement","$Version":"1","Uuid":"-957935281"},{"$Name":"VerticalArrangement1","$Type":"VerticalArrangement","$Version":"1","Uuid":"-2123959742","Width":"-2","Height":"-2","$Components":[{"$Name":"LabelStatus","$Type":"Label","$Version":"2","Uuid":"2131961819","Text":"Status: -","TextAlignment":"1","Width":"-2"},{"$Name":"ButtonOnOff","$Type":"Button","$Version":"3","Uuid":"696639650","Text":"On \/ Off","Width":"-2"}]},{"$Name":"WebHttpRequest","$Type":"Web","$Version":"2","Uuid":"1704331198"}]}}
4 | |#
--------------------------------------------------------------------------------
/Software/apiexamples/Android/LightpackDrive_AppInventor/youngandroidproject/project.properties:
--------------------------------------------------------------------------------
1 | main=appinventor.ai_brunql.LightpackDrive.Screen1
2 | name=LightpackDrive
3 | assets=../assets
4 | source=../src
5 | build=../build
6 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual C# Express 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CpuMemMonitor", "CpuMemMonitor\CpuMemMonitor.csproj", "{02E9B2BE-EECD-4B87-BDBC-C085DA0E477E}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {02E9B2BE-EECD-4B87-BDBC-C085DA0E477E}.Debug|x86.ActiveCfg = Debug|x86
13 | {02E9B2BE-EECD-4B87-BDBC-C085DA0E477E}.Debug|x86.Build.0 = Debug|x86
14 | {02E9B2BE-EECD-4B87-BDBC-C085DA0E477E}.Release|x86.ActiveCfg = Release|x86
15 | {02E9B2BE-EECD-4B87-BDBC-C085DA0E477E}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor.suo
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.vshost.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Debug/CpuMemMonitor.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Release/CpuMemMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Release/CpuMemMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Release/CpuMemMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/bin/Release/CpuMemMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/CpuMemMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/CpuMemMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/CpuMemMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/CpuMemMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/ResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Debug/ResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/CpuMemMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/CpuMemMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/CpuMemMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/CpuMemMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/ResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMemMonitor/CpuMemMonitor/CpuMemMonitor/obj/x86/Release/ResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/Readme.txt:
--------------------------------------------------------------------------------
1 | CpuMemMonitor - ТЮИКШ ОПНЕЙРЮ МЮ C#
2 | CpuMemMonitor.exe - ХЯОНКМЪЕЛШИ ТЮХК
3 | Run.bat - ХЯОНКМЪЕЛШИ ТЮИК ГЮОСЯЙЮРЭ ВЕПЕГ МЕЦН.
4 |
5 | оПНЦПЮЛЛЮ НРЯКЕФХБЮЕР ГЮЦПСГЙС жо Х ХЯОНКЭГСЕЛСЧ ОЮЛЪРЭ Х ЯНОПНБНФДЮЕР ЩРН БХГСЮКХГЮЖХЕИ(ДКЪ 10 ДХНДНБ, ПЮЯОНКНФЕММШУ ОН ВЮЯНБНИ ЯРПЕКЙЕ Я МЮВЮКНЛ Б КЕБНЛ МХФМЕЛ СЦКС).
6 |
7 | нАПЮАНРЮМЮ НЬХАЙЮ, БНГМХЙЮЧЫЮЪ ОПХ НРЯСРЯРБСЧЫЕЛ кЮИРОЮЙЕ.
8 |
9 | дНАЮБКЕМЮ БНГЛНФМНЯРЭ ХГЛЕМЕМХЪ gamma Х smootch, ГЮДЮЧРЯЪ Б Run.bat.
10 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMemMonitor/Run.bat:
--------------------------------------------------------------------------------
1 | start CpuMemMonitor.exe 2.15 100
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual C# Express 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CpuMonitor", "CpuMonitor\CpuMonitor.csproj", "{F9CB6FCC-C293-4D13-BD3F-E60D1B72E1FD}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|x86 = Debug|x86
9 | Release|x86 = Release|x86
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {F9CB6FCC-C293-4D13-BD3F-E60D1B72E1FD}.Debug|x86.ActiveCfg = Debug|x86
13 | {F9CB6FCC-C293-4D13-BD3F-E60D1B72E1FD}.Debug|x86.Build.0 = Debug|x86
14 | {F9CB6FCC-C293-4D13-BD3F-E60D1B72E1FD}.Release|x86.ActiveCfg = Release|x86
15 | {F9CB6FCC-C293-4D13-BD3F-E60D1B72E1FD}.Release|x86.Build.0 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor.suo
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/CpuMonitor.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.vshost.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Debug/CpuMonitor.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Release/CpuMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Release/CpuMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Release/CpuMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/bin/Release/CpuMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/CpuMonitor.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\bin\Debug\CpuMonitor.exe
2 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\bin\Debug\CpuMonitor.pdb
3 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Debug\ResolveAssemblyReference.cache
4 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Debug\CpuMonitor.exe
5 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Debug\CpuMonitor.pdb
6 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\bin\Debug\CpuMonitor.exe
7 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\bin\Debug\CpuMonitor.pdb
8 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Debug\ResolveAssemblyReference.cache
9 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Debug\CpuMonitor.exe
10 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Debug\CpuMonitor.pdb
11 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/CpuMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/CpuMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/CpuMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/CpuMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/CpuMonitor.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\bin\Release\CpuMonitor.exe
2 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\bin\Release\CpuMonitor.pdb
3 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Release\ResolveAssemblyReference.cache
4 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Release\CpuMonitor.exe
5 | C:\Users\790\documents\visual studio 2010\Projects\CpuMonitor\CpuMonitor\obj\x86\Release\CpuMonitor.pdb
6 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Release\CpuMonitor.exe
7 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Release\CpuMonitor.pdb
8 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\bin\Release\CpuMonitor.exe
9 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\bin\Release\CpuMonitor.pdb
10 | C:\Users\790\Documents\Visual Studio 2010\Projects\CM\CpuMonitor\CpuMonitor\obj\x86\Release\ResolveAssemblyReference.cache
11 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/CpuMonitor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/CpuMonitor.exe
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/CpuMonitor.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/CpuMonitor.pdb
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/ResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/CpuMonitor/CpuMonitor/CpuMonitor/obj/x86/Release/ResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/Readme.txt:
--------------------------------------------------------------------------------
1 | CpuMonitor - ТЮИКШ ОПНЕЙРЮ МЮ C#
2 | CpuMonitor.exe - ХЯОНКМЪЕЛШИ ТЮХК
3 | Run.bat - ХЯОНКМЪЕЛШИ ТЮИК ГЮОСЯЙЮРЭ ВЕПЕГ МЕЦН.
4 |
5 | оПНЦПЮЛЛЮ НРЯКЕФХБЮЕР ГЮЦПСГЙС жо Х ЯНОПНБНФДЮЕР ЩРН БХГСЮКХГЮЖХЕИ.
6 |
7 | дНАЮБКЕМЮ БНГЛНФМНЯРЭ ХГЛЕМЕМХЪ gamma Х smootch, ГЮДЮЧРЯЪ Б Run.bat.
8 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/CpuMonitor/Run.bat:
--------------------------------------------------------------------------------
1 | start CpuMonitor.exe 2.15 100
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/AudioClientBufferFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// Audio Client Buffer Flags
9 | ///
10 | [Flags]
11 | public enum AudioClientBufferFlags
12 | {
13 | ///
14 | /// None
15 | ///
16 | None,
17 | ///
18 | /// AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY
19 | ///
20 | DataDiscontinuity = 0x1,
21 | ///
22 | /// AUDCLNT_BUFFERFLAGS_SILENT
23 | ///
24 | Silent = 0x2,
25 | ///
26 | /// AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR
27 | ///
28 | TimestampError = 0x4
29 |
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/AudioClientShareMode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// AUDCLNT_SHAREMODE
9 | ///
10 | public enum AudioClientShareMode
11 | {
12 | ///
13 | /// AUDCLNT_SHAREMODE_SHARED,
14 | ///
15 | Shared,
16 | ///
17 | /// AUDCLNT_SHAREMODE_EXCLUSIVE
18 | ///
19 | Exclusive,
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/AudioClientStreamFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// AUDCLNT_STREAMFLAGS
9 | ///
10 | [Flags]
11 | public enum AudioClientStreamFlags
12 | {
13 | ///
14 | /// None
15 | ///
16 | None,
17 | ///
18 | /// AUDCLNT_STREAMFLAGS_CROSSPROCESS
19 | ///
20 | CrossProcess = 0x00010000,
21 | ///
22 | /// AUDCLNT_STREAMFLAGS_LOOPBACK
23 | ///
24 | Loopback = 0x00020000,
25 | ///
26 | /// AUDCLNT_STREAMFLAGS_EVENTCALLBACK
27 | ///
28 | EventCallback = 0x00040000,
29 | ///
30 | /// AUDCLNT_STREAMFLAGS_NOPERSIST
31 | ///
32 | NoPersist = 0x00080000,
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/DataFlow.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// The EDataFlow enumeration defines constants that indicate the direction
9 | /// in which audio data flows between an audio endpoint device and an application
10 | ///
11 | public enum DataFlow
12 | {
13 | ///
14 | /// Audio rendering stream.
15 | /// Audio data flows from the application to the audio endpoint device, which renders the stream.
16 | ///
17 | Render,
18 | ///
19 | /// Audio capture stream. Audio data flows from the audio endpoint device that captures the stream,
20 | /// to the application
21 | ///
22 | Capture,
23 | ///
24 | /// Audio rendering or capture stream. Audio data can flow either from the application to the audio
25 | /// endpoint device, or from the audio endpoint device to the application.
26 | ///
27 | All
28 | };
29 |
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IAudioCaptureClient.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 |
9 |
10 | [Guid("C8ADBD64-E71E-48a0-A4DE-185C395CD317"),
11 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
12 | interface IAudioCaptureClient
13 | {
14 | /*HRESULT GetBuffer(
15 | BYTE** ppData,
16 | UINT32* pNumFramesToRead,
17 | DWORD* pdwFlags,
18 | UINT64* pu64DevicePosition,
19 | UINT64* pu64QPCPosition
20 | );*/
21 |
22 | int GetBuffer(
23 | out IntPtr dataBuffer,
24 | out int numFramesToRead,
25 | out AudioClientBufferFlags bufferFlags,
26 | out long devicePosition,
27 | out long qpcPosition);
28 |
29 | int ReleaseBuffer(int numFramesRead);
30 |
31 | int GetNextPacketSize(out int numFramesInNextPacket);
32 |
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IAudioRenderClient.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | [Guid("F294ACFC-3146-4483-A7BF-ADDCA7C260E2"),
9 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 | interface IAudioRenderClient
11 | {
12 | int GetBuffer(int numFramesRequested, out IntPtr dataBufferPointer);
13 | int ReleaseBuffer(int numFramesWritten, AudioClientBufferFlags bufferFlags);
14 | }
15 |
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IMMDevice.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | [Guid("D666063F-1587-4E43-81F1-B948E807363F"),
9 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 | interface IMMDevice
11 | {
12 | // activationParams is a propvariant
13 | int Activate(ref Guid id, ClsCtx clsCtx, IntPtr activationParams,
14 | [MarshalAs(UnmanagedType.IUnknown)] out object interfacePointer);
15 |
16 | int OpenPropertyStore(StorageAccessMode stgmAccess, out IPropertyStore properties);
17 |
18 | int GetId([MarshalAs(UnmanagedType.LPWStr)] out string id);
19 |
20 | int GetState(out DeviceState state);
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IMMDeviceCollection.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | [Guid("0BD7A1BE-7A1A-44DB-8397-CC5392387B5E"),
9 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 | interface IMMDeviceCollection
11 | {
12 | int GetCount(out int numDevices);
13 | int Item(int deviceNumber, out IMMDevice device);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IMMDeviceEnumerator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | [Guid("A95664D2-9614-4F35-A746-DE8DB63617E6"),
9 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 | interface IMMDeviceEnumerator
11 | {
12 | int EnumAudioEndpoints(DataFlow dataFlow, DeviceState stateMask,
13 | out IMMDeviceCollection devices);
14 |
15 | int GetDefaultAudioEndpoint(DataFlow dataFlow, Role role, out IMMDevice endpoint);
16 |
17 | int GetDevice(string id, out IMMDevice deviceName);
18 |
19 | int RegisterEndpointNotificationCallback(IMMNotificationClient client);
20 |
21 | int UnregisterEndpointNotificationCallback(IMMNotificationClient client);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IMMEndpoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | ///
9 | /// defined in MMDeviceAPI.h
10 | ///
11 | [Guid("1BE09788-6894-4089-8586-9A2A6C265AC5"),
12 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
13 | interface IMMEndpoint
14 | {
15 | int GetDataFlow(out DataFlow dataFlow);
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/IPropertyStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | ///
9 | /// is defined in propsys.h
10 | ///
11 | [Guid("886d8eeb-8cf2-4446-8d02-cdba1dbdcf99"),
12 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
13 | interface IPropertyStore
14 | {
15 | int GetCount(out int propCount);
16 | int GetAt(int property, out PropertyKey key);
17 | int GetValue(ref PropertyKey key, out PropVariant value);
18 | int SetValue(ref PropertyKey key, ref PropVariant value);
19 | int Commit();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/MMDeviceEnumeratorComObject.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.CoreAudioApi.Interfaces
7 | {
8 | ///
9 | /// implements IMMDeviceEnumerator
10 | ///
11 | [ComImport, Guid("BCDE0395-E52F-467C-8E3D-C4579291692E")]
12 | class MMDeviceEnumeratorComObject
13 | {
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Interfaces/StorageAccessMode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi.Interfaces
6 | {
7 | ///
8 | /// MMDevice STGM enumeration
9 | ///
10 | enum StorageAccessMode
11 | {
12 | Read,
13 | Write,
14 | ReadWrite
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/PropertyKey.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// PROPERTYKEY is defined in wtypes.h
9 | ///
10 | public struct PropertyKey
11 | {
12 | ///
13 | /// Format ID
14 | ///
15 | public Guid formatId;
16 | ///
17 | /// Property ID
18 | ///
19 | public int propertyId;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/CoreAudioApi/Role.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.CoreAudioApi
6 | {
7 | ///
8 | /// The ERole enumeration defines constants that indicate the role
9 | /// that the system has assigned to an audio endpoint device
10 | ///
11 | public enum Role
12 | {
13 | ///
14 | /// Games, system notification sounds, and voice commands.
15 | ///
16 | Console,
17 | ///
18 | /// Music, movies, narration, and live music recording
19 | ///
20 | Multimedia,
21 | ///
22 | /// Voice communications (talking to another person).
23 | ///
24 | Communications,
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoDescriptor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// Contains the name and CLSID of a DirectX Media Object
9 | ///
10 | public class DmoDescriptor
11 | {
12 | ///
13 | /// Name
14 | ///
15 | public string Name { get; private set; }
16 |
17 | ///
18 | /// Clsid
19 | ///
20 | public Guid Clsid { get; private set; }
21 |
22 | ///
23 | /// Initializes a new instance of DmoDescriptor
24 | ///
25 | public DmoDescriptor(string name, Guid clsid)
26 | {
27 | this.Name = name;
28 | this.Clsid = clsid;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoEnumFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | [Flags]
8 | enum DmoEnumFlags
9 | {
10 | None,
11 | DMO_ENUMF_INCLUDE_KEYED = 0x00000001
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoHResults.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// MediaErr.h
9 | ///
10 | enum DmoHResults
11 | {
12 | DMO_E_INVALIDSTREAMINDEX = unchecked((int)0x80040201),
13 | DMO_E_INVALIDTYPE = unchecked((int)0x80040202),
14 | DMO_E_TYPE_NOT_SET = unchecked((int)0x80040203),
15 | DMO_E_NOTACCEPTING = unchecked((int)0x80040204),
16 | DMO_E_TYPE_NOT_ACCEPTED = unchecked((int)0x80040205),
17 | DMO_E_NO_MORE_ITEMS = unchecked((int)0x80040206),
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoInputDataBufferFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// DMO Input Data Buffer Flags
9 | ///
10 | [Flags]
11 | public enum DmoInputDataBufferFlags
12 | {
13 | ///
14 | /// None
15 | ///
16 | None,
17 | ///
18 | /// DMO_INPUT_DATA_BUFFERF_SYNCPOINT
19 | ///
20 | SyncPoint = 0x00000001,
21 | ///
22 | /// DMO_INPUT_DATA_BUFFERF_TIME
23 | ///
24 | Time = 0x00000002,
25 | ///
26 | /// DMO_INPUT_DATA_BUFFERF_TIMELENGTH
27 | ///
28 | TimeLength = 0x00000004
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoInputStatusFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | [Flags]
8 | enum DmoInputStatusFlags
9 | {
10 | None,
11 | DMO_INPUT_STATUSF_ACCEPT_DATA = 0x1
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoInterop.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.Dmo
7 | {
8 | static class DmoInterop
9 | {
10 | [DllImport("msdmo.dll")]
11 | public static extern int DMOEnum(
12 | [In] ref Guid guidCategory,
13 | DmoEnumFlags flags,
14 | int inTypes,
15 | [In] DmoPartialMediaType[] inTypesArray,
16 | int outTypes,
17 | [In] DmoPartialMediaType[] outTypesArray,
18 | out IEnumDmo enumDmo);
19 |
20 | [DllImport("msdmo.dll")]
21 | public static extern int MoFreeMediaType(
22 | [In] ref DmoMediaType mediaType);
23 |
24 | [DllImport("msdmo.dll")]
25 | public static extern int MoInitMediaType(
26 | [In,Out] ref DmoMediaType mediaType, int formatBlockBytes);
27 |
28 | [DllImport("msdmo.dll")]
29 | public static extern int DMOGetName([In] ref Guid clsidDMO,
30 | // preallocate 80 characters
31 | [Out] StringBuilder name);
32 |
33 |
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoOutputDataBufferFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// DMO Output Data Buffer Flags
9 | ///
10 | [Flags]
11 | public enum DmoOutputDataBufferFlags
12 | {
13 | ///
14 | /// None
15 | ///
16 | None,
17 | ///
18 | /// DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT
19 | ///
20 | SyncPoint = 0x00000001,
21 | ///
22 | /// DMO_OUTPUT_DATA_BUFFERF_TIME
23 | ///
24 | Time = 0x00000002,
25 | ///
26 | /// DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH
27 | ///
28 | TimeLength = 0x00000004,
29 | ///
30 | /// DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE
31 | ///
32 | Incomplete = 0x01000000
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoPartialMediaType.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// DMO_PARTIAL_MEDIATYPE
9 | ///
10 | struct DmoPartialMediaType
11 | {
12 | Guid type;
13 | Guid subtype;
14 |
15 | public Guid Type
16 | {
17 | get { return type; }
18 | internal set { type = value; }
19 | }
20 |
21 | public Guid Subtype
22 | {
23 | get { return subtype; }
24 | internal set { subtype = value; }
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoProcessOutputFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | ///
8 | /// DMO Process Output Flags
9 | ///
10 | [Flags]
11 | public enum DmoProcessOutputFlags
12 | {
13 | ///
14 | /// None
15 | ///
16 | None,
17 | ///
18 | /// DMO_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER
19 | ///
20 | DiscardWhenNoBuffer = 0x00000001
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/DmoSetTypeFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | [Flags]
8 | enum DmoSetTypeFlags
9 | {
10 | None,
11 | DMO_SET_TYPEF_TEST_ONLY = 0x00000001,
12 | DMO_SET_TYPEF_CLEAR = 0x00000002
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/IEnumDmo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.Dmo
7 | {
8 | [Guid("2c3cd98a-2bfa-4a53-9c27-5249ba64ba0f"),
9 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 | interface IEnumDmo
11 | {
12 | // int Next(int itemsToFetch, CLSID[] clsids, string[] names, out int itemsFetched);
13 | // lets do one at a time to keep it simple - don't call with itemsToFetch > 1
14 | int Next(int itemsToFetch, out Guid clsid, out IntPtr name, out int itemsFetched);
15 |
16 | int Skip(int itemsToSkip);
17 |
18 | int Reset();
19 |
20 | int Clone(out IEnumDmo enumPointer);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/IWMResamplerProps.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace NAudio.Dmo
7 | {
8 | ///
9 | /// Windows Media Resampler Props
10 | /// wmcodecdsp.h
11 | ///
12 | [Guid("E7E9984F-F09F-4da4-903F-6E2E0EFE56B5"),
13 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
14 | interface IWMResamplerProps
15 | {
16 | ///
17 | /// Range is 1 to 60
18 | ///
19 | int SetHalfFilterLength(int outputQuality);
20 |
21 | int SetUserChannelMtx([In] float[] channelConversionMatrix);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/InputStreamInfoFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | [Flags]
8 | enum InputStreamInfoFlags
9 | {
10 | None,
11 | DMO_INPUT_STREAMF_WHOLE_SAMPLES = 0x00000001,
12 | DMO_INPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,
13 | DMO_INPUT_STREAMF_FIXED_SAMPLE_SIZE = 0x00000004,
14 | DMO_INPUT_STREAMF_HOLDS_BUFFERS = 0x00000008
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dmo/OutputStreamInfoFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dmo
6 | {
7 | [Flags]
8 | enum OutputStreamInfoFlags
9 | {
10 | DMO_OUTPUT_STREAMF_WHOLE_SAMPLES = 0x00000001,
11 | DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,
12 | DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE = 0x00000004,
13 | DMO_OUTPUT_STREAMF_DISCARDABLE = 0x00000008,
14 | DMO_OUTPUT_STREAMF_OPTIONAL = 0x00000010
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/Complex.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Dsp
6 | {
7 | ///
8 | /// Type to represent complex number
9 | ///
10 | public struct Complex
11 | {
12 | ///
13 | /// Real Part
14 | ///
15 | public float X;
16 | ///
17 | /// Imaginary Part
18 | ///
19 | public float Y;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/EnvelopeDetector.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/EnvelopeDetector.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/ShiftBuffer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 |
4 | namespace NAudio.Dsp
5 | {
6 | ///
7 | /// A shift buffer
8 | ///
9 | public class ShiftBuffer
10 | {
11 | private double[][] list;
12 | private int insertPos;
13 | private int size;
14 |
15 | ///
16 | /// creates a new shift buffer
17 | ///
18 | public ShiftBuffer(int size)
19 | {
20 | list = new double[size][];
21 | insertPos = 0;
22 | this.size = size;
23 | }
24 |
25 | ///
26 | /// Add samples to the buffer
27 | ///
28 | public void Add(double[] buffer)
29 | {
30 | list[insertPos] = buffer;
31 | insertPos = (insertPos + 1) % size;
32 | }
33 |
34 | ///
35 | /// Return samples from the buffer
36 | ///
37 | public double[] this[int index]
38 | {
39 | get
40 | {
41 | return list[(size+insertPos-index) % size];
42 | }
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/SimpleCompressor.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/SimpleCompressor.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/SimpleGate.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/Dsp/SimpleGate.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/Map/MapBlockHeader.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.IO;
5 |
6 | namespace NAudio.FileFormats.Map
7 | {
8 | class MapBlockHeader
9 | {
10 | int length; // surely this is length
11 | int value2;
12 | short value3;
13 | short value4;
14 |
15 | public static MapBlockHeader Read(BinaryReader reader)
16 | {
17 | MapBlockHeader header = new MapBlockHeader();
18 | header.length = reader.ReadInt32(); // usually first 2 bytes have a value
19 | header.value2 = reader.ReadInt32(); // usually 0
20 | header.value3 = reader.ReadInt16(); // 0,1,2,3
21 | header.value4 = reader.ReadInt16(); // 0x1017 (sometimes 0x1018
22 | return header;
23 | }
24 |
25 | public override string ToString()
26 | {
27 | return String.Format("{0} {1:X8} {2:X4} {3:X4}",
28 | length, value2, value3, value4);
29 | }
30 |
31 | public int Length
32 | {
33 | get { return length; }
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/Mp3/ChannelMode.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Channel Mode
9 | ///
10 | public enum ChannelMode
11 | {
12 | ///
13 | /// Stereo
14 | ///
15 | Stereo,
16 | ///
17 | /// Joint Stereo
18 | ///
19 | JointStereo,
20 | ///
21 | /// Dual Channel
22 | ///
23 | DualChannel,
24 | ///
25 | /// Mono
26 | ///
27 | Mono
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/Mp3/IMp3FrameDecompressor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Interface for MP3 frame by frame decoder
9 | ///
10 | public interface IMp3FrameDecompressor : IDisposable
11 | {
12 | ///
13 | /// Decompress a single MP3 frame
14 | ///
15 | /// Frame to decompress
16 | /// Output buffer
17 | /// Offset within output buffer
18 | /// Bytes written to output buffer
19 | int DecompressFrame(Mp3Frame frame, byte[] dest, int destOffset);
20 |
21 | ///
22 | /// PCM format that we are converting into
23 | ///
24 | WaveFormat OutputFormat { get; }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/Mp3/MpegLayer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// MPEG Layer flags
9 | ///
10 | public enum MpegLayer
11 | {
12 | ///
13 | /// Reserved
14 | ///
15 | Reserved,
16 | ///
17 | /// Layer 3
18 | ///
19 | Layer3,
20 | ///
21 | /// Layer 2
22 | ///
23 | Layer2,
24 | ///
25 | /// Layer 1
26 | ///
27 | Layer1
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/Mp3/MpegVersion.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// MPEG Version Flags
9 | ///
10 | public enum MpegVersion
11 | {
12 | ///
13 | /// Version 2.5
14 | ///
15 | Version25,
16 | ///
17 | /// Reserved
18 | ///
19 | Reserved,
20 | ///
21 | /// Version 2
22 | ///
23 | Version2,
24 | ///
25 | /// Version 1
26 | ///
27 | Version1
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Generator.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Generator.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/GeneratorBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/GeneratorBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/GeneratorEnum.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/GeneratorEnum.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/InfoChunk.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/InfoChunk.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Instrument.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Instrument.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/InstrumentBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/InstrumentBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Modulator.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Modulator.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ModulatorBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ModulatorBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ModulatorType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ModulatorType.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Preset.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Preset.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/PresetBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/PresetBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/PresetsChunk.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/PresetsChunk.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/RiffChunk.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/RiffChunk.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFSampleLink.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFSampleLink.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFVersion.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFVersion.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFVersionBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SFVersionBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleDataChunk.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleDataChunk.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleHeader.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleHeader.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleHeaderBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleHeaderBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleMode.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SampleMode.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SoundFont.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/SoundFont.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/StructureBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/StructureBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Zone.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/Zone.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ZoneBuilder.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/NAudio/FileFormats/SoundFont/ZoneBuilder.cs
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Gui/TrackView/AudioClip.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Gui.TrackView
6 | {
7 | ///
8 | /// Audio Clip
9 | ///
10 | public class AudioClip : Clip
11 | {
12 | private string sourceFileName;
13 |
14 | ///
15 | /// Creates a new Audio Clip
16 | ///
17 | public AudioClip(string name, TimeSpan startTime, TimeSpan duration)
18 | : base(name, startTime, duration)
19 | {
20 |
21 | }
22 |
23 | ///
24 | /// Source File Name
25 | ///
26 | public string SourceFileName
27 | {
28 | get { return sourceFileName; }
29 | set { sourceFileName = value; }
30 | }
31 |
32 |
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Midi/MidiController.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace NAudio.Midi
4 | {
5 | ///
6 | /// MidiController enumeration
7 | ///
8 | public enum MidiController : byte
9 | {
10 | /// Modulation
11 | Modulation = 1,
12 | /// Main volume
13 | MainVolume = 7,
14 | /// Pan
15 | Pan = 10,
16 | /// Expression
17 | Expression = 11,
18 | /// Sustain
19 | Sustain = 64,
20 | /// Reset all controllers
21 | ResetAllControllers = 121,
22 | /// All notes off
23 | AllNotesOff = 123,
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Midi/MidiOutTechnology.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace NAudio.Midi
4 | {
5 | ///
6 | /// Represents the different types of technology used by a MIDI out device
7 | ///
8 | /// from mmsystem.h
9 | public enum MidiOutTechnology
10 | {
11 | /// The device is a MIDI port
12 | MidiPort = 1,
13 | /// The device is a MIDI synth
14 | Synth = 2,
15 | /// The device is a square wave synth
16 | SquareWaveSynth = 3,
17 | /// The device is an FM synth
18 | FMSynth = 4,
19 | /// The device is a MIDI mapper
20 | MidiMapper = 5,
21 | /// The device is a WaveTable synth
22 | WaveTableSynth = 6,
23 | /// The device is a software synth
24 | SoftwareSynth = 7
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Mixer/CustomMixerControl.cs:
--------------------------------------------------------------------------------
1 | // created on 13/12/2002 at 22:07
2 | using System;
3 | using System.Runtime.InteropServices;
4 |
5 | namespace NAudio.Mixer
6 | {
7 | ///
8 | /// Custom Mixer control
9 | ///
10 | public class CustomMixerControl : MixerControl
11 | {
12 | internal CustomMixerControl(MixerInterop.MIXERCONTROL mixerControl, IntPtr mixerHandle, MixerFlags mixerHandleType, int nChannels)
13 | {
14 | this.mixerControl = mixerControl;
15 | this.mixerHandle = mixerHandle;
16 | this.mixerHandleType = mixerHandleType;
17 | this.nChannels = nChannels;
18 | this.mixerControlDetails = new MixerInterop.MIXERCONTROLDETAILS();
19 | GetControlDetails();
20 | }
21 |
22 | ///
23 | /// Get the data for this custom control
24 | ///
25 | /// pointer to memory to receive data
26 | protected override void GetDetails(IntPtr pDetails)
27 | {
28 | }
29 |
30 | // TODO: provide a way of getting / setting data
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Mixer/ListTextMixerControl.cs:
--------------------------------------------------------------------------------
1 | // created on 13/12/2002 at 22:06
2 | using System;
3 | using System.Runtime.InteropServices;
4 |
5 | namespace NAudio.Mixer
6 | {
7 | ///
8 | /// List text mixer control
9 | ///
10 | public class ListTextMixerControl : MixerControl
11 | {
12 | internal ListTextMixerControl(MixerInterop.MIXERCONTROL mixerControl, IntPtr mixerHandle, MixerFlags mixerHandleType, int nChannels)
13 | {
14 | this.mixerControl = mixerControl;
15 | this.mixerHandle = mixerHandle;
16 | this.mixerHandleType = mixerHandleType;
17 | this.nChannels = nChannels;
18 | this.mixerControlDetails = new MixerInterop.MIXERCONTROLDETAILS();
19 |
20 | GetControlDetails();
21 |
22 | }
23 |
24 | ///
25 | /// Get the details for this control
26 | ///
27 | /// Memory location to read to
28 | protected override void GetDetails(IntPtr pDetails)
29 | {
30 | }
31 |
32 | // TODO: provide a way of getting / setting data
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/NAudio.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/NAudio.ruleset:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmDriverDetailsSupportFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace NAudio.Wave.Compression
4 | {
5 | ///
6 | /// Flags indicating what support a particular ACM driver has
7 | ///
8 | [Flags]
9 | public enum AcmDriverDetailsSupportFlags
10 | {
11 | /// ACMDRIVERDETAILS_SUPPORTF_CODEC - Codec
12 | Codec = 0x00000001,
13 | /// ACMDRIVERDETAILS_SUPPORTF_CONVERTER - Converter
14 | Converter = 0x00000002,
15 | /// ACMDRIVERDETAILS_SUPPORTF_FILTER - Filter
16 | Filter = 0x00000004,
17 | /// ACMDRIVERDETAILS_SUPPORTF_HARDWARE - Hardware
18 | Hardware = 0x00000008,
19 | /// ACMDRIVERDETAILS_SUPPORTF_ASYNC - Async
20 | Async = 0x00000010,
21 | /// ACMDRIVERDETAILS_SUPPORTF_LOCAL - Local
22 | Local = 0x40000000,
23 | /// ACMDRIVERDETAILS_SUPPORTF_DISABLED - Disabled
24 | Disabled = unchecked((int)0x80000000),
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmDriverEnumFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave.Compression
6 | {
7 | [Flags]
8 | enum AcmDriverEnumFlags
9 | {
10 | ///
11 | /// ACM_DRIVERENUMF_NOLOCAL, Only global drivers should be included in the enumeration
12 | ///
13 | NoLocal = 0x40000000,
14 | ///
15 | /// ACM_DRIVERENUMF_DISABLED, Disabled ACM drivers should be included in the enumeration
16 | ///
17 | Disabled = unchecked((int)0x80000000),
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmFormatSuggestFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave.Compression
6 | {
7 | [Flags]
8 | enum AcmFormatSuggestFlags
9 | {
10 | ///
11 | /// ACM_FORMATSUGGESTF_WFORMATTAG
12 | ///
13 | FormatTag = 0x00010000,
14 | ///
15 | /// ACM_FORMATSUGGESTF_NCHANNELS
16 | ///
17 | Channels = 0x00020000,
18 | ///
19 | /// ACM_FORMATSUGGESTF_NSAMPLESPERSEC
20 | ///
21 | SamplesPerSecond = 0x00040000,
22 | ///
23 | /// ACM_FORMATSUGGESTF_WBITSPERSAMPLE
24 | ///
25 | BitsPerSample = 0x00080000,
26 | ///
27 | /// ACM_FORMATSUGGESTF_TYPEMASK
28 | ///
29 | TypeMask = 0x00FF0000,
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmStreamConvertFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | [Flags]
8 | enum AcmStreamConvertFlags
9 | {
10 | ///
11 | /// ACM_STREAMCONVERTF_BLOCKALIGN
12 | ///
13 | BlockAlign = 0x00000004,
14 | ///
15 | /// ACM_STREAMCONVERTF_START
16 | ///
17 | Start = 0x00000010,
18 | ///
19 | /// ACM_STREAMCONVERTF_END
20 | ///
21 | End = 0x00000020,
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmStreamHeaderStatusFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave.Compression
6 | {
7 | [Flags]
8 | enum AcmStreamHeaderStatusFlags
9 | {
10 | ///
11 | /// ACMSTREAMHEADER_STATUSF_DONE
12 | ///
13 | Done = 0x00010000,
14 | ///
15 | /// ACMSTREAMHEADER_STATUSF_PREPARED
16 | ///
17 | Prepared = 0x00020000,
18 | ///
19 | /// ACMSTREAMHEADER_STATUSF_INQUEUE
20 | ///
21 | InQueue = 0x00100000,
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/AcmStreamSizeFlags.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave.Compression
6 | {
7 | enum AcmStreamSizeFlags
8 | {
9 | ///
10 | /// ACM_STREAMSIZEF_SOURCE
11 | ///
12 | Source = 0x00000000,
13 | ///
14 | /// ACM_STREAMSIZEF_DESTINATION
15 | ///
16 | Destination = 0x00000001
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/Compression/WaveFilter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 |
4 | namespace NAudio.Wave.Compression
5 | {
6 | ///
7 | /// Summary description for WaveFilter.
8 | ///
9 | [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
10 | public class WaveFilter
11 | {
12 | ///
13 | /// cbStruct
14 | ///
15 | public int StructureSize = Marshal.SizeOf(typeof(WaveFilter));
16 | ///
17 | /// dwFilterTag
18 | ///
19 | public int FilterTag = 0;
20 | ///
21 | /// fdwFilter
22 | ///
23 | public int Filter = 0;
24 | ///
25 | /// reserved
26 | ///
27 | [MarshalAs(UnmanagedType.ByValArray, SizeConst=5)]
28 | public int []Reserved = null;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/MmeInterop/WaveCallbackStrategy.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Wave Callback Strategy
9 | ///
10 | public enum WaveCallbackStrategy
11 | {
12 | ///
13 | /// Use a function
14 | ///
15 | FunctionCallback,
16 | ///
17 | /// Create a new window (should only be done if on GUI thread)
18 | ///
19 | NewWindow,
20 | ///
21 | /// Use an existing window handle
22 | ///
23 | ExistingWindow,
24 | ///
25 | /// Use an event handle
26 | ///
27 | Event,
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/MmeInterop/WaveOutSupport.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace NAudio.Wave
4 | {
5 | ///
6 | /// Flags indicating what features this WaveOut device supports
7 | ///
8 | [Flags]
9 | enum WaveOutSupport
10 | {
11 | /// supports pitch control (WAVECAPS_PITCH)
12 | Pitch = 0x0001,
13 | /// supports playback rate control (WAVECAPS_PLAYBACKRATE)
14 | PlaybackRate = 0x0002,
15 | /// supports volume control (WAVECAPS_VOLUME)
16 | Volume = 0x0004,
17 | /// supports separate left-right volume control (WAVECAPS_LRVOLUME)
18 | LRVolume = 0x0008,
19 | /// (WAVECAPS_SYNC)
20 | Sync = 0x0010,
21 | /// (WAVECAPS_SAMPLEACCURATE)
22 | SampleAccurate = 0x0020,
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/SampleChunkConverters/ISampleChunkConverter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave.SampleProviders
6 | {
7 | ///
8 | /// Sample provider interface to make WaveChannel32 extensible
9 | /// Still a bit ugly, hence internal at the moment - and might even make these into
10 | /// bit depth converting WaveProviders
11 | ///
12 | interface ISampleChunkConverter
13 | {
14 | bool Supports(WaveFormat format);
15 | void LoadNextChunk(IWaveProvider sourceProvider, int samplePairsRequired);
16 | bool GetNextSample(out float sampleLeft, out float sampleRight);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveFormats/OggWaveFormat.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 |
4 | namespace NAudio.Wave
5 | {
6 | //http://svn.xiph.org/tags/vorbisacm_20020708/src/vorbisacm/vorbisacm.h
7 | [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack=2)]
8 | class OggWaveFormat : WaveFormat
9 | {
10 | //public short cbSize;
11 | public uint dwVorbisACMVersion;
12 | public uint dwLibVorbisVersion;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveInputs/IWaveIn.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Generic interface for wave recording
9 | ///
10 | public interface IWaveIn : IDisposable
11 | {
12 | ///
13 | /// Recording WaveFormat
14 | ///
15 | WaveFormat WaveFormat { get; set; }
16 |
17 | ///
18 | /// Start Recording
19 | ///
20 | void StartRecording();
21 |
22 | ///
23 | /// Stop Recording
24 | ///
25 | void StopRecording();
26 |
27 | ///
28 | /// Indicates recorded data is available
29 | ///
30 | event EventHandler DataAvailable;
31 |
32 | ///
33 | /// Indicates that all recorded data has now been received.
34 | ///
35 | event EventHandler RecordingStopped;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveOutputs/IWaveProvider.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace NAudio.Wave
4 | {
5 | ///
6 | /// Generic interface for all WaveProviders.
7 | ///
8 | public interface IWaveProvider
9 | {
10 | ///
11 | /// Gets the WaveFormat of this WaveProvider.
12 | ///
13 | /// The wave format.
14 | WaveFormat WaveFormat { get; }
15 |
16 | ///
17 | /// Fill the specified buffer with wave data.
18 | ///
19 | /// The buffer to fill of wave data.
20 | /// Offset into buffer
21 | /// The number of bytes to read
22 | /// the number of bytes written to the buffer.
23 | int Read(byte[] buffer, int offset, int count);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveOutputs/IWaveProviderFloat.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Like IWaveProvider, but makes it much simpler to put together a 32 bit floating
9 | /// point mixing engine
10 | ///
11 | public interface ISampleProvider
12 | {
13 | ///
14 | /// Gets the WaveFormat of this Sample Provider.
15 | ///
16 | /// The wave format.
17 | WaveFormat WaveFormat { get; }
18 |
19 | ///
20 | /// Fill the specified buffer with 32 bit floating point samples
21 | ///
22 | /// The buffer to fill with samples.
23 | /// Offset into buffer
24 | /// The number of samples to read
25 | /// the number of samples written to the buffer.
26 | int Read(float[] buffer, int offset, int count);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveOutputs/PlaybackState.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// Playback State
9 | ///
10 | public enum PlaybackState
11 | {
12 | ///
13 | /// Stopped
14 | ///
15 | Stopped,
16 | ///
17 | /// Playing
18 | ///
19 | Playing,
20 | ///
21 | /// Paused
22 | ///
23 | Paused
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveStreams/CueWaveFileReader.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// A wave file reader supporting cue reading
9 | ///
10 | public class CueWaveFileReader : WaveFileReader
11 | {
12 | private CueList cues = null;
13 |
14 | ///
15 | /// Loads a wavefile and supports reading cues
16 | ///
17 | ///
18 | public CueWaveFileReader(string fileName)
19 | : base(fileName)
20 | {
21 | }
22 |
23 | ///
24 | /// Cue List (can be null if cues not present)
25 | ///
26 | public CueList Cues
27 | {
28 | get
29 | {
30 | if (cues == null)
31 | {
32 | cues = CueList.FromChunks(this);
33 | }
34 | return cues;
35 | }
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/NAudio/Wave/WaveStreams/ISampleNotifier.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace NAudio.Wave
6 | {
7 | ///
8 | /// An interface for WaveStreams which can report notification of individual samples
9 | ///
10 | public interface ISampleNotifier
11 | {
12 | ///
13 | /// A sample has been detected
14 | ///
15 | event EventHandler Sample;
16 | }
17 |
18 | ///
19 | /// Sample event arguments
20 | ///
21 | public class SampleEventArgs : EventArgs
22 | {
23 | ///
24 | /// Left sample
25 | ///
26 | public float Left { get; set; }
27 | ///
28 | /// Right sample
29 | ///
30 | public float Right { get; set; }
31 |
32 | ///
33 | /// Constructor
34 | ///
35 | public SampleEventArgs(float left, float right)
36 | {
37 | this.Left = left;
38 | this.Right = right;
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/Readme.txt:
--------------------------------------------------------------------------------
1 | хЯУНДМХЙХ ОПНЦПЮЛЛШ, ЙНРНПЮЪ ОПЕДЯРЮБКЪЕР ЯНАНИ ХМДХЙЮРНП ЦПНЛЙНЯРХ ГБСЙЮ Я БХГСЮКХГЮЖХЕИ ВЕПЕГ кЮИРОЮЙ.
2 | юБРНП: бКЮДХЯКЮБ йНВЕЛЮЕБ
3 | пЕОНГХРНПХИ ЮБРНПЮ: http://code.google.com/p/vladdev/source/browse/#svn%2Ftrunk%2FVolumeLight
4 | бХЙХ: http://code.google.com/p/vladdev/wiki/VolumeLight
5 |
6 | хЯОНКЭГСЕРЯЪ АХАКХНРЕЙЮ NAudio, ЙНРНПЮЪ ОПЕДНЯРЮБКЪЕР СДНАМШИ .NET-ХМРЕПТЕИЯ ДКЪ МЮРХБМНЦН Core Audio API, Ю РЮЙФЕ libLightpack ДКЪ .NET. оПНЦПЮЛЛЮ АСДЕР ОПЮБХКЭМН ПЮАНРЮРЭ ОНД Windows 7, ОНД ДПСЦХЕ БЕПЯХХ ня МЕР ЦЮПЮМРХИ, РЮЙФЕ МЕНАУНДХЛ .NET Framework 3.5.
7 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/VolumeLight.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/VolumeLight.suo
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/VolumeLight/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace AudioLight
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// Главная точка входа для приложения.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new MainForm());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/VolumeLight/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/VolumeLight/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/VolumeLight/soundlight.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/C#/VolumeLight/VolumeLight/soundlight.ico
--------------------------------------------------------------------------------
/Software/apiexamples/C#/VolumeLight/libLightpack/Const.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace libLightpack
7 | {
8 | public enum StatusApi
9 | {
10 | Idle,
11 | Busy
12 | }
13 |
14 | public enum Status
15 | {
16 | On,
17 | Off,
18 | Error
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"c:\program files\borland\delphi7\Projects\Bpl"
35 | -LN"c:\program files\borland\delphi7\Projects\Bpl"
36 | -w-UNSAFE_TYPE
37 | -w-UNSAFE_CODE
38 | -w-UNSAFE_CAST
39 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.dpr:
--------------------------------------------------------------------------------
1 | program LightPack_SDK_Demo;
2 |
3 | uses
4 | Forms,
5 | Unit1 in 'Unit1.pas' {Form1},
6 | LightPack in 'LightPack.pas';
7 |
8 | {$R *.res}
9 |
10 | begin
11 | Application.Initialize;
12 | Application.CreateForm(TForm1, Form1);
13 | Application.Run;
14 | end.
15 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.exe
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/LightPack_SDK_Demo.res
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/Unit1.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/Unit1.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/Unit1.ddp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/LightPack_SDK_Demo/Unit1.ddp
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/Readme.txt:
--------------------------------------------------------------------------------
1 | оКЮЦХМ БХГСЮКХГЮЖХХ ДКЪ AIMP
2 | юБРНП: мХЙНКЮИ бЯХКЭВСЙ
3 |
4 | оКЮЦХМ ОПНЯРН НРНАПЮФЮЕР СПНБЕМЭ ОН ЙЮМЮКЮЛ (1-5 ЯБЕРНДХНДШ ДКЪ КЕБНЦН ЙЮМЮКЮ, 6-10 ДКЪ ОПЮБНЦН).
5 |
6 | LightPack.pas - SDK ДКЪ Delphi. йНЛЮМДШ ЛЮЙЯХЛЮКЭМН ОПХАКХФЕМШ Й ОХРНМНБЯЙХЛ.
7 | LightPack_SDK_Demo - оПНЯРЕМЭЙЮЪ ДЕЛЙЮ ПЮАНРШ SDK.
8 | aimp_LightPack - оКЮЦХМ ДКЪ AIMP2.
9 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/aimp_LightPack/AIMP_SDK.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/aimp_LightPack/AIMP_SDK.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/aimp_LightPack/LightPack.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/aimp_LightPack/LightPack.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/aimp_LightPack/aimp_LightPack.cfg:
--------------------------------------------------------------------------------
1 | -$A8
2 | -$B-
3 | -$C+
4 | -$D+
5 | -$E-
6 | -$F-
7 | -$G+
8 | -$H+
9 | -$I+
10 | -$J-
11 | -$K-
12 | -$L+
13 | -$M-
14 | -$N+
15 | -$O+
16 | -$P+
17 | -$Q-
18 | -$R-
19 | -$S-
20 | -$T-
21 | -$U-
22 | -$V+
23 | -$W-
24 | -$X+
25 | -$YD
26 | -$Z1
27 | -cg
28 | -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
29 | -H+
30 | -W+
31 | -M
32 | -$M16384,1048576
33 | -K$00400000
34 | -LE"c:\program files\borland\delphi7\Projects\Bpl"
35 | -LN"c:\program files\borland\delphi7\Projects\Bpl"
36 | -w-UNSAFE_TYPE
37 | -w-UNSAFE_CODE
38 | -w-UNSAFE_CAST
39 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/AIMP/aimp_LightPack/aimp_LightPack.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/AIMP/aimp_LightPack/aimp_LightPack.dll
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/Settings.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/Settings.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/Settings.pas:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/Settings.pas
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/ldisco.dpr:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/ldisco.dpr
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/ldisco.dproj.local:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 2011.08.16 00:26:28.356.pas,C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Unit1.pas=C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\vis.pas
5 | 2011.08.16 00:26:28.356.dfm,C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Unit1.dfm=C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\vis.dfm
6 | 2011.08.16 01:37:17.460.pas,C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Unit2.pas=C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Settings.pas
7 | 2011.08.16 01:37:17.460.dfm,C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Unit2.dfm=C:\Documents and Settings\ugois01\Рабочий стол\KeybLight\Settings.dfm
8 | 2011.08.25 12:24:29.724.dproj,D:\JOB\delphi_projects\lightpack\KeybLight\KeybLight.dproj=D:\JOB\delphi_projects\lightpack\KeybLight\ldisco.dproj
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/ldisco.identcache:
--------------------------------------------------------------------------------
1 | 7D:\JOB\delphi_projects\lightpack\KeybLight\Settings.pas 5D:\JOB\delphi_projects\lightpack\KeybLight\ldisco.dpr 2D:\JOB\delphi_projects\lightpack\KeybLight\vis.pas
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/readme.txt:
--------------------------------------------------------------------------------
1 | щРН ХЯУНДМШЕ ЙНДШ ОКЮЦХМЮ БХГСЮКХГЮЖХХ ДКЪ ОПНХЦПШБЮРЕКЪ Winamp.
2 | юБРНП: еБЦЕМХИ аЕКЪЕБ
3 | дЕЛНМЯРПЮЖХЪ ПЮАНРШ: http://vimeo.com/28810239
4 |
5 | --
6 | дКЪ ЙНЛОХКЪЖХХ ХЯУНДМХЙНБ МЕНАУНДХЛЮ АХАКХНРЕЙЮ GLScene. яЙЮВЮРЭ ЕЕ ЛНФМН РСР: http://glscene.ru/download.php?view.542 ЯМХЛНЙ НР 04.05.2010.
7 | оКЮЦХМ Ъ ОХЯЮК Б RAD Studio 2010, МН ДСЛЮЧ Я АНКЕЕ ПЮММХЛХ БЕПЯХЪЛХ дЕКЭТХ РНФЕ ЯЙНОХКХПСЕРЯЪ МНПЛЮКЭМН.
8 | рЮЙФЕ МЕНАУНДХЛЮ АХАКХНРЕЙЮ RXLib http://rx.delphiplus.org/downloads/lib/rxlib-2.7.7.5d7-2010_psa1974.zip
9 |
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/vis.dcu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/vis.dcu
--------------------------------------------------------------------------------
/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/vis.pas:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/Delphi/Winamp Lightpack-DISCO/vis.pas
--------------------------------------------------------------------------------
/Software/apiexamples/LUA/Readme.txt:
--------------------------------------------------------------------------------
1 | нА╦ПРЙЮ (wrapper) API 1.0 ДКЪ LUA
2 | юБРНП: бКЮДХЯКЮБ йНВЕЛЮЕБ
3 | пЕОНГХРНПХИ ЮБРНПЮ: http://code.google.com/p/vladdev/source/browse/#svn%2Ftrunk%2FluaLightpack
4 | бХЙХ: http://code.google.com/p/vladdev/wiki/luaLightpack
5 |
6 | оНКСВХКЯЪ ОПЮЙРХВЕЯЙХ ОНКМШИ ЮМЮКНЦ (ОНЙЮ МЕР ЛЮООХМЦНБ) АХАКХНРЕЙХ pyLightpack. хЛЕМЮ ТСМЙЖХИ РЕ ФЕ ЯЮЛШЕ, Б МЕЙНРНПШУ ЯКСВЮЪУ ДНАЮБКЕМШ БНГБПЮЫЮЕЛШЕ ГМЮВЕМХЪ НА СЯОЕЬМНЛ БШОНКМЕМХХ (true ХКХ false) НОЕПЮЖХХ, Р.Й. ОПНРНЙНК ЩРН ОНДДЕПФХБЮЕР.
7 |
8 | вРН ЙЮЯЮЕРЯЪ НЙПСФЕМХЪ ДКЪ Lua. сДНАМЕЕ БЯЕЦН ДКЪ Windows ОНЯРЮБХРЭ ОЮЙЕР НРЯЧДЮ: http://code.google.com/p/luaforwindows/, РЮЛ ЯНАПЮМН БНЕДХМН ЛМНФЕЯРБН АХАКХНРЕЙ, ЕЯРЭ БЯЕ МСФМШЕ ДКЪ ПЮАНРШ luaLightpack.
9 |
--------------------------------------------------------------------------------
/Software/apiexamples/LUA/luaLightpack-sample1.lua:
--------------------------------------------------------------------------------
1 | require("luaLightpack")
2 |
3 | lp = lightpack("127.0.0.1", 3636)
4 | if lp:connect()
5 | then
6 | print("Version: " .. lp.Version)
7 | print("Status: " .. lp:getStatus())
8 | print("Profiles: " .. lp:getProfiles())
9 | if lp:lock()
10 | then
11 | lp:setProfile("Lightpack")
12 | lp:setSmooth(200)
13 | while true do
14 | os.execute("sleep "..2)
15 | lp:setColorToAll(0, 0, 255)
16 | os.execute("sleep "..2)
17 | lp:setColorToAll(0, 0, 0)
18 | end
19 | lp:unlock()
20 | lp:disconnect()
21 | end
22 | else
23 | print("Not connected!")
24 | end
25 |
--------------------------------------------------------------------------------
/Software/apiexamples/LUA/luaLightpack-sample2.lua:
--------------------------------------------------------------------------------
1 | require("luaLightpack")
2 |
3 | lp = lightpack("127.0.0.1", 3636)
4 | if lp:connect()
5 | then
6 | print("Version: " .. lp.Version)
7 | print("Status: " .. lp:getStatus())
8 | print("Profiles: " .. lp:getProfiles())
9 | if lp:lock()
10 | then
11 | lp:setProfile("Lightpack")
12 | lp:setSmooth(200)
13 | i = 1
14 | lp:setColorToAll(0, 0, 0)
15 | while true do
16 | os.execute("sleep "..1)
17 | if i - 1 == 0
18 | then
19 | lp:setColor(10, 0, 0, 0)
20 | else
21 | lp:setColor(i - 1, 0, 0, 0)
22 | end
23 | lp:setColor(i, 255, 0, 0)
24 | i=i+1
25 | if i>10 then i = 1 end
26 | end
27 | lp:unlock()
28 | lp:disconnect()
29 | end
30 | else
31 | print("Not connected!")
32 | end
33 |
--------------------------------------------------------------------------------
/Software/apiexamples/LUA/luaLightpack.lua:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/LUA/luaLightpack.lua
--------------------------------------------------------------------------------
/Software/apiexamples/PocketBook LightpackDrivePB/cimages/readme.txt:
--------------------------------------------------------------------------------
1 | This file was created for save this directory on repository.
2 |
--------------------------------------------------------------------------------
/Software/apiexamples/PocketBook LightpackDrivePB/makearm.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | cmake -DCMAKE_BUILD_TYPE=Release -DTARGET_TYPE=ARM
3 | make
4 |
5 |
--------------------------------------------------------------------------------
/Software/apiexamples/PocketBook LightpackDrivePB/makepc.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | cmake -DCMAKE_BUILD_TYPE=Debug -DTARGET_TYPE=Linux
3 | make
4 |
5 |
--------------------------------------------------------------------------------
/Software/apiexamples/PocketBook LightpackDrivePB/push.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | mv LightpackDrivePB LightpackDrivePB.app &&
4 | cp LightpackDrivePB.app '/media/68FF-68CE/applications/LightpackDrivePB.app'
5 |
--------------------------------------------------------------------------------
/Software/apiexamples/Ruby/readme.txt:
--------------------------------------------------------------------------------
1 | нА╦ПРЙЮ (wrapper) API 1.1 кЮИРОЮЙЮ ДКЪ Ruby
2 | юБРНП: лХУЮХК оНАНКНБЕЖ
3 | пЕОНГХРНПХИ ЮБРНПЮ: https://github.com/styx/lightpack.rb
4 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/TestLightpack/HelpForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace TestLightpack
11 | {
12 | public partial class HelpForm : Form
13 | {
14 | public HelpForm()
15 | {
16 | InitializeComponent();
17 | }
18 |
19 | private void button1_Click(object sender, EventArgs e)
20 | {
21 | Close();
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/TestLightpack/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace TestLightpack
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// Главная точка входа для приложения.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new Form1());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/TestLightpack/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/TestLightpack/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/libLightpack/Const.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace libLightpack
7 | {
8 | public enum StatusApi
9 | {
10 | Idle,
11 | Busy
12 | }
13 |
14 | public enum Status
15 | {
16 | On,
17 | Off,
18 | DeviceError,
19 | Unknown,
20 | }
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/Software/apiexamples/dotnetLightpack/libLightpack/LogEvent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace libLightpack
7 | {
8 | public class LogEventArgs : EventArgs
9 | {
10 | private readonly string _message;
11 |
12 | public LogEventArgs(string message): base()
13 | {
14 | _message = message;
15 | }
16 |
17 | public string Message { get { return _message; } }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Software/apiexamples/pyLightpack/ApiServerStressTest.py:
--------------------------------------------------------------------------------
1 | #inaccurate pyLightpack class animation examples for 10 LED Lightpack configuration (3+2+3+2 clockwise from the left edge).
2 | import lightpack, time, re, random
3 |
4 | lpack = lightpack.lightpack('127.0.0.1', 3636, [2,3,6,7,8,9,10,4,5,1] )
5 | lpack.connect()
6 | lpack.lock()
7 |
8 | first = True
9 | while True :
10 | for k in range (0, 10) :
11 | if first :
12 | lpack.setColorToAll(80,0,0)
13 | else :
14 | lpack.setColorToAll(0,0,80)
15 | first = not first
16 |
17 | exit
18 |
19 |
--------------------------------------------------------------------------------
/Software/apiexamples/pyLightpack/script.lightpack.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/apiexamples/pyLightpack/script.lightpack.zip
--------------------------------------------------------------------------------
/Software/apiexamples/pyLightpack/testall.py:
--------------------------------------------------------------------------------
1 | import lightpack, time
2 | lpack = lightpack.lightpack('127.0.0.1', 3636, [2,3,6,7,1,1,1,4,5,1] )
3 | lpack.connect()
4 |
5 | print("Lock: %s" % lpack.lock())
6 | print("turnOn: %s" % lpack.turnOn())
7 |
8 | print("LED map: %s" % lpack.getLeds())
9 |
10 | num = int(lpack.getCountLeds())
11 | print("Num leds: %s" % num)
12 |
13 | print("Status: %s" % lpack.getStatus())
14 | print("Profile: %s" % lpack.getProfile())
15 | print("Profiles: %s" % lpack.getProfiles())
16 | print("getAPIStatus: %s" % lpack.getAPIStatus())
17 |
18 | for i in range(1, num+1):
19 | print("setColor%d: %s" % (i, lpack.setColor(i, 255, 0, 0)))
20 | time.sleep(0.1)
21 | time.sleep(1)
22 |
23 | print("setColorToAll: %s" % lpack.setColorToAll(127, 127, 127))
24 | time.sleep(1)
25 |
26 | print("setColorToAll: %s" % lpack.setColorToAll(0, 0, 0))
27 | print("turnOff: %s" % lpack.turnOff());
28 |
29 | lpack.disconnect()
30 |
--------------------------------------------------------------------------------
/Software/common/BufferFormat.h:
--------------------------------------------------------------------------------
1 | #ifndef BUFFERFORMAT_H
2 | #define BUFFERFORMAT_H
3 |
4 | enum BufferFormat {
5 | BufferFormatUnknown = -1,
6 | BufferFormatArgb,
7 | BufferFormatBgra,
8 | BufferFormatRgba,
9 | BufferFormatAbgr,
10 | BufferFormatRgbg
11 | };
12 |
13 | #endif // BUFFERFORMAT_H
14 |
--------------------------------------------------------------------------------
/Software/common/msvcstub.h:
--------------------------------------------------------------------------------
1 | #ifndef MSVCSTUB_H
2 | #define MSVCSTUB_H
3 |
4 | #if !defined _MSC_VER
5 | #define __in
6 | #define __out
7 | #define __inout
8 | #define __inout_opt
9 | #define __in_bcount(x)
10 | #define __out_bcount(x)
11 | #define __out_bcount_opt(x)
12 | #define __in_bcount_opt(x)
13 | #define __in_opt
14 | #define __out_opt
15 | #define __out_ecount_part_opt(x,y)
16 | #define __in_ecount(x)
17 | #define __out_ecount(x)
18 | #define __in_ecount_opt(x)
19 | #define __out_ecount_opt(x)
20 | #endif // !defined _MSC_VER
21 |
22 | #define WINAPI_INLINE WINAPI
23 |
24 | #endif // MSVCSTUB_H
25 |
--------------------------------------------------------------------------------
/Software/dist_linux/build-natively.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | buildscript=build.sh
4 |
5 | dirs=
6 | for dfile in `ls */$buildscript`
7 | do
8 | ddir=`dirname $dfile`
9 | dirs="${dirs}|${ddir}"
10 | done
11 | dirs=`echo "$dirs" | cut -c 2-`
12 |
13 | usage="\n Usage $0 ($dirs)\n"
14 |
15 | [ -z $1 ] && echo -e "$usage" && exit 1
16 |
17 | pkgmgr=$1
18 | [ ! -e "$pkgmgr/$buildscript" ] && echo -e "Error: $pkgmgr/$buildscript not found\n$usage" && exit 1
19 |
20 | echo $pkgmgr
21 |
22 | (which lsb_release 2> /dev/null) && lsb_release -a
23 | (which qmake 2> /dev/null) && qmake -v
24 | (which g++ 2> /dev/null) && g++ -v
25 | (which clang++ 2> /dev/null) && clang++ -v
26 | (which lscpu 2> /dev/null) && lscpu
27 |
28 | set -xe
29 | cd "$pkgmgr"
30 | ./"$buildscript"
31 |
--------------------------------------------------------------------------------
/Software/dist_linux/dpkg/DEBIAN_template/README:
--------------------------------------------------------------------------------
1 | The Debian Package prismatik
2 | ----------------------------
3 |
4 | Prismatik (formerly Lightpack) is a software part of simple implementation of the backlight for any computer and supports such devices as Adalight, Ardulight and Lightpack (https://github.com/psieg/Lightpack).
5 |
6 | Configuration program lives in the tray, without interfering with habitual work and watching movies.
7 |
8 | Main features:
9 |
10 | * Open software and hardware
11 | * Simple to build (DIY)
12 | * Cross-platform software (Qt)
13 | * Supports multiple devices
14 | * Native screen grabbers
15 | * API over TCP/IP and Python
16 |
17 | Please let us know if you find mistakes, bugs or errors.
18 |
19 | Post new issue : https://github.com/psieg/Lightpack/issues
20 |
21 | -- Timur Sattarov Mon, 1 Apr 2013 16:04:00 +0400
22 |
--------------------------------------------------------------------------------
/Software/dist_linux/dpkg/DEBIAN_template/changelog:
--------------------------------------------------------------------------------
1 | prismatik (${version}) unstable; urgency=low
2 |
3 | * https://github.com/psieg/Lightpack/blob/master/Software/CHANGELOG
4 |
5 | -- Timur Sattarov ${timestamp}
6 |
--------------------------------------------------------------------------------
/Software/dist_linux/dpkg/DEBIAN_template/control:
--------------------------------------------------------------------------------
1 | Package: prismatik
2 | Version: ${version}
3 | Architecture: ${arch}
4 | Maintainer: Alexey Roslyakov
5 | Installed-Size: ${size}
6 | Depends: libc6, libxext6, libx11-6, libusb-1.0-0, libappindicator1, libgtk2.0-0, libglib2.0-0, libqt5widgets5(>=5.2.1), libqt5network5(>=5.2.1), libqt5gui5(>=5.2.1), libqt5core5a(>=5.2.1), libqt5serialport5(>=5.2.1), libstdc++6, libgcc1, openssl
7 | Conflicts: lightpack
8 | Replaces: lightpack
9 | Section: electronics
10 | Priority: optional
11 | Homepage: http://code.google.com/p/lightpack/
12 | Description: Content-driving ambient lighting system
13 | http://lightpack.tv
14 | .
15 | * Open software and hardware
16 | * Simple to build (DIY)
17 | * Cross-platform software (Qt)
18 | * Supports multiple devices
19 | * Native screen grabbers
20 | * API over TCP/IP
21 | .
22 | Please let us know if you find mistakes, bugs or errors.
23 |
--------------------------------------------------------------------------------
/Software/dist_linux/dpkg/DEBIAN_template/postinst:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e # fail on any error
3 | set -u # treat unset variables as errors
4 |
5 | # ======[ Trap Errors ]======#
6 | set -E # let shell functions inherit ERR trap
7 |
8 | # Trap non-normal exit signals:
9 | # 1/HUP, 2/INT, 3/QUIT, 15/TERM, ERR
10 | trap err_handler 1 2 3 15 ERR
11 | function err_handler {
12 | local exit_status=${1:-$?}
13 | logger -s -p "syslog.err" -t "prismatik.deb" "prismatik.deb script '$0' error code $exit_status (line $BASH_LINENO: '$BASH_COMMAND')"
14 | exit $exit_status
15 | }
16 |
17 | service udev restart
18 |
19 | if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then
20 |
21 | update-menus
22 |
23 | fi
24 |
25 | exit 0
26 |
--------------------------------------------------------------------------------
/Software/dist_linux/dpkg/Dockerfile:
--------------------------------------------------------------------------------
1 | ARG OS=ubuntu
2 | ARG RELEASE=20.04
3 | FROM $OS:$RELEASE
4 | ENV DEBIAN_FRONTEND=noninteractive
5 | RUN apt update && apt dist-upgrade -y && apt install -y \
6 | bash \
7 | build-essential \
8 | gcc \
9 | git \
10 | hashdeep \
11 | libfftw3-dev \
12 | libpulse-dev \
13 | libqt5serialport5-dev \
14 | libudev-dev \
15 | libusb-1.0-0-dev \
16 | lsb-release \
17 | qtbase5-dev \
18 | qtchooser \
19 | qttools5-dev-tools \
20 | && rm -rf /var/lib/apt/lists/* \
21 | && rm -rf /etc/localtime
22 |
23 | VOLUME ["/Lightpack", "/build.sh", "/etc/localtime"]
24 |
25 | ENTRYPOINT /build.sh
26 |
--------------------------------------------------------------------------------
/Software/dist_linux/flatpak/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | kde_version=5.15
3 | flatpak_id=de.psieg.Prismatik
4 | destdir=tmp
5 | VERSION=`cat ../../RELEASE_VERSION`
6 |
7 | set -xe
8 |
9 | sed '
10 | s#__APP_ID__#'"$flatpak_id"'#
11 | s#__KDE_VERSION__#'"$kde_version"'#
12 | ' manifest.yml.template > "$flatpak_id.yml"
13 |
14 | [ ! -e "$flatpak_id.yml" ] && echo "manifest $flatpak_id.yml not found" && exit 1
15 |
16 | rm -rf "$destdir/flatdir" "$destdir/repo"
17 | # flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
18 | flatpak install --user --assumeyes org.kde.Sdk//"$kde_version" org.kde.Platform//"$kde_version"
19 | flatpak-builder --delete-build-dirs --repo="$destdir/repo" "$destdir/flatdir" "$flatpak_id.yml"
20 | # flatpak build-export "$destdir/repo" "$destdir/flatdir"
21 | flatpak build-bundle "$destdir/repo" "prismatik_$VERSION.flatpak" "$flatpak_id"
22 | # flatpak run de.psieg.Prismatik
23 | rm -rf "$destdir"
24 | rm -rf .flatpak-builder
25 | rm -rf "$flatpak_id.yml"
26 |
--------------------------------------------------------------------------------
/Software/dist_linux/flatpak/launch_prismatik.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | my_args=( "$@" )
4 |
5 | has_config_dir=false
6 |
7 | while [[ $# -gt 0 ]]; do
8 | case $1 in
9 | --config-dir)
10 | has_config_dir=true
11 | shift
12 | ;;
13 | *)
14 | shift
15 | ;;
16 | esac
17 | done
18 |
19 | if [ "$has_config_dir" = true ] ; then
20 | prismatik "${my_args[@]}"
21 | else
22 | prismatik --config-dir "$XDG_CONFIG_HOME/prismatik" "${my_args[@]}"
23 | fi
24 |
--------------------------------------------------------------------------------
/Software/dist_linux/package_template/etc/udev/rules.d/93-lightpack.rules:
--------------------------------------------------------------------------------
1 | #
2 | # /etc/udev/rules.d/93-lightpack.rules
3 | #
4 | # Author: brunql
5 | # Created on: 2.08.10
6 | #
7 | # brunql@brunql-desktop:~$ sudo cp lightpack/93-lightpack.rules /etc/udev/rules.d/
8 | # brunql@brunql-desktop:~$ sudo restart udev
9 | #
10 | # Reconnect Lightpack USB device and check it:
11 | #
12 | # brunql@brunql-desktop:~$ lsusb -d 3eb:204f -v
13 | #
14 |
15 | # old version of Lightpack (lightpack.googlecode.com)
16 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03eb", ATTR{idProduct}=="204f", GROUP="users", MODE="0666"
17 |
18 | # Lightpack 6.3+
19 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6022", GROUP="users", MODE="0666"
20 |
21 | # Atmel Flip DFU
22 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2ffa", GROUP="users", MODE="0666"
23 |
24 | #
25 | # In Ubuntu Lucid (10.04) udev rules file format has change, old file format looks like this:
26 | #
27 | # SUBSYSTEM=="usb_device", SYSFS{idVendor}=="03eb", SYSFS{idProduct}=="204f", GROUP="users", MODE="0666"
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Software/dist_linux/package_template/usr/share/applications/prismatik.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Encoding=UTF-8
3 | Name=Prismatik
4 | Comment=Prismatik
5 | Exec=prismatik
6 | Icon=Prismatik.png
7 | Terminal=0
8 | Type=Application
9 | Categories=Video;
10 | Name[ru_RU]=Prismatik
11 |
--------------------------------------------------------------------------------
/Software/dist_linux/package_template/usr/share/icons/Prismatik.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_linux/package_template/usr/share/icons/Prismatik.png
--------------------------------------------------------------------------------
/Software/dist_linux/package_template/usr/share/icons/hicolor/22x22/apps/prismatik-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_linux/package_template/usr/share/icons/hicolor/22x22/apps/prismatik-on.png
--------------------------------------------------------------------------------
/Software/dist_linux/package_template/usr/share/pixmaps/Prismatik.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_linux/package_template/usr/share/pixmaps/Prismatik.png
--------------------------------------------------------------------------------
/Software/dist_linux/pacman/Dockerfile:
--------------------------------------------------------------------------------
1 | ARG OS=archlinux
2 | ARG RELEASE=latest
3 | FROM $OS:$RELEASE
4 | RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
5 | base-devel \
6 | fftw \
7 | gcc \
8 | git \
9 | libpulse \
10 | libusb \
11 | lsb-release \
12 | namcap \
13 | qt5-base \
14 | qt5-serialport \
15 | qt5-tools \
16 | && (yes | pacman -Scc) \
17 | && rm -rf /etc/localtime
18 |
19 | VOLUME ["/Lightpack", "/build.sh", "/etc/localtime"]
20 |
21 | ENTRYPOINT /build.sh
22 |
--------------------------------------------------------------------------------
/Software/dist_linux/pacman/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -xe
3 |
4 | # TODO: better way of dynamically adding build-vars deps?
5 | PULSEAUDIO_SUPPORT=
6 | cd ../..
7 | qmake -r
8 | if [ "$(grep -Fo PULSEAUDIO_SUPPORT src/Makefile)" == "PULSEAUDIO_SUPPORT" ]
9 | then
10 | echo PULSEAUDIO_SUPPORT
11 | PULSEAUDIO_SUPPORT="'libpulse' 'fftw'"
12 | fi
13 | cd -
14 |
15 | sed 's#__PULSEAUDIO_SUPPORT__#'"$PULSEAUDIO_SUPPORT"'#' PKGBUILD.template > PKGBUILD
16 | makepkg -cf
17 | namcap prismatik*.pkg.tar*
18 | rm PKGBUILD
19 |
--------------------------------------------------------------------------------
/Software/dist_linux/pacman/prismatik.install:
--------------------------------------------------------------------------------
1 | post_install() {
2 | udevadm control --reload-rules
3 | }
4 |
5 | post_upgrade() {
6 | post_install $1
7 | }
8 |
9 | post_remove() {
10 | post_install $1
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/Software/dist_osx/dsstore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_osx/dsstore
--------------------------------------------------------------------------------
/Software/dist_windows/Prismatik.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_windows/Prismatik.ico
--------------------------------------------------------------------------------
/Software/dist_windows/content/Plugins/.keep_me:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/dist_windows/content/Plugins/.keep_me
--------------------------------------------------------------------------------
/Software/dist_windows/readme.txt:
--------------------------------------------------------------------------------
1 | To build installer:
2 | - Install InnoSetup
3 | - Copy libgcc_s_dw2-1.dll, Prismatik.exe, mingwm10.dll, QtCore4.dll, QtGui4.dll, QtNetwork4.dll and other libs to content directory don't forget to build Prismatik without D3D10_GRAB_SUPPORT and place it to content/below_win7
4 | - Copy plugins to content/plugins
5 | - Open InnoSetup Compiler
6 | - Press Ctrl+F9
7 | - See Output dir.
8 |
--------------------------------------------------------------------------------
/Software/grab/BlueLightReduction.cpp:
--------------------------------------------------------------------------------
1 | #include "BlueLightReduction.hpp"
2 | #if defined(Q_OS_WIN)
3 | #include "WinUtils.hpp"
4 | #elif defined(Q_OS_MACOS)
5 | #include "MacUtils.h"
6 | #endif
7 |
8 | namespace BlueLightReduction
9 | {
10 | Client* create()
11 | {
12 | #if defined(Q_OS_WIN)
13 | #ifdef NIGHTLIGHT_SUPPORT
14 | if (WinUtils::NightLight::isSupported())
15 | return new WinUtils::NightLight();
16 | #endif // NIGHTLIGHT_SUPPORT
17 | if (WinUtils::GammaRamp::isSupported())
18 | return new WinUtils::GammaRamp();
19 | #elif defined(Q_OS_MACOS)
20 | if (MacUtils::NightShift::isSupported())
21 | return new MacUtils::NightShift();
22 | if (MacUtils::GammaRamp::isSupported())
23 | return new MacUtils::GammaRamp();
24 | #endif
25 | return nullptr;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Software/grab/configure-grabbers.prf:
--------------------------------------------------------------------------------
1 | # Grabber types detection
2 | # Linux/UNIX platform
3 | unix:!macx {
4 | SUPPORTED_GRABBERS += X11_GRAB_SUPPORT
5 | }
6 |
7 | # Mac platform
8 | macx {
9 | SUPPORTED_GRABBERS += MAC_OS_CG_GRAB_SUPPORT
10 | SUPPORTED_GRABBERS += MAC_OS_AV_GRAB_SUPPORT
11 | }
12 |
13 | # Windows platform
14 | win32 {
15 | SUPPORTED_GRABBERS += WINAPI_GRAB_SUPPORT
16 | SUPPORTED_GRABBERS += DDUPL_GRAB_SUPPORT
17 | SUPPORTED_GRABBERS += D3D10_GRAB_SUPPORT
18 | }
19 |
--------------------------------------------------------------------------------
/Software/grab/include/BlueLightReduction.hpp:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 |
5 | namespace BlueLightReduction
6 | {
7 | class Client
8 | {
9 | Q_DISABLE_COPY(Client)
10 | public:
11 | static bool isSupported() { Q_ASSERT_X(false, "BlueLightReduction::isSupported()", "not implemented"); return false; }
12 | virtual void apply(QList& colors, const double gamma = 1.2) = 0;
13 | virtual ~Client() = default;
14 | Client() = default;
15 | };
16 |
17 | Client* create();
18 | };
19 |
20 |
--------------------------------------------------------------------------------
/Software/grab/include/ColorProvider.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * ColorProvider.cpp
3 | *
4 | * Created on: 12/23/2013
5 | * Project: Prismatik
6 | *
7 | * Copyright (c) 2013 tim.helloworld
8 | *
9 | * Lightpack is an open-source, USB content-driving ambient lighting
10 | * hardware.
11 | *
12 | * Prismatik is a free, open-source software: you can redistribute it and/or
13 | * modify it under the terms of the GNU General Public License as published
14 | * by the Free Software Foundation, either version 2 of the License, or
15 | * (at your option) any later version.
16 | *
17 | * Prismatik and Lightpack files is distributed in the hope that it will be
18 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 | * General Public License for more details.
21 | *
22 | * You should have received a copy of the GNU General Public License
23 | * along with this program. If not, see .
24 | *
25 | */
26 |
27 | #include "ColorProvider.hpp"
28 |
29 | ColorProvider::ColorProvider(QObject *parent) :
30 | QObject(parent)
31 | {
32 | }
33 |
--------------------------------------------------------------------------------
/Software/grab/include/MacOSAVGrabber.h:
--------------------------------------------------------------------------------
1 | //
2 | // MacOSAVGrabber.h
3 | // grab
4 | //
5 | // Created by zomfg on 18/12/2018.
6 | //
7 | #pragma once
8 |
9 | #include "../common/defs.h"
10 |
11 | #ifdef MAC_OS_AV_GRAB_SUPPORT
12 |
13 | #include "MacOSGrabberBase.hpp"
14 | #include
15 | // http://philjordan.eu/article/mixing-objective-c-c++-and-objective-c++
16 | #include
17 | #ifdef __OBJC__
18 | @class MacOSNativeAVCapture;
19 | #else
20 | typedef struct objc_object MacOSNativeAVCapture;
21 | #endif
22 |
23 | class MacOSAVGrabber : public MacOSGrabberBase
24 | {
25 | public:
26 | MacOSAVGrabber(QObject *parent, GrabberContext *context);
27 | virtual ~MacOSAVGrabber();
28 |
29 | DECLARE_GRABBER_NAME("MacOSAVGrabber")
30 |
31 | void setGrabInterval(int msec);
32 | void startGrabbing();
33 | void stopGrabbing();
34 |
35 | protected slots:
36 | virtual GrabResult grabDisplay(const CGDirectDisplayID display, GrabbedScreen& screen);
37 | private:
38 | QMap _captures;
39 | };
40 |
41 | #endif /* MAC_OS_AV_GRAB_SUPPORT */
42 |
--------------------------------------------------------------------------------
/Software/hooks/GAPIProxyFrameGrabber.hpp:
--------------------------------------------------------------------------------
1 | #ifndef GAPIPROXY_HPP
2 | #define GAPIPROXY_HPP
3 |
4 | #if !defined NOMINMAX
5 | #define NOMINMAX
6 | #endif
7 |
8 | #if !defined WIN32_LEAN_AND_MEAN
9 | #define WIN32_LEAN_AND_MEAN
10 | #endif
11 | #include
12 | #include "ProxyFunc.hpp"
13 |
14 | class IPCContext;
15 |
16 | class GAPIProxyFrameGrabber {
17 | public:
18 | GAPIProxyFrameGrabber(HANDLE syncRunMutex);
19 | ~GAPIProxyFrameGrabber();
20 | virtual bool init() = 0;
21 | virtual bool isGAPILoaded() = 0;
22 | virtual bool isHooksInstalled() = 0;
23 | virtual bool installHooks() = 0;
24 | virtual bool removeHooks() = 0;
25 | virtual void free() = 0;
26 |
27 | void setIPCContext(IPCContext *ipcContext) { m_ipcContext = ipcContext; }
28 |
29 | protected:
30 | LARGE_INTEGER m_pcOverall;
31 | LARGE_INTEGER m_pcOriginal;
32 | LARGE_INTEGER m_pcStart;
33 | LARGE_INTEGER m_pcIntermediate;
34 | LARGE_INTEGER m_pcStop;
35 | LARGE_INTEGER m_liFreq;
36 | IPCContext *m_ipcContext;
37 | HANDLE m_syncRunMutex;
38 | bool m_isInited;
39 |
40 | bool startOverallPerfCount();
41 | bool startOriginalPerfCount();
42 | bool stopPerfCount();
43 | };
44 |
45 | #endif // GAPIPROXY_HPP
46 |
--------------------------------------------------------------------------------
/Software/hooks/GAPISubstFunctions.hpp:
--------------------------------------------------------------------------------
1 | #ifndef GAPISUBSTFUNCTIONS_HPP
2 | #define GAPISUBSTFUNCTIONS_HPP
3 |
4 | #endif // GAPISUBSTFUNCTIONS_HPP
5 |
--------------------------------------------------------------------------------
/Software/hooks/IPCContext.hpp:
--------------------------------------------------------------------------------
1 | #ifndef IPCCONTEXT_HPP
2 | #define IPCCONTEXT_HPP
3 |
4 | #if !defined NOMINMAX
5 | #define NOMINMAX
6 | #endif
7 |
8 | #if !defined WIN32_LEAN_AND_MEAN
9 | #define WIN32_LEAN_AND_MEAN
10 | #endif
11 | #include "windows.h"
12 | #include "../common/D3D10GrabberDefs.hpp"
13 | #include "LoggableTrait.hpp"
14 |
15 | class IPCContext : public LoggableTrait
16 | {
17 | public:
18 | IPCContext(Logger *logger): LoggableTrait(logger) {}
19 | ~IPCContext();
20 |
21 | bool init();
22 | void free();
23 |
24 | HANDLE m_hSharedMem;
25 | HANDLE m_hMutex;
26 | HANDLE m_hFrameGrabbedEvent;
27 |
28 | HOOKSGRABBER_SHARED_MEM_DESC *m_pMemDesc;
29 |
30 | PVOID m_pMemMap;
31 | };
32 |
33 | #endif // IPCCONTEXT_HPP
34 |
--------------------------------------------------------------------------------
/Software/hooks/LoggableTrait.hpp:
--------------------------------------------------------------------------------
1 | #ifndef LOGGABLETRAIT_HPP
2 | #define LOGGABLETRAIT_HPP
3 |
4 | #include "Logger.hpp"
5 |
6 | class Logger;
7 |
8 | class LoggableTrait {
9 | public:
10 | LoggableTrait(Logger *logger): m_logger(logger) {}
11 |
12 | protected:
13 | Logger *m_logger;
14 | };
15 |
16 | #endif // LOGGABLETRAIT_HPP
17 |
--------------------------------------------------------------------------------
/Software/hooks/Logger.hpp:
--------------------------------------------------------------------------------
1 | #ifndef LOGGER_HPP
2 | #define LOGGER_HPP
3 |
4 | #if !defined NOMINMAX
5 | #define NOMINMAX
6 | #endif
7 |
8 | #if !defined WIN32_LEAN_AND_MEAN
9 | #define WIN32_LEAN_AND_MEAN
10 | #endif
11 | #include "windows.h"
12 | #include "stdarg.h"
13 | #include "res/logmessages.h"
14 |
15 | #define REPORT_LOG_BUF_SIZE 2048
16 | class Logger
17 | {
18 | static Logger *_this;
19 | public:
20 | static Logger *getInstance();
21 | ~Logger();
22 |
23 | void initLog(LPCWSTR name, DWORD logLevel);
24 | void closeLog();
25 | void setLogLevel(DWORD logLevel);
26 | void reportLogDebug(LPCWSTR message, ...);
27 | void reportLogInfo(LPCWSTR message, ...);
28 | void reportLogWarning(LPCWSTR message, ...);
29 | void reportLogError(LPCWSTR message, ...);
30 |
31 | protected:
32 | Logger();
33 |
34 | private:
35 | void reportLog(DWORD type, DWORD msgId, LPCWSTR message, va_list ap);
36 |
37 | HANDLE m_hEventSrc;
38 | unsigned int m_logLevel;
39 | LPWSTR m_reportLogBuf;
40 | };
41 |
42 | #endif // LOGGER_HPP
43 |
--------------------------------------------------------------------------------
/Software/hooks/ProxyFunc.hpp:
--------------------------------------------------------------------------------
1 | #ifndef PROXYFUNC_HPP
2 | #define PROXYFUNC_HPP
3 |
4 | #include "LoggableTrait.hpp"
5 |
6 | class ProxyFunc : public LoggableTrait
7 | {
8 | public:
9 | ProxyFunc(void *pTarget, void *pSubstFunc, Logger *logger): LoggableTrait(logger)
10 | {
11 | m_pTarget = pTarget;
12 | m_pSubstFunc = pSubstFunc;
13 | m_isInited = false;
14 | }
15 |
16 | virtual bool init()=0;
17 | virtual bool isHookInstalled()=0;
18 | virtual bool installHook()=0;
19 | virtual bool removeHook()=0;
20 |
21 |
22 | protected:
23 | void *m_pTarget;
24 | void *m_pSubstFunc;
25 | bool m_isInited;
26 | };
27 |
28 | #endif // PROXYFUNC_HPP
29 |
--------------------------------------------------------------------------------
/Software/hooks/ProxyFuncJmp.hpp:
--------------------------------------------------------------------------------
1 | #ifndef PROXYFUNCJMP_H
2 | #define PROXYFUNCJMP_H
3 |
4 | #include"ProxyFunc.hpp"
5 |
6 | class ProxyFuncJmp : public ProxyFunc
7 | {
8 | public:
9 | ProxyFuncJmp(void * pTarget, void * pSubstFunc, Logger *logger) :
10 | ProxyFunc(pTarget, pSubstFunc, logger) {}
11 | virtual ~ProxyFuncJmp() { if (this->isHookInstalled()) this->removeHook(); }
12 | virtual bool init();
13 | virtual bool isHookInstalled();
14 | virtual bool installHook();
15 | virtual bool removeHook();
16 |
17 | private:
18 | static const int kJmpInstructionSize = 5;
19 | unsigned char m_pOriginalCode[kJmpInstructionSize];
20 | unsigned char m_pJmpCode[kJmpInstructionSize];
21 | };
22 |
23 | #endif // PROXYFUNCJMP_H
24 |
--------------------------------------------------------------------------------
/Software/hooks/ProxyFuncJmpToVFTable.hpp:
--------------------------------------------------------------------------------
1 | #ifndef PROXYFUNCJMPTOVFTABLE_H
2 | #define PROXYFUNCJMPTOVFTABLE_H
3 |
4 | #include
5 | #include "LoggableTrait.hpp"
6 |
7 | class ProxyFuncJmp;
8 | class ProxyFuncVFTable;
9 |
10 | class ProxyFuncJmpToVFTable : public LoggableTrait
11 | {
12 | public:
13 | ProxyFuncJmpToVFTable(void * pTarget, void *pSubstFunc, Logger *logger);
14 | virtual ~ProxyFuncJmpToVFTable();
15 | virtual bool init();
16 | virtual bool isHookInstalled();
17 | virtual bool isSwitched();
18 | virtual bool switchToVFTHook(void * pNewTarget, void * pNewSubstFunc);
19 | virtual bool installHook();
20 | virtual bool removeHook();
21 |
22 | void *getOriginalFunc();
23 | private:
24 | ProxyFuncJmp *m_funcJmp;
25 | ProxyFuncVFTable *m_funcVFTable;
26 | };
27 |
28 | #endif // PROXYFUNCJMPTOVFTABLE_H
29 |
--------------------------------------------------------------------------------
/Software/hooks/ProxyFuncVFTable.hpp:
--------------------------------------------------------------------------------
1 | #ifndef PROXYFUNCVFTABLE_H
2 | #define PROXYFUNCVFTABLE_H
3 |
4 | #include"ProxyFunc.hpp"
5 | #include
6 |
7 | class ProxyFuncVFTable : public ProxyFunc
8 | {
9 | public:
10 | ProxyFuncVFTable(void * pTarget, void *pSubstFunc, Logger *logger): ProxyFunc(pTarget, pSubstFunc, logger) {}
11 | virtual ~ProxyFuncVFTable() { if (this->isHookInstalled()) this->removeHook(); }
12 | virtual bool init();
13 | virtual bool isHookInstalled() {
14 | return m_isInited && *(reinterpret_cast(m_pTarget)) != reinterpret_cast(m_pOriginalFunc); }
15 |
16 | virtual bool installHook();
17 | virtual bool removeHook();
18 | void *getOriginalFunc() { return m_pOriginalFunc; }
19 | private:
20 | void *m_pOriginalFunc;
21 | };
22 |
23 | #endif // PROXYFUNCVFTABLE_H
24 |
--------------------------------------------------------------------------------
/Software/hooks/hooks.h:
--------------------------------------------------------------------------------
1 | /*
2 | * File: hooksdll.h
3 | * Author: KC
4 | *
5 | * Created on October 4, 2011, 6:54 PM
6 | */
7 |
8 | #ifndef HOOKSDLL_H
9 | #define HOOKSDLL_H
10 |
11 | #if !defined NOMINMAX
12 | #define NOMINMAX
13 | #endif
14 |
15 | #if !defined WIN32_LEAN_AND_MEAN
16 | #define WIN32_LEAN_AND_MEAN
17 | #endif
18 | #include"windows.h"
19 |
20 | #ifdef HOOKSDLL_EXPORTS
21 | #define HOOKSDLL_API extern "C" __declspec(dllexport)
22 | #else
23 | #define HOOKSDLL_API __declspec(dllimport)
24 | #endif
25 |
26 | #endif /* HOOKSDLL_H */
27 |
28 |
--------------------------------------------------------------------------------
/Software/hooks/hooksutils.cpp:
--------------------------------------------------------------------------------
1 | #include "hooksutils.h"
2 | #include "Logger.hpp"
3 |
4 | bool WriteToProtectedMem(void * mem, void * newVal, void * savedVal, size_t size) {
5 | DWORD protection = PAGE_EXECUTE_READWRITE;
6 | DWORD oldProtection;
7 | Logger *logger = Logger::getInstance();
8 |
9 | // align protected/unprotected memory by 8 bytes
10 | size_t protectedSize = ((size + 7)/8)*8;
11 |
12 | if (VirtualProtect(mem, protectedSize, protection, &oldProtection)) {
13 | if (savedVal) {
14 | logger->reportLogDebug(L"Writing to memory. Saving old content. dest 0x%x, src 0x%x, size %u", savedVal, mem, size);
15 | memcpy(savedVal, mem, size);
16 | logger->reportLogDebug(L"Writing to memory. Saving old content. finished");
17 | }
18 | logger->reportLogDebug(L"Writing to memory. dest 0x%x, src 0x%x, size %u", mem, newVal, size);
19 | memcpy(mem, newVal, size);
20 | logger->reportLogDebug(L"Writing to memory. finished");
21 |
22 | if (VirtualProtect(mem, protectedSize, oldProtection, &oldProtection))
23 | return true;
24 | }
25 | return false;
26 | }
27 |
--------------------------------------------------------------------------------
/Software/hooks/hooksutils.h:
--------------------------------------------------------------------------------
1 | #ifndef HOOKSUTILS_H
2 | #define HOOKSUTILS_H
3 |
4 | #if !defined NOMINMAX
5 | #define NOMINMAX
6 | #endif
7 |
8 | #if !defined WIN32_LEAN_AND_MEAN
9 | #define WIN32_LEAN_AND_MEAN
10 | #endif
11 | #include
12 | //#include
13 |
14 | //void InitLog(const LPWSTR name, DWORD logLevel);
15 | //void CloseLog();
16 | //void SetLogLevel(DWORD logLevel);
17 | //void ReportLogDebug(const LPWSTR message, ...);
18 | //void ReportLogInfo(const LPWSTR message, ...);
19 | //void ReportLogWarning(const LPWSTR message, ...);
20 | //void ReportLogError(const LPWSTR message, ...);
21 |
22 | bool WriteToProtectedMem(void * mem, void * newVal, void * savedVal, size_t size);
23 |
24 | inline void * incPtr(void * ptr, UINT offset) {
25 | return (void *)( (DWORD_PTR)ptr + offset );
26 | }
27 |
28 | #endif // HOOKSUTILS_H
29 |
--------------------------------------------------------------------------------
/Software/hooks/proxyfuncvftable.cpp:
--------------------------------------------------------------------------------
1 | #include "ProxyFuncVFTable.hpp"
2 | #include "hooksutils.h"
3 |
4 | bool ProxyFuncVFTable::init() {
5 | if (!m_isInited) {
6 | if(m_pTarget && m_pSubstFunc) {
7 | if (m_logger)
8 | m_logger->reportLogDebug(L"VFTableFuncInitialization. m_pTarget=0x%x, m_pSubstFunc=0x%x", m_pTarget, m_pSubstFunc);
9 | } else {
10 | if (m_logger)
11 | m_logger->reportLogError(L"VFTableFuncInitialization. m_pTarget=null or m_pSubstFunc=null");
12 | }
13 |
14 | m_pOriginalFunc = *static_cast(m_pTarget);
15 | m_isInited = true;
16 | }
17 | return m_isInited;
18 | }
19 |
20 | bool ProxyFuncVFTable::installHook() {
21 | return (m_isInited) && WriteToProtectedMem(m_pTarget, &m_pSubstFunc, NULL, sizeof(m_pSubstFunc));
22 | }
23 |
24 | bool ProxyFuncVFTable::removeHook() {
25 | return (m_isInited) && WriteToProtectedMem(m_pTarget, &m_pOriginalFunc, NULL, sizeof(m_pOriginalFunc));
26 | }
27 |
--------------------------------------------------------------------------------
/Software/hooks/res/logmessages.mc:
--------------------------------------------------------------------------------
1 | SeverityNames=(Debug =0x0:PRISMATIK_LOG_SEVERITY_DEBUG
2 | Info =0x1:PRISMATIK_LOG_SEVERITY_INFO
3 | Warning=0x2:PRISMATIK_LOG_SEVERITY_WARNING
4 | Error =0x3:PRISMATIK_LOG_SEVERITY_ERROR
5 | )
6 |
7 |
8 | MessageIdTypedef=DWORD
9 |
10 | MessageId=0x100
11 | Severity=Debug
12 | Facility=Application
13 | SymbolicName=PRISMATIK_LOG_MSG_DEBUG
14 | Language=English
15 | %1
16 | .
17 |
18 | MessageId=0x101
19 | Severity=Info
20 | Facility=Application
21 | SymbolicName=PRISMATIK_LOG_MSG_INFO
22 | Language=English
23 | %1
24 | .
25 |
26 | MessageId=0x102
27 | Severity=Warning
28 | Facility=Application
29 | SymbolicName=PRISMATIK_LOG_MSG_WARNING
30 | Language=English
31 | %1
32 | .
33 |
34 | MessageId=0x103
35 | Severity=Error
36 | Facility=Application
37 | SymbolicName=PRISMATIK_LOG_MSG_ERROR
38 | Language=English
39 | %1
40 | .
41 |
--------------------------------------------------------------------------------
/Software/libraryinjector/LibraryInjector.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | DllGetClassObject PRIVATE
3 | DllUnregisterServer PRIVATE
4 | DllRegisterServer PRIVATE
--------------------------------------------------------------------------------
/Software/libraryinjector/libraryinjector.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2012-06-05T13:03:08
4 | #
5 | #-------------------------------------------------
6 |
7 | QT -= core gui
8 |
9 | DESTDIR = ../bin
10 | TARGET = libraryinjector
11 | TEMPLATE = lib
12 | LIBS += -luuid -lole32 -ladvapi32 -luser32
13 | RC_FILE = ../res/Libs.rc
14 |
15 | include(../build-config.prf)
16 |
17 | DEFINES += LIBRARYINJECTOR_LIBRARY
18 | CONFIG(msvc) {
19 | # This will suppress many MSVC warnings about 'unsecure' CRT functions.
20 | DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE
21 | # Parallel build
22 | QMAKE_CXXFLAGS += /MP
23 | # Add export definition for COM methods and place *.lib and *.exp files in ../lib
24 | QMAKE_LFLAGS += /DEF:"LibraryInjector.def" /IMPLIB:..\\lib\\$(TargetName).lib
25 | } else {
26 | QMAKE_LFLAGS +=-Wl,--kill-at
27 | }
28 |
29 | SOURCES += \
30 | LibraryInjector.c \
31 | dllmain.c
32 |
33 | HEADERS += \
34 | ILibraryInjector.h \
35 | LibraryInjector.h
36 |
--------------------------------------------------------------------------------
/Software/math/math.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2013-06-11T16:47:52
4 | #
5 | #-------------------------------------------------
6 |
7 | DESTDIR = ../lib
8 | TARGET = prismatik-math
9 | TEMPLATE = lib
10 | CONFIG += staticlib c++17
11 |
12 | include(../build-config.prf)
13 |
14 | INCLUDEPATH += ./include
15 |
16 | SOURCES += \
17 | PrismatikMath.cpp
18 |
19 | HEADERS += \
20 | include/colorspace_types.h \
21 | include/PrismatikMath.hpp
22 |
--------------------------------------------------------------------------------
/Software/offsetfinder/offsetfinder.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2012-06-05T13:03:08
4 | #
5 | #-------------------------------------------------
6 |
7 | QT -= core gui
8 |
9 | DESTDIR = ../bin
10 | TARGET = offsetfinder
11 | LIBS += -ldxguid
12 | RC_FILE = ../res/Libs.rc
13 |
14 | QMAKE_LIBS_QT_ENTRY =
15 | DEFINES += NO_QT
16 |
17 | include(../build-config.prf)
18 |
19 | # The offsetfinder is used to get the x86 offsets when running as x64
20 | QMAKE_TARGET.arch = x86
21 |
22 | CONFIG(msvc) {
23 | # This will suppress many MSVC warnings about 'unsecure' CRT functions.
24 | DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE
25 | # Parallel build
26 | QMAKE_CXXFLAGS += /MP
27 | } else {
28 | QMAKE_LFLAGS +=-Wl,--kill-at
29 | }
30 |
31 | SOURCES += \
32 | main.cpp \
33 | ../common/WinDXUtils.cpp
34 |
35 | HEADERS += \
36 | ../common/D3D10GrabberDefs.hpp \
37 | ../common/WinDXUtils.hpp \
38 | ../common/defs.h \
39 | ../common/msvcstub.h \
40 | ../common/BufferFormat.h
41 |
--------------------------------------------------------------------------------
/Software/res/Libs.rc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "../src/version.h"
3 |
4 | VS_VERSION_INFO VERSIONINFO
5 | FILEVERSION VER_FILEVERSION
6 | PRODUCTVERSION VER_PRODUCTVERSION
7 | BEGIN
8 | BLOCK "StringFileInfo"
9 | BEGIN
10 | BLOCK "040904E4"
11 | BEGIN
12 | VALUE "FileVersion", VER_FILEVERSION_STR
13 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR
14 |
15 | VALUE "ProductName", VER_PRODUCTNAME_STR
16 | VALUE "CompanyName", VER_COMPANYNAME_STR
17 | VALUE "FileDescription", ""
18 | VALUE "InternalName", ""
19 | VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
20 | VALUE "OriginalFilename", ""
21 | END
22 | END
23 |
24 | BLOCK "VarFileInfo"
25 | BEGIN
26 | VALUE "Translation", 0x00, 00
27 | END
28 | END
29 |
--------------------------------------------------------------------------------
/Software/res/Lightpack.rc:
--------------------------------------------------------------------------------
1 | IDI_ICON1 ICON DISCARDABLE "icons/Prismatik.ico"
2 |
3 | #include
4 | #include "../src/version.h"
5 |
6 | VS_VERSION_INFO VERSIONINFO
7 | FILEVERSION VER_FILEVERSION
8 | PRODUCTVERSION VER_PRODUCTVERSION
9 | BEGIN
10 | BLOCK "StringFileInfo"
11 | BEGIN
12 | BLOCK "040904E4"
13 | BEGIN
14 | VALUE "FileVersion", VER_FILEVERSION_STR
15 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR
16 |
17 | VALUE "ProductName", VER_PRODUCTNAME_STR
18 | VALUE "CompanyName", VER_COMPANYNAME_STR
19 | VALUE "FileDescription", VER_FILEDESCRIPTION_STR
20 | VALUE "InternalName", VER_INTERNALNAME_STR
21 | VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
22 | VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
23 | END
24 | END
25 |
26 | BLOCK "VarFileInfo"
27 | BEGIN
28 | VALUE "Translation", 0x409, 1200, 0x419, 1200
29 | END
30 | END
31 |
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_dark_24px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_dark_24px.png
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_dark_24px_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_dark_24px_hover.png
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_dark_24px_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_dark_24px_pressed.png
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_light_24px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_light_24px.png
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_light_24px_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_light_24px_hover.png
--------------------------------------------------------------------------------
/Software/res/buttons/arrow_right_light_24px_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/arrow_right_light_24px_pressed.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_24px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_24px.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_dark_24px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_dark_24px.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_dark_24px_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_dark_24px_hover.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_dark_24px_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_dark_24px_pressed.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_light_24px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_light_24px.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_light_24px_hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_light_24px_hover.png
--------------------------------------------------------------------------------
/Software/res/buttons/settings_light_24px_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/buttons/settings_light_24px_pressed.png
--------------------------------------------------------------------------------
/Software/res/icons/Lightpack.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Lightpack.ico
--------------------------------------------------------------------------------
/Software/res/icons/Lightpack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Lightpack.png
--------------------------------------------------------------------------------
/Software/res/icons/Prismatik-pixmap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Prismatik-pixmap.png
--------------------------------------------------------------------------------
/Software/res/icons/Prismatik.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Prismatik.icns
--------------------------------------------------------------------------------
/Software/res/icons/Prismatik.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Prismatik.ico
--------------------------------------------------------------------------------
/Software/res/icons/Prismatik.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/Prismatik.png
--------------------------------------------------------------------------------
/Software/res/icons/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/about.png
--------------------------------------------------------------------------------
/Software/res/icons/arrow_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/arrow_down.png
--------------------------------------------------------------------------------
/Software/res/icons/arrow_down_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/arrow_down_gray.png
--------------------------------------------------------------------------------
/Software/res/icons/arrow_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/arrow_up.png
--------------------------------------------------------------------------------
/Software/res/icons/arrow_up_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/arrow_up_gray.png
--------------------------------------------------------------------------------
/Software/res/icons/console_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/console_gray.png
--------------------------------------------------------------------------------
/Software/res/icons/device.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/device.png
--------------------------------------------------------------------------------
/Software/res/icons/donate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/donate.png
--------------------------------------------------------------------------------
/Software/res/icons/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/error.png
--------------------------------------------------------------------------------
/Software/res/icons/help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/help.png
--------------------------------------------------------------------------------
/Software/res/icons/lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/lock.png
--------------------------------------------------------------------------------
/Software/res/icons/modes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/modes.png
--------------------------------------------------------------------------------
/Software/res/icons/nerd2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/nerd2.png
--------------------------------------------------------------------------------
/Software/res/icons/off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/off.png
--------------------------------------------------------------------------------
/Software/res/icons/on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/on.png
--------------------------------------------------------------------------------
/Software/res/icons/persist.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/persist.png
--------------------------------------------------------------------------------
/Software/res/icons/plugins.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/plugins.png
--------------------------------------------------------------------------------
/Software/res/icons/profile_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/profile_delete.png
--------------------------------------------------------------------------------
/Software/res/icons/profile_new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/profile_new.png
--------------------------------------------------------------------------------
/Software/res/icons/profile_reset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/profile_reset.png
--------------------------------------------------------------------------------
/Software/res/icons/profiles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/profiles.png
--------------------------------------------------------------------------------
/Software/res/icons/profiles2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/profiles2.png
--------------------------------------------------------------------------------
/Software/res/icons/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/refresh.png
--------------------------------------------------------------------------------
/Software/res/icons/res_dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/res_dark.png
--------------------------------------------------------------------------------
/Software/res/icons/res_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/res_light.png
--------------------------------------------------------------------------------
/Software/res/icons/settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/settings.png
--------------------------------------------------------------------------------
/Software/res/icons/uac-shield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/res/icons/uac-shield.png
--------------------------------------------------------------------------------
/Software/scripts/win32/build_UpdateElevate.bat:
--------------------------------------------------------------------------------
1 | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
2 | MSBuild.exe UpdateElevate\UpdateElevate.sln /p:Configuration=Release
--------------------------------------------------------------------------------
/Software/scripts/win32/prepare_installer.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # call this from $repo/Software
3 | set -e
4 |
5 | # build UpdateElevate
6 | echo "#define NAME L\"Prismatik\"" > UpdateElevate/UpdateElevate/command.h
7 | echo "#define EXT L\".exe\"" >> UpdateElevate/UpdateElevate/command.h
8 | echo "#define ARGS L\" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART\"" >> UpdateElevate/UpdateElevate/command.h
9 | cmd //c scripts\\win32\\build_UpdateElevate.bat
10 | cp UpdateElevate/x64/Release/UpdateElevate.exe dist_windows/content/
11 |
12 |
13 |
14 | cp bin/*.dll dist_windows/content/
15 | cp bin/*.exe dist_windows/content/
16 |
17 | cp -r bin/platforms dist_windows/content/
18 | cp -r bin/styles dist_windows/content/
19 | cp -r bin/tls dist_windows/content/
20 |
--------------------------------------------------------------------------------
/Software/scripts/win32/wipe.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # VS Clean functionality doesn't cover many of the hacky things we added like secretly copying files etc
3 | # This includes the sln and vcxproj's which VS doesn't know are generated
4 | # This script should clean all temporary and final products of the build process (on windows)
5 | # call this from $repo/Software
6 | rm -rf bin
7 | rm -rf lib
8 | rm -rf src/stuff
9 | rm -rf */debug
10 | rm -rf */release
11 | rm -rf dist_windows/content/*.dll
12 | rm -rf dist_windows/content/*.exe
13 | rm -rf dist_windows/content/platforms
14 | rm -f Lightpack.sln
15 | rm -f Lightpack.sdf
16 | rm -f Lightpack.*.suo
17 | rm -rf */*.vcxproj
18 | rm -rf */*.vcxproj.filters
19 | rm -rf .qmake.stash
--------------------------------------------------------------------------------
/Software/src/ColorButton.hpp:
--------------------------------------------------------------------------------
1 |
2 | //#pragma once
3 | #ifndef CB_H
4 | #define CB_H
5 |
6 | #include
7 |
8 | class ColorButton : public QPushButton
9 | {
10 | Q_OBJECT
11 |
12 | public:
13 | ColorButton(QWidget *parent);
14 | ~ColorButton();
15 | QColor getColor();
16 | void setColor(QColor color);
17 |
18 | signals:
19 | void colorChanged(QColor);
20 |
21 | protected slots:
22 | void click();
23 | void currentColorChanged(QColor color);
24 |
25 | protected:
26 | QColor m_color;
27 | };
28 |
29 | #endif //CB_H
30 |
--------------------------------------------------------------------------------
/Software/src/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleExecutable
6 | Prismatik
7 | CFBundleGetInfoString
8 | Created by Qt/QMake
9 | CFBundleIconFile
10 | Prismatik.icns
11 | CFBundleIdentifier
12 | de.psieg.Prismatik
13 | CFBundlePackageType
14 | APPL
15 | CFBundleSignature
16 | ????
17 | LSUIElement
18 | 1
19 | NSHighResolutionCapable
20 | True
21 | NSMicrophoneUsageDescription
22 | Required for sound visualization feature (optional)
23 | NSPrincipalClass
24 | NSApplication
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Software/src/MacOSSession.h:
--------------------------------------------------------------------------------
1 | //
2 | // MacOSSession.h
3 | // Prismatik
4 | //
5 | // Created by zomfg on 27/12/2018.
6 | //
7 | #pragma once
8 |
9 | #ifndef MACOSSESSIONCHANGEDETECTOR_H
10 | #define MACOSSESSIONCHANGEDETECTOR_H
11 | #include "SystemSession.hpp"
12 |
13 | namespace SystemSession {
14 | class MacOSEventFilter : public EventFilter
15 | {
16 | public:
17 | MacOSEventFilter();
18 | ~MacOSEventFilter();
19 | #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
20 | bool nativeEventFilter(const QByteArray& eventType, void* message, qintptr* result);
21 | #else
22 | bool nativeEventFilter(const QByteArray& eventType, void* message, long* result) Q_DECL_OVERRIDE;
23 | #endif
24 | private:
25 | class NativeWrapper;
26 | NativeWrapper* _wrapper;
27 | };
28 | }
29 |
30 | #endif /* MACOSSESSIONCHANGEDETECTOR_H */
31 |
--------------------------------------------------------------------------------
/Software/src/MacOSSoundManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // MacOSSoundManager.h
3 | // Prismatik
4 | //
5 | // Created by zomfg on 07/01/2019.
6 | //
7 |
8 | #pragma once
9 |
10 | #include "SoundManagerBase.hpp"
11 |
12 | #include
13 | #ifdef __OBJC__
14 | @class MacOSNativeSoundCapture;
15 | #else
16 | typedef struct objc_object MacOSNativeSoundCapture;
17 | #endif
18 |
19 | class MacOSSoundManager : public SoundManagerBase
20 | {
21 | Q_OBJECT
22 |
23 | public:
24 | explicit MacOSSoundManager(QObject *parent = 0);
25 | ~MacOSSoundManager();
26 | virtual void start(bool isEnabled);
27 |
28 | private:
29 | virtual bool init();
30 | virtual void populateDeviceList(QList& devices, int& recommended);
31 |
32 | bool m_isAuthorized{false};
33 | bool m_awaitingAuthorization{false};
34 | MacOSNativeSoundCapture* _capture{nullptr};
35 | };
36 |
--------------------------------------------------------------------------------
/Software/src/PluginsManager.hpp:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 | #include
5 | #include
6 | #include "Plugin.hpp"
7 |
8 | class PluginsManager : public QObject
9 | {
10 | Q_OBJECT
11 | public:
12 | PluginsManager(QObject *parent = 0);
13 | virtual ~PluginsManager();
14 |
15 | void LoadPlugins(const QString& path);
16 | QList getPluginList();
17 | Plugin* getPlugin(const QString& name_);
18 |
19 | private:
20 | void dropPlugins();
21 | QMap _plugins;
22 |
23 | signals:
24 | void updatePlugin(QList);
25 |
26 | public slots:
27 | void reloadPlugins();
28 | void StartPlugins();
29 | void StopPlugins();
30 |
31 | private slots:
32 | void onPluginStateChangedHandler(QProcess::ProcessState state);
33 |
34 | };
35 |
36 |
--------------------------------------------------------------------------------
/Software/src/SelectWidget.hpp:
--------------------------------------------------------------------------------
1 | #ifndef SELECTWIDGET_HPP
2 | #define SELECTWIDGET_HPP
3 |
4 | #include
5 | #include
6 | #include
7 |
8 | class SelectWidget: public QWidget {
9 | Q_OBJECT
10 | public:
11 | SelectWidget();
12 | SelectWidget(QWidget *parent);
13 | virtual ~SelectWidget();
14 | void resizeEvent(QResizeEvent *e);
15 | QPushButton *upButton;
16 | QPushButton *downButton;
17 | QListWidget *list;
18 | public slots:
19 | void MoveUp();
20 | void MoveDown();
21 | };
22 |
23 | #endif // SELECTWIDGET_HPP
24 |
--------------------------------------------------------------------------------
/Software/src/SystemSession.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // SystemSession.cpp
3 | // Prismatik
4 | //
5 | // Created by zomfg on 27/12/2018.
6 | //
7 |
8 | #include "SystemSession.hpp"
9 | #if defined(Q_OS_WIN)
10 | #include "WindowsSession.hpp"
11 | #elif defined(Q_OS_MACOS)
12 | #include "MacOSSession.h"
13 | #endif
14 |
15 | namespace SystemSession {
16 |
17 | EventFilter* EventFilter::create()
18 | {
19 | #if defined(Q_OS_WIN)
20 | return new WindowsEventFilter();
21 | #elif defined(Q_OS_MACOS)
22 | return new MacOSEventFilter();
23 | #endif
24 | return nullptr;
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/Software/src/SystemSession.hpp:
--------------------------------------------------------------------------------
1 | //
2 | // SystemSession.hpp
3 | // Prismatik
4 | //
5 | // Created by zomfg on 27/12/2018.
6 | //
7 | #pragma once
8 | #ifndef SYSTEM_SESSION_HPP
9 | #define SYSTEM_SESSION_HPP
10 |
11 | #include "QObject"
12 | #include "QAbstractNativeEventFilter"
13 |
14 | namespace SystemSession {
15 |
16 | enum Status : int {
17 | Ending,
18 | Locking,
19 | Unlocking,
20 | Sleeping,
21 | Resuming,
22 | DisplayOn,
23 | DisplayOff,
24 | DisplayDimmed
25 | };
26 |
27 | class EventFilter :
28 | public QObject,
29 | public QAbstractNativeEventFilter
30 | {
31 | Q_OBJECT
32 | public:
33 | EventFilter() = default;
34 | virtual ~EventFilter() = default;
35 |
36 | static EventFilter* create();
37 |
38 | signals:
39 | void sessionChangeDetected(Status status);
40 | };
41 | }
42 |
43 | #endif /* SYSTEM_SESSION_HPP */
44 |
--------------------------------------------------------------------------------
/Software/src/alienfx/LightFX.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/Software/src/alienfx/LightFX.dll
--------------------------------------------------------------------------------
/Software/src/qtsingleapplication/common.pri:
--------------------------------------------------------------------------------
1 | # For some reason infile still gets called even when config.pri does not exist.
2 | # But since config.pri does not exist in our repo, it will cause an error when using qmake.
3 | # For that reason, it's currently disabled.
4 | #exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsingleapplication-uselib
5 |
6 | TEMPLATE += fakelib
7 | greaterThan(QT_MAJOR_VERSION, 5)|\
8 | if(equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 4))|\
9 | if(equals(QT_MAJOR_VERSION, 5):equals(QT_MINOR_VERSION, 4):greaterThan(QT_PATCH_VERSION, 1)) {
10 | QTSINGLEAPPLICATION_LIBNAME = $$qt5LibraryTarget(QtSolutions_SingleApplication-head)
11 | } else {
12 | QTSINGLEAPPLICATION_LIBNAME = $$qtLibraryTarget(QtSolutions_SingleApplication-head)
13 | }
14 | TEMPLATE -= fakelib
15 |
16 | QTSINGLEAPPLICATION_LIBDIR = $$PWD/lib
17 | unix:qtsingleapplication-uselib:!qtsingleapplication-buildlib:QMAKE_RPATHDIR += $$QTSINGLEAPPLICATION_LIBDIR
18 |
--------------------------------------------------------------------------------
/Software/src/qtsingleapplication/src/QtLockedFile:
--------------------------------------------------------------------------------
1 | #include "qtlockedfile.h"
2 |
--------------------------------------------------------------------------------
/Software/src/qtsingleapplication/src/QtSingleApplication:
--------------------------------------------------------------------------------
1 | #include "qtsingleapplication.h"
2 |
--------------------------------------------------------------------------------
/Software/src/qtsingleapplication/src/qtsingleapplication.pri:
--------------------------------------------------------------------------------
1 | include(../common.pri)
2 | INCLUDEPATH += $$PWD
3 | DEPENDPATH += $$PWD
4 | QT *= network
5 | greaterThan(QT_MAJOR_VERSION, 4): QT *= widgets
6 |
7 | qtsingleapplication-uselib:!qtsingleapplication-buildlib {
8 | LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME
9 | } else {
10 | SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp
11 | HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h
12 | }
13 |
14 | win32 {
15 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT
16 | else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT
17 | }
18 |
--------------------------------------------------------------------------------
/Software/src/qtsingleapplication/src/qtsinglecoreapplication.pri:
--------------------------------------------------------------------------------
1 | INCLUDEPATH += $$PWD
2 | DEPENDPATH += $$PWD
3 | HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h
4 | SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp
5 |
6 | QT *= network
7 |
8 | win32:contains(TEMPLATE, lib):contains(CONFIG, shared) {
9 | DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport)
10 | }
11 |
--------------------------------------------------------------------------------
/Software/src/types.h:
--------------------------------------------------------------------------------
1 | /*
2 | * types.hpp
3 | *
4 | * Created on: 11/3/2013
5 | * Project: Prismatik
6 | *
7 | * Copyright (c) 2013 Tim
8 | *
9 | * Lightpack is an open-source, USB content-driving ambient lighting
10 | * hardware.
11 | *
12 | * Prismatik is a free, open-source software: you can redistribute it and/or
13 | * modify it under the terms of the GNU General Public License as published
14 | * by the Free Software Foundation, either version 2 of the License, or
15 | * (at your option) any later version.
16 | *
17 | * Prismatik and Lightpack files is distributed in the hope that it will be
18 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 | * General Public License for more details.
21 | *
22 | * You should have received a copy of the GNU General Public License
23 | * along with this program. If not, see .
24 | *
25 | */
26 |
27 | #ifndef TYPES_H
28 | #define TYPES_H
29 |
30 | /*!
31 | White balance adjustment
32 | */
33 | struct WBAdjustment {
34 | double red{ 1.0 }, green{ 1.0 }, blue{ 1.0 };
35 | };
36 |
37 |
38 | #endif // TYPES_H
39 |
--------------------------------------------------------------------------------
/Software/src/wizard/Wizard.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | Wizard
4 |
5 |
6 |
7 | 0
8 | 0
9 | 750
10 | 420
11 |
12 |
13 |
14 | Wizard
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Software/tests/GrabCalculationTest.cpp:
--------------------------------------------------------------------------------
1 | #include "GrabCalculationTest.hpp"
2 |
3 | void GrabCalculationTest::testCase1()
4 | {
5 | unsigned char buf[16];
6 | memset(buf, 0xfa, 16);
7 | QRgb result = Grab::Calculations::calculateAvgColor(buf, BufferFormatArgb, 16, QRect(0,0,4,1));
8 | QVERIFY2(result == QColor(0xfa, 0xfa, 0xfa).rgb(), qPrintable(QString("Failure. calculateAvgColor returned wrong errorcode %1").arg(result, 1, 16)));
9 | }
10 |
--------------------------------------------------------------------------------
/Software/tests/HooksTest.h:
--------------------------------------------------------------------------------
1 | #ifndef HOOKSTEST_H
2 | #define HOOKSTEST_H
3 |
4 | #include
5 |
6 | class HooksTest : public QObject
7 | {
8 | Q_OBJECT
9 | public:
10 | explicit HooksTest(QObject *parent = 0);
11 |
12 | private slots:
13 | void jmpHookTestCase();
14 | void vfTableHookTestCase();
15 | void reportLogTestCase();
16 |
17 | };
18 |
19 | #endif // HOOKSTEST_H
20 |
--------------------------------------------------------------------------------
/Software/tests/lightpackmathtest.cpp:
--------------------------------------------------------------------------------
1 | #include "lightpackmathtest.hpp"
2 | #include "PrismatikMath.hpp"
3 | #include
4 |
5 | LightpackMathTest::LightpackMathTest(QObject *parent) :
6 | QObject(parent)
7 | {
8 | }
9 | void LightpackMathTest::testCase1()
10 | {
11 | QVERIFY2( PrismatikMath::getValueHSV(qRgb(215,122,0)) == 215, "getValueHSV() is incorrect");
12 | QRgb testRgb = qRgb(200,100,0);
13 | QVERIFY2( PrismatikMath::withChromaHSV(testRgb, 100) == qRgb(200, 150, 100), "getChromaHSV() is incorrect");
14 | QVERIFY2( PrismatikMath::withChromaHSV(testRgb, 250) == qRgb(200, 75, 0), "getChromaHSV() is incorrect");
15 |
16 | QVERIFY2( PrismatikMath::withChromaHSV(testRgb, PrismatikMath::getChromaHSV(testRgb)) == testRgb, "getChromaHSV() is incorrect");
17 | }
18 |
--------------------------------------------------------------------------------
/Software/tests/lightpackmathtest.hpp:
--------------------------------------------------------------------------------
1 | #ifndef LIGHTPACKMATHTEST_HPP
2 | #define LIGHTPACKMATHTEST_HPP
3 |
4 | #include
5 |
6 | class LightpackMathTest : public QObject
7 | {
8 | Q_OBJECT
9 | public:
10 | explicit LightpackMathTest(QObject *parent = 0);
11 |
12 | private slots:
13 | void testCase1();
14 | };
15 |
16 | #endif // LIGHTPACKMATHTEST_HPP
17 |
--------------------------------------------------------------------------------
/Software/unhook/main.cpp:
--------------------------------------------------------------------------------
1 | #include"stdio.h"
2 | #include"shlwapi.h"
3 |
4 | #define UINT8 unsigned char
5 |
6 | #ifdef HOOKS_SYSWOW64
7 | #define UNLOAD_MODULE_NAME L"prismatik-hooks32.dll"
8 | #else
9 | #define UNLOAD_MODULE_NAME L"prismatik-hooks.dll"
10 | #endif
11 |
12 | extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID lpReserved) {
13 | UNREFERENCED_PARAMETER(hModule);
14 | UNREFERENCED_PARAMETER(lpReserved);
15 |
16 | if (fdwReason == DLL_PROCESS_ATTACH) {
17 | HMODULE hooksdll = GetModuleHandle(UNLOAD_MODULE_NAME);
18 | if (hooksdll) {
19 | FreeLibrary(hooksdll);
20 | }
21 | // tell windows to unload us
22 | return FALSE;
23 | }
24 |
25 | return TRUE;
26 | }
27 |
--------------------------------------------------------------------------------
/Software/unhook/unhook.pro:
--------------------------------------------------------------------------------
1 | #-------------------------------------------------
2 | #
3 | # Project created by QtCreator 2012-06-05T13:03:08
4 | #
5 | #-------------------------------------------------
6 |
7 | QT -= core gui
8 |
9 | DESTDIR = ../bin
10 | TARGET = prismatik-unhook
11 | TEMPLATE = lib
12 |
13 | include(../build-config.prf)
14 |
15 | LIBS += -lshlwapi -ladvapi32 -luser32
16 |
17 | #QMAKE_CXXFLAGS_WARN_ON += -Wno-unknown-pragmas
18 | QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
19 | QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
20 |
21 | CONFIG += c++17
22 | CONFIG -= rtti
23 |
24 | DEFINES += HOOKSDLL_EXPORTS UNICODE
25 |
26 | CONFIG(msvc) {
27 | # This will suppress many MSVC warnings about 'unsecure' CRT functions.
28 | DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE
29 | # Parallel build
30 | QMAKE_CXXFLAGS += /MP
31 | # Place *.lib and *.exp files in ../lib
32 | QMAKE_LFLAGS += /IMPLIB:..\\lib\\$(TargetName).lib
33 | } else {
34 | QMAKE_LFLAGS += -static
35 | }
36 |
37 | SOURCES += \
38 | main.cpp
39 |
40 | HEADERS +=
41 |
--------------------------------------------------------------------------------
/Software/update_locales.bat:
--------------------------------------------------------------------------------
1 | rem
2 | rem update_locales.bat
3 | rem
4 | rem Created on: 24.02.2011
5 | rem Author: Mike Shatohin (brunql)
6 | rem Description: Updating translation files for Lightpack project
7 | rem URL: lightpack.googlecode.com
8 | rem
9 |
10 | echo off && cls
11 |
12 | echo.
13 | echo =================================================
14 | echo Updating translation files for Lightpack project:
15 | echo.
16 | echo executing %QTDIR%\bin\lupdate.exe %1 -pro src\src.pro
17 | echo.
18 | %QTDIR%\bin\lupdate.exe %1 -pro src\src.pro
19 |
20 | echo.
21 | echo ===========================================================
22 | echo Generating release translation files for Lightpack project:
23 | echo.
24 | %QTDIR%\bin\lrelease.exe src\src.pro
25 |
26 | echo.
27 |
28 | exit 0
29 |
30 |
--------------------------------------------------------------------------------
/XBMC/addons.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | http://lightpack.googlecode.com/hg/XBMC/addons.xml
13 | http://lightpack.googlecode.com/hg/XBMC/addons.xml.md5
14 | http://lightpack.googlecode.com/hg/XBMC/
15 |
16 |
17 |
18 | Lightpack manager
19 | Lightpack project - http://code.google.com/p/lightpack/
20 | GPL
21 | all
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/XBMC/addons.xml.md5:
--------------------------------------------------------------------------------
1 | cc1f93e30ee1785a4929e0844f71a9ee
--------------------------------------------------------------------------------
/XBMC/readme.txt:
--------------------------------------------------------------------------------
1 | Установка плагина
2 | Скачать плагин - http://lightpack.googlecode.com/hg/XBMC/script.lightpack/script.lightpack.zip
3 | Для установки из XBMC (install plugin from .zip) просто укажите путь к скачанному архиву.
4 |
5 | Плагин работает с XBMC 11 Eden, будет и в XBMC 10 Dharma, но с урезанным функционалом.
6 |
7 | Обновления будут происходить автоматически
8 |
--------------------------------------------------------------------------------
/XBMC/script.lightpack/addon.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | http://lightpack.googlecode.com/hg/XBMC/addons.xml
12 | http://lightpack.googlecode.com/hg/XBMC/addons.xml.md5
13 | http://lightpack.googlecode.com/hg/XBMC/
14 |
15 |
16 |
17 | Lightpack manager
18 | Lightpack project - http://code.google.com/p/lightpack/
19 | GPL
20 | all
21 |
22 |
23 |
--------------------------------------------------------------------------------
/XBMC/script.lightpack/changelog-1.0.4.txt:
--------------------------------------------------------------------------------
1 | 1.0.4
2 | - add service.plugin function
3 |
4 | 1.0.3
5 | - bug fix
6 |
7 | 1.0.2
8 | - support new API 1.2
9 |
10 | 1.0.1
11 | - change for new API
12 | - add Russia translation
13 |
14 | 1.0.0
15 | - Initial version
16 |
--------------------------------------------------------------------------------
/XBMC/script.lightpack/changelog-1.0.5.txt:
--------------------------------------------------------------------------------
1 | 1.0.5
2 | - add on/off lightpack for default/video/audio
3 | - add enable/disable Notification
4 | - translate Notification
5 |
6 | 1.0.4
7 | - add service.plugin function
8 |
9 | 1.0.3
10 | - bug fix
11 |
12 | 1.0.2
13 | - support new API 1.2
14 |
15 | 1.0.1
16 | - change for new API
17 | - add Russia translation
18 |
19 | 1.0.0
20 | - Initial version
21 |
--------------------------------------------------------------------------------
/XBMC/script.lightpack/changelog_1.0.6.txt:
--------------------------------------------------------------------------------
1 | 1.0.6
2 | - del empty profile
3 |
4 | 1.0.5
5 | - add on/off lightpack for default/video/audio
6 | - add enable/disable Notification
7 | - translate Notification
8 |
9 | 1.0.4
10 | - add service.plugin function
11 |
12 | 1.0.3
13 | - bug fix
14 |
15 | 1.0.2
16 | - support new API 1.2
17 |
18 | 1.0.1
19 | - change for new API
20 | - add Russia translation
21 |
22 | 1.0.0
23 | - Initial version
24 |
--------------------------------------------------------------------------------
/XBMC/script.lightpack/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/XBMC/script.lightpack/icon.png
--------------------------------------------------------------------------------
/XBMC/script.lightpack/script.lightpack-1.0.4.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/XBMC/script.lightpack/script.lightpack-1.0.4.zip
--------------------------------------------------------------------------------
/XBMC/script.lightpack/script.lightpack-1.0.5.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/XBMC/script.lightpack/script.lightpack-1.0.5.zip
--------------------------------------------------------------------------------
/XBMC/script.lightpack/script.lightpack-1.0.6.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/XBMC/script.lightpack/script.lightpack-1.0.6.zip
--------------------------------------------------------------------------------
/screenshots/ambilight_win.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/screenshots/ambilight_win.png
--------------------------------------------------------------------------------
/screenshots/api_win.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/screenshots/api_win.png
--------------------------------------------------------------------------------
/screenshots/moodlamps_win.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/screenshots/moodlamps_win.png
--------------------------------------------------------------------------------
/screenshots/soundviz_win.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/psieg/Lightpack/a98dd51959c898a76dc089fd95e815a58084e1d2/screenshots/soundviz_win.png
--------------------------------------------------------------------------------