# CreateMusicFromOGGMemblock

## Description

Creates a music entity from a memblock. The memblock must exist. This will create a new music ID and return it The memblock must contain a valid OGG file such as one loaded with CreateMemblockFromFile(memID, "music.ogg")

## Definition

2_t agk::CreateMusicFromOGGMemblock( uint32_t memID )

uint32_t agk::CreateMusicFromOGGMemblock( uint32_t memID )

CreateMusicFromOGGMemblock( uint32_t musicID, uint32_t memID )

void agk::CreateMusicFromOGGMemblock( uint32_t musicID, uint32_t memID )

## Parameters

- memID - The ID of the memblock to read, the memblock is unaffected by this command.
- musicID - The ID of the music to create.