ManagedBass.Memory 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package ManagedBass.Memory --version 0.0.2                
NuGet\Install-Package ManagedBass.Memory -Version 0.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ManagedBass.Memory" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ManagedBass.Memory --version 0.0.2                
#r "nuget: ManagedBass.Memory, 0.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ManagedBass.Memory as a Cake Addin
#addin nuget:?package=ManagedBass.Memory&version=0.0.2

// Install ManagedBass.Memory as a Cake Tool
#tool nuget:?package=ManagedBass.Memory&version=0.0.2                

BASS_MEMORY

An in memory playback plugin for BASS with .NET bindings.

bass.dll is required for native projects. ManagedBass is required for .NET projects.

A simple example;

Bass.Init();
BassMemory.Init();

var sourceChannel = BassMemory.CreateStream(fileName);
Bass.ChannelPlay(sourceChannel);

while (Bass.ChannelIsActive(sourceChannel) == PlaybackState.Playing)
{
	global::System.Threading.Thread.Sleep(1000);
}

Bass.StreamFree(sourceChannel);
BassMemory.Free();
Bass.Free();

A memory stream can also be created from an existing channel, this will buffer the data uncompressed (as PCM):

var sourceChannel = Bass.CreateStream(fileName);
var memoryChannel = BassMemory.CreateStream(sourceChannel);

Uncompressed channels have a size limit of ~4GB due to the internal WAVE format being 32 bit.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.6 1,103 10/16/2022
0.0.5 405 10/14/2022
0.0.4 509 6/5/2022
0.0.3 412 6/2/2022
0.0.2 433 5/30/2022
0.0.1 426 5/27/2022