this repo has no description
at fixPythonPipStalling 64 lines 1.8 kB view raw
1/* 2This file is part of Darling. 3 4Copyright (C) 2020 Lubos Dolezel 5 6Darling is free software: you can redistribute it and/or modify 7it under the terms of the GNU General Public License as published by 8the Free Software Foundation, either version 3 of the License, or 9(at your option) any later version. 10 11Darling is distributed in the hope that it will be useful, 12but WITHOUT ANY WARRANTY; without even the implied warranty of 13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14GNU General Public License for more details. 15 16You should have received a copy of the GNU General Public License 17along with Darling. If not, see <http://www.gnu.org/licenses/>. 18*/ 19 20#include <AudioToolbox/MusicDevice.h> 21#include <CarbonCore/MacErrors.h> 22#include <iostream> 23 24OSStatus 25MusicDeviceMIDIEvent( MusicDeviceComponent inUnit, 26 UInt32 inStatus, 27 UInt32 inData1, 28 UInt32 inData2, 29 UInt32 inOffsetSampleFrame) 30{ 31 std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; 32 return unimpErr; 33} 34 35OSStatus 36MusicDeviceSysEx( MusicDeviceComponent inUnit, 37 const UInt8 * inData, 38 UInt32 inLength) 39{ 40 std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; 41 return unimpErr; 42} 43 44OSStatus 45MusicDeviceStartNote( MusicDeviceComponent inUnit, 46 MusicDeviceInstrumentID inInstrument, 47 MusicDeviceGroupID inGroupID, 48 NoteInstanceID * outNoteInstanceID, 49 UInt32 inOffsetSampleFrame, 50 const MusicDeviceNoteParams * inParams) 51{ 52 std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; 53 return unimpErr; 54} 55 56OSStatus 57MusicDeviceStopNote( MusicDeviceComponent inUnit, 58 MusicDeviceGroupID inGroupID, 59 NoteInstanceID inNoteInstanceID, 60 UInt32 inOffsetSampleFrame) 61{ 62 std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; 63 return unimpErr; 64}