Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "../include/kit_sdl2/kit_kmixer.h"
- #include "../_private/include/_kit_privmacro.h"
- #include "../_private/include/_kit_kmixerPrivate.h"
- int kit_kmixerDeviceClose(kit_kmixerDevice** device_p){
- //TBD
- return 0;
- }
- kit_kmixerDevice* kit_kmixerDeviceOpen(SDL_AudioSpec* spec, SDL_AudioDeviceID devID,
- int isCapture, int allowed_changes, int* returnStatus_p)
- {
- kit_kmixerDevice* device=NULL;
- int returnStatus=0;
- //checks todo:
- //error when channels is not mono or stereo
- //also 64-bit samples of any kind are not allowed
- //_error_:
- if(returnStatus_p != NULL) *returnStatus_p=returnStatus;
- return device;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement