Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
1.8 kB · 64 lines
C++
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465/*This file is part of Darling.
Copyright (C) 2020 Lubos Dolezel
Darling is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.
Darling is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.
You should have received a copy of the GNU General Public Licensealong with Darling. If not, see <http://www.gnu.org/licenses/>.*/
#include <AudioToolbox/MusicDevice.h>#include <CoreServices/MacErrors.h>#include <iostream>
OSStatusMusicDeviceMIDIEvent( MusicDeviceComponent inUnit, UInt32 inStatus, UInt32 inData1, UInt32 inData2, UInt32 inOffsetSampleFrame){ std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; return unimpErr;}
OSStatusMusicDeviceSysEx( MusicDeviceComponent inUnit, const UInt8 * inData, UInt32 inLength){ std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; return unimpErr;}
OSStatusMusicDeviceStartNote( MusicDeviceComponent inUnit, MusicDeviceInstrumentID inInstrument, MusicDeviceGroupID inGroupID, NoteInstanceID * outNoteInstanceID, UInt32 inOffsetSampleFrame, const MusicDeviceNoteParams * inParams){ std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; return unimpErr;}
OSStatusMusicDeviceStopNote( MusicDeviceComponent inUnit, MusicDeviceGroupID inGroupID, NoteInstanceID inNoteInstanceID, UInt32 inOffsetSampleFrame){ std::cerr << "NOT IMPLEMENTED: " << __FUNCTION__ << std::endl; return unimpErr;}