Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/go/src/golang.org/x/mobile/audio/al/const.go

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package al
6
7 // Error returns one of these error codes.
8 const (
9 InvalidName = 0xA001
10 InvalidEnum = 0xA002
11 InvalidValue = 0xA003
12 InvalidOperation = 0xA004
13 OutOfMemory = 0xA005
14 )
15
16 // Distance models.
17 const (
18 InverseDistance = 0xD001
19 InverseDistanceClamped = 0xD002
20 LinearDistance = 0xD003
21 LinearDistanceClamped = 0xD004
22 ExponentDistance = 0xD005
23 ExponentDistanceClamped = 0xD006
24 )
25
26 // Global parameters.
27 const (
28 paramDistanceModel = 0xD000
29 paramDopplerFactor = 0xC000
30 paramDopplerVelocity = 0xC001
31 paramSpeedOfSound = 0xC003
32 paramVendor = 0xB001
33 paramVersion = 0xB002
34 paramRenderer = 0xB003
35 paramExtensions = 0xB004
36 )
37
38 // Source and listener parameters.
39 const (
40 paramGain = 0x100A
41 paramPosition = 0x1004
42 paramVelocity = 0x1006
43 paramOrientation = 0x100F
44 paramMinGain = 0x100D
45 paramMaxGain = 0x100E
46 paramSourceState = 0x1010
47 paramBuffersQueued = 0x1015
48 paramBuffersProcessed = 0x1016
49 paramSecOffset = 0x1024
50 paramSampleOffset = 0x1025
51 paramByteOffset = 0x1026
52 )
53
54 // A source could be in the state of initial, playing, paused or stopped.
55 const (
56 Initial = 0x1011
57 Playing = 0x1012
58 Paused = 0x1013
59 Stopped = 0x1014
60 )
61
62 // Buffer parameters.
63 const (
64 paramFreq = 0x2001
65 paramBits = 0x2002
66 paramChannels = 0x2003
67 paramSize = 0x2004
68 )
69
70 // Audio formats. Buffer.BufferData accepts one of these formats as the data for mat.
71 const (
72 FormatMono8 = 0x1100
73 FormatMono16 = 0x1101
74 FormatStereo8 = 0x1102
75 FormatStereo16 = 0x1103
76 )
OLDNEW
« no previous file with comments | « third_party/go/src/golang.org/x/mobile/audio/al/al.go ('k') | third_party/go/src/golang.org/x/mobile/audio/alc/alc.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698