To use:
- Load in Electron Fiddle
- Run
- Open the Developer console and observe the log messages
func getDeviceID(deviceUID: String) -> AudioObjectID? { | |
var deviceUIDCFString = deviceUID as CFString | |
var deviceID = kAudioDeviceUnknown | |
var propertyAddress = AudioObjectPropertyAddress(mSelector: kAudioHardwarePropertyDeviceForUID, mScope: kAudioObjectPropertyScopeGlobal, mElement: kAudioObjectPropertyElementMaster) | |
let dataSize_CFString = UInt32(MemoryLayout<CFString>.stride) | |
let dataSize_AudioObjectID = UInt32(MemoryLayout<AudioObjectID>.stride) | |
// This started giving warnings after upgrading to Swift 5.2 | |
var translation = AudioValueTranslation( |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
<link rel="stylesheet" type="text/css" href="./styles.css"> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body style="margin: 0"> | |
<div style="height: 50px; width: 100%; background-color: red; cursor: pointer; color: white; text-align: center; font-size: 30px;"> | |
This whole box should have a cursor pointer | |
</div> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
To use:
Usage:
main <path-to-file> <\"gst\" or \"ges\"> <playback-rate> <start-position-in-seconds>
<path-to-file>
: The file path to the media file to play.<\"gst\" or \"ges\">
: Whether to create just a GStreamer pipeline, or a GStreamer Editing Services pipeline.# This is the minimum version number required. | |
# Update this, if you use features of a newer version | |
fastlane_version "1.41.0" | |
default_platform :ios | |
platform :ios do | |
before_all do | |
ENV["SLACK_URL"] = "https://hooks.slack.com/services/MoneyWithWings" |
// Arduino Workshop Project 3 | |
// PWM | |
int d = 5; // d is used for time delay | |
const int number_of_pins = 5; // the number of output pins | |
int pins[number_of_pins] = {3, 5, 6, 9, 10}; // an array storing each output pin | |
// Sets the proper pins to output mode | |
void setup() | |
{ |