cc3dsfs/include/conversions.hpp
Lorenzooone 268542732f
Implement USB for Old DS and 3DS CCs (#3)
* Implement USB for Old DS and 3DS CCs

* Update Readme and everything else to account for new devices

* Handle no serial number

* Reduce jitter on lower powered devices

Thanks to https://github.com/nn9dev and loopy for older CCs testing

There seem to be slowdowns on Windows when using the older CCs. Will need to figure that out.
2024-06-21 03:12:34 +02:00

11 lines
391 B
C++
Executable File

#ifndef __CONVERSIONS_HPP
#define __CONVERSIONS_HPP
#include <SFML/Audio.hpp>
#include "capture_structs.hpp"
#include "display_structs.hpp"
void convertVideoToOutput(CaptureReceived *p_in, VideoOutputData *p_out, CaptureData* capture_data);
void convertAudioToOutput(CaptureReceived *p_in, sf::Int16 *p_out, uint64_t n_samples, const bool is_big_endian, CaptureData* capture_data);
#endif