mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2025-02-15 18:22:41 +01:00
22 lines
394 B
C#
22 lines
394 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SonicAudioLib.IO
|
|
{
|
|
public class Methods
|
|
{
|
|
public static long Align(long value, long alignment)
|
|
{
|
|
while ((value % alignment) != 0)
|
|
{
|
|
value++;
|
|
}
|
|
|
|
return value;
|
|
}
|
|
}
|
|
}
|