Hajime Hoshi
|
f0ef1ecad0
|
all: add float32 version of audio APIs
This change adds these APIs
* (*audio.Context).NewPlayerF32
* (*audio.Context).NewPlayerF32FromBytes
* audio.NewInfiniteLoopF32
* audio.NewInfiniteLoopWithIntroF32
* audio.ResampleF32
* mp3.DecodeF32
* vorbis.DecodeF32
* wav.DecodeF32
Closes #2160
|
2024-07-21 19:12:18 +09:00 |
|
Hajime Hoshi
|
a6a6709163
|
audio: use float32 instead of float64 for blending
Updates #2160
|
2024-07-21 16:32:12 +09:00 |
|
Hajime Hoshi
|
844a4de872
|
audio: remove const bytesPerSampleInt16
This is a preparation for float32 players.
Updates #2160
|
2024-07-06 23:57:05 +09:00 |
|
Hajime Hoshi
|
85f8423345
|
audio: rename constants
Updates #2630
|
2023-04-08 19:14:28 +09:00 |
|
Hajime Hoshi
|
1eb5d4a188
|
audio: Add comments
Updates #1888
|
2021-11-30 21:56:47 +09:00 |
|
Hajime Hoshi
|
2d231c8454
|
audio: Add comment at NewInfiniteLoopWithIntro about the noises
Updates #1888
|
2021-11-30 00:29:11 +09:00 |
|
Hajime Hoshi
|
c91a6fb81f
|
audio: Blend the loop start and after-the-loop part to reduce noises at InfiniteLoop
Closes #1888
|
2021-11-30 00:00:50 +09:00 |
|
Hajime Hoshi
|
90f59aad7c
|
audio: Refactoring: Use the underlying source's Seek in Read (reland)
|
2021-11-29 20:56:39 +09:00 |
|
Hajime Hoshi
|
b81736793d
|
Revert "audio: Refactoring: Use the underlying source's Seek in Read"
This reverts commit 15ba3ed4d1 .
Reason: Test failure
|
2021-11-29 19:36:28 +09:00 |
|
Hajime Hoshi
|
15ba3ed4d1
|
audio: Refactoring: Use the underlying source's Seek in Read
|
2021-11-29 17:21:40 +09:00 |
|
Hajime Hoshi
|
88a27151ef
|
audio: Fix documentation
ReadSeekCloser no longer exists.
Closes #1869
|
2021-11-10 01:27:35 +09:00 |
|
Hajime Hoshi
|
b8cdcdb847
|
audio: Bug fix: NewInfiniteLoop(WithIntro) should work with incomplete values
Closes #1503
|
2021-02-22 02:15:45 +09:00 |
|
Hajime Hoshi
|
f1f7b350de
|
audio, audio/mp3, audio/vorbis, audio/wav: Remove Close functions
Fixes #859
|
2020-10-07 23:39:58 +09:00 |
|
Hajime Hoshi
|
a3eddeb50f
|
Improve panic messages
|
2019-02-06 23:43:03 -10:00 |
|
Hajime Hoshi
|
59bcbca379
|
audio: Add NewInfiniteLoopWithIntro (#652)
|
2018-07-28 21:25:42 +09:00 |
|
Hajime Hoshi
|
a0bd31ef1f
|
audio: Rename stream -> src
|
2018-07-24 01:22:05 +09:00 |
|
Hajime Hoshi
|
6a1afe8fbe
|
audio: Add test for negative position
|
2018-07-23 04:01:43 +09:00 |
|
Hajime Hoshi
|
34ac185327
|
audio: Rename file
|
2018-07-23 03:15:17 +09:00 |
|