Since working with audio samples is more idiomatic to whole integer sample counts and not fractional/floating point, add overloads for the existing audio samples inits/methods to take Int.
Rename existing:
Timecode
samplesDoubleValue(sampleRate: Int) -> Double
setTimecode(exactlySamplesValue: Double, sampleRate: Int) throws
Add overloads for:
Timecode
samplesValue(sampleRate: Int) -> Int
setTimecode(exactlySamplesValue: Int, sampleRate: Int) throws
Since working with audio samples is more idiomatic to whole integer sample counts and not fractional/floating point, add overloads for the existing audio samples inits/methods to take
Int.Rename existing:
TimecodesamplesDoubleValue(sampleRate: Int) -> DoublesetTimecode(exactlySamplesValue: Double, sampleRate: Int) throwsAdd overloads for:
TimecodesamplesValue(sampleRate: Int) -> IntsetTimecode(exactlySamplesValue: Int, sampleRate: Int) throws