mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-27 04:46:10 +08:00
wave: define EditableAudio interface
This commit is contained in:

committed by
Lukas Herman

parent
0c3bf8af3b
commit
d2d9259f15
@@ -8,6 +8,12 @@ type Audio interface {
|
||||
At(i, ch int) Sample
|
||||
}
|
||||
|
||||
// EditableAudio is an editable finite series of audio Sample values.
|
||||
type EditableAudio interface {
|
||||
Audio
|
||||
Set(i, ch int, s Sample)
|
||||
}
|
||||
|
||||
// ChunkInfo contains size of the audio chunk.
|
||||
type ChunkInfo struct {
|
||||
Len int
|
||||
|
Reference in New Issue
Block a user