# CreateSoundFromOGGMemblock

## Description

Creates an sound from a memblock. The memblock must exist, this creates a new sound and returns the ID. This will not affect any sound instances already playing, only future ones. The memblock must contain a valid OGG file such as one loaded with CreateMemblockFromFile(memID, "sound.ogg")

## Definition

2_t agk::CreateSoundFromOGGMemblock( uint32_t memID )

uint32_t agk::CreateSoundFromOGGMemblock( uint32_t memID )

CreateSoundFromOGGMemblock( uint32_t soundID, uint32_t memID )

void agk::CreateSoundFromOGGMemblock( uint32_t soundID, uint32_t memID )

## Parameters

- memID - The ID of the memblock to read, the memblock is unaffected by this command.
- soundID - The ID of the sound to create or modify.