Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Inaccessible audio data

$
0
0

@ed022 wrote:

After puzzling over it for a few hours, I can't seem to find any way to access the audio data buffer from a loaded SoundEffect.

I have an MP3 that I've imported via the Content Pipeline Tool. I can load it as a SoundEffect, but I'm trying to access its internal byte[] data, namely so as to push portions of it to a DynamicSoundEffectInstance. I see that there is a SoundBuffer member inside the loaded SoundEffect, which seems to contain exactly what I want, but it is inaccessible from my project. Can we make this public, or somehow else allow reading from this buffer? Or is there another solution that I'm overlooking entirely?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles