Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WAVEFORMATEXTENSIBLE #20

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .envrc
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE
100644 → 100755
Empty file.
Empty file modified .github/PULL_REQUEST_TEMPLATE
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified Makefile
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you're not familiar with Windows Core Audio API, visit the MSDN.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Usage

Expand Down
Empty file modified TODO.md
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedEventDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedEventDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedEventDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/CaptureSharedEventDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the capturing audio with shared event driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/CaptureSharedEventDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module CaptureSharedEventDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/CaptureSharedEventDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/CaptureSharedEventDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedTimerDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedTimerDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/CaptureSharedTimerDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/CaptureSharedTimerDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the capturing audio with shared timer driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/CaptureSharedTimerDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module CaptureSharedTimerDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/CaptureSharedTimerDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/CaptureSharedTimerDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/DeviceEvents/.envrc
100644 → 100755
Empty file.
Empty file modified _example/DeviceEvents/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/DeviceEvents/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/DeviceEvents/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows how to hook audio device events.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later
- `go-ole` (https://github.com/go-ole/go-ole)

## Build
Expand Down
4 changes: 2 additions & 2 deletions _example/DeviceEvents/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module DeviceEvents

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/DeviceEvents/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/DeviceEvents/main.go
100644 → 100755
Empty file.
Empty file modified _example/EndpointVolume/.envrc
100644 → 100755
Empty file.
Empty file modified _example/EndpointVolume/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/EndpointVolume/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/EndpointVolume/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that changing volume for default rendering device.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
8 changes: 5 additions & 3 deletions _example/EndpointVolume/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module EndpointVolume

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/moutend/go-wca v0.3.0
github.com/cruffinoni/go-wca v0.0.1
github.com/go-ole/go-ole v1.3.0
)

require golang.org/x/sys v0.21.0 // indirect
13 changes: 7 additions & 6 deletions _example/EndpointVolume/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
github.com/cruffinoni/go-wca v0.0.1 h1:5OjPUfgKCxBAp0Gijiw8kva3dBu8SV5eWf8lQ0kZhsc=
github.com/cruffinoni/go-wca v0.0.1/go.mod h1:07Mt2ujfO1Kwa1doIZNMJOlD64hMHIGDYAxHBg9Ml5k=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
4 changes: 2 additions & 2 deletions _example/EndpointVolume/main.go
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"strconv"

"github.com/cruffinoni/go-wca/pkg/wca"
"github.com/go-ole/go-ole"
"github.com/moutend/go-wca/pkg/wca"
)

var version = "latest"
Expand All @@ -31,7 +31,7 @@ func (f *GainFlag) Set(value string) (err error) {
f.IsSet = true
return
}
func (f GainFlag) String() string {
func (f *GainFlag) String() string {
return fmt.Sprintf("%v", f.Value)
}

Expand Down
Empty file modified _example/LoopbackCaptureSharedEventDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/LoopbackCaptureSharedEventDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/LoopbackCaptureSharedEventDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/LoopbackCaptureSharedEventDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the loopback (a.k.a. what you hear) capturing with share

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/LoopbackCaptureSharedEventDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module LoopbackCaptureSharedEventDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/LoopbackCaptureSharedEventDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/LoopbackCaptureSharedEventDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/LoopbackCaptureSharedTimerDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/LoopbackCaptureSharedTimerDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/LoopbackCaptureSharedTimerDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/LoopbackCaptureSharedTimerDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the loopback (a.k.a. what you hear) capturing with share

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/LoopbackCaptureSharedTimerDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module LoopbackCaptureSharedTimerDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/LoopbackCaptureSharedTimerDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/LoopbackCaptureSharedTimerDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveEventDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveEventDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveEventDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/RenderExclusiveEventDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the rendering audio with exclusive event driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/RenderExclusiveEventDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module RenderExclusiveEventDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/RenderExclusiveEventDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/RenderExclusiveEventDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveTimerDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveTimerDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/RenderExclusiveTimerDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/RenderExclusiveTimerDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the rendering audio with exclusive timer driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/RenderExclusiveTimerDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module RenderExclusiveTimerDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/RenderExclusiveTimerDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/RenderExclusiveTimerDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedEventDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedEventDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedEventDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/RenderSharedEventDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the rendering audio with shared event driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/RenderSharedEventDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module RenderSharedEventDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/RenderSharedEventDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/RenderSharedEventDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDriven/.envrc
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDriven/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDriven/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/RenderSharedTimerDriven/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This example shows that the rendering audio with shared timer driven mode.

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later

## Build

Expand Down
4 changes: 2 additions & 2 deletions _example/RenderSharedTimerDriven/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module RenderSharedTimerDriven

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
4 changes: 4 additions & 0 deletions _example/RenderSharedTimerDriven/go.sum
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba h1:OjLj0dIkgDrGzgLHh2dv2BGtpa8RwCqykn2ThFcOMLc=
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba/go.mod h1:y/Ls9PBADL6vJfbt4gZbNtUS2grnEGnFg4RMsCa5g/4=
github.com/moutend/go-wca v0.3.0 h1:IzhsQ44zBzMdT42xlBjiLSVya9cPYOoKx9E+yXVhFo8=
github.com/moutend/go-wca v0.3.0/go.mod h1:7VrPO512jnjFGJ6rr+zOoCfiYjOHRPNfbttJuxAurcw=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3 h1:7TYNF4UdlohbFwpNH04CoPMp1cHUZgO1Ebq5r2hIjfo=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Empty file modified _example/RenderSharedTimerDriven/main.go
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDrivenWithMinimumBuffer/.envrc
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDrivenWithMinimumBuffer/.gitignore
100644 → 100755
Empty file.
Empty file modified _example/RenderSharedTimerDrivenWithMinimumBuffer/LICENSE
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion _example/RenderSharedTimerDrivenWithMinimumBuffer/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FYI, `IAudioClient3` interface was introduced from Windows 10, which interface a

## Prerequisites

- Go 1.13 or later
- Go 1.17 or later
- Windows 10 v1607 or later

## Build
Expand Down
4 changes: 2 additions & 2 deletions _example/RenderSharedTimerDrivenWithMinimumBuffer/go.mod
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module RenderSharedTimerDrivenWithMinimumBuffer

go 1.13
go 1.17

require (
github.com/go-ole/go-ole v1.2.6
github.com/go-ole/go-ole v1.3.0
github.com/moutend/go-wav v0.0.0-20170820031854-56127fbbb7ba
github.com/moutend/go-wca v0.3.0
)
Loading