Open hajimehoshi opened 2 months ago
Like image.Decode, audio.Decode should be useful. This automatically detects the type by the magic number at the first 4 bytes.
image.Decode
audio.Decode
Unfortunately now the audio package is imported by other decoder packages, so this will be in v3.
audio
No response
I realized this can be possible even though audio depends on audio/vorbis, audio/wav, and so on.
audio/vorbis
audio/wav
Operating System
What feature would you like to be added?
Like
image.Decode
,audio.Decode
should be useful. This automatically detects the type by the magic number at the first 4 bytes.Unfortunately now the
audio
package is imported by other decoder packages, so this will be in v3.Why is this needed?
No response