mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/cbackend: remove CloseAudio
This commit is contained in:
parent
aca290caa9
commit
2826555044
@ -54,7 +54,6 @@ package cbackend
|
||||
// // Audio
|
||||
// typedef void (*OnReadCallback)(float* buf, size_t length);
|
||||
// void EbitenOpenAudio(int sample_rate, int channel_num, OnReadCallback on_read_callback);
|
||||
// void EbitenCloseAudio();
|
||||
//
|
||||
// void EbitenAudioOnReadCallback(float* buf, size_t length);
|
||||
// static void EbitenOpenAudioProxy(int sample_rate, int channel_num) {
|
||||
@ -170,10 +169,6 @@ func OpenAudio(sampleRate, channelCount int, onRead func(buf []float32)) {
|
||||
onReadCallback = onRead
|
||||
}
|
||||
|
||||
func CloseAudio() {
|
||||
C.EbitenCloseAudio()
|
||||
}
|
||||
|
||||
//export EbitenAudioOnReadCallback
|
||||
func EbitenAudioOnReadCallback(buf *C.float, length C.size_t) {
|
||||
var s []float32
|
||||
|
Loading…
Reference in New Issue
Block a user