| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // |timeStampInMilliseconds| is in the same time coordinate system as perfor
mance.now(). | 92 // |timeStampInMilliseconds| is in the same time coordinate system as perfor
mance.now(). |
| 93 void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t leng
th, double timeStampInMilliseconds); | 93 void sendMIDIData(unsigned portIndex, const unsigned char* data, size_t leng
th, double timeStampInMilliseconds); |
| 94 | 94 |
| 95 virtual void trace(Visitor*) override; | 95 virtual void trace(Visitor*) override; |
| 96 | 96 |
| 97 private: | 97 private: |
| 98 MIDIAccess(PassOwnPtr<MIDIAccessor>, bool sysexEnabled, const Vector<MIDIAcc
essInitializer::PortDescriptor>&, ExecutionContext*); | 98 MIDIAccess(PassOwnPtr<MIDIAccessor>, bool sysexEnabled, const Vector<MIDIAcc
essInitializer::PortDescriptor>&, ExecutionContext*); |
| 99 | 99 |
| 100 OwnPtr<MIDIAccessor> m_accessor; | 100 OwnPtr<MIDIAccessor> m_accessor; |
| 101 bool m_sysexEnabled; | 101 bool m_sysexEnabled; |
| 102 HeapVector<Member<MIDIInput> > m_inputs; | 102 HeapVector<Member<MIDIInput>> m_inputs; |
| 103 HeapVector<Member<MIDIOutput> > m_outputs; | 103 HeapVector<Member<MIDIOutput>> m_outputs; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace blink | 106 } // namespace blink |
| 107 | 107 |
| 108 #endif // MIDIAccess_h | 108 #endif // MIDIAccess_h |
| OLD | NEW |