pull/3/head
craigerl 2022-05-18 07:44:13 -07:00
commit 59decfafbc
1347 zmienionych plików z 436738 dodań i 0 usunięć

BIN
.Xauthority 100644

Plik binarny nie jest wyświetlany.

18
.Xdefaults 100644
Wyświetl plik

@ -0,0 +1,18 @@
! Colors
!Mwm*background: LightBlue
!Mwm*foreground: Black
!Mwm*activeBackground: Blue
!Mwm*icon*foreground: DarkSlateBlue
! Fonts
Mwm*fontList: 8x13
Mwm*menu*fontList: 9x15
! Focus Policy
!Mwm*keyboardFocusPolicy: pointer
!Mwm*focusAutoRaise: true
! Icons
!Mwm*useIconBox: true
!Mwm*iconBoxGeometry: 2x4
!all of these are ignored:
wsjtx*geometry: 1024x768+0+0
fldigi*geometry: 800x600+0+0

19
.asoundrc 100644
Wyświetl plik

@ -0,0 +1,19 @@
# audio hat
#pcm.ARDOP {
# type rate
# slave {
# pcm "hw:0,0"
# rate 48000
# }
#}
# USB audio
pcm.ARDOP {
type rate
slave {
pcm "hw:1,0"
rate 48000
}
}

0
.bash_history 100644
Wyświetl plik

7
.bash_logout 100644
Wyświetl plik

@ -0,0 +1,7 @@
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

113
.bashrc 100644
Wyświetl plik

@ -0,0 +1,113 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi

Wyświetl plik

@ -0,0 +1,48 @@
scan on
scan
help
info
info hci0
pair
quit
discoverable yes\n scan on\n
discoverable yes; scan on
bluetoothctl
quit
trust
untrust 60:45:CB:20:F4:96
unpair 60:45:CB:20:F4:96
remove 60:45:CB:20:F4:96
quit
discoverable on
pairable on
default-agent
yes
quitt
quit
discoverable on
pairable on
agent on
default-agent
yes
trust
quit
discoverable on
pairable on
agent on
yes
trust
quit
scan on
pair P027
pair 66:F5:EC:78:F0:66
pair 60:45:CB:20:F4:96
trust
trust 60:45:CB:20:F4:96
list
devices
quit
scan on
pair 58:CB:52:3D:98:91
trust 58:CB:52:3D:98:91
quit

Wyświetl plik

@ -0,0 +1,4 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by fontconfig.
# For information about cache directory tags, see:
# http://www.brynosaurus.com/cachedir/

Wyświetl plik

@ -0,0 +1 @@
v1 04ccc52099db29d42c503d593ce426703ae04784b0ebe4ed9d05ee3407d2b92c e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619409486887947

Wyświetl plik

@ -0,0 +1 @@
v1 0732d42e3cfbe0fa79e7abf0f318b233358e3e2e8deffd4e0840e6879be3341b dd2300d39777fd106bd0e33c8f4bc561ecb1bfe9ed8af803cbc5410b6969fa41 364624 1642620351677622300

Wyświetl plik

@ -0,0 +1 @@
v1 0a15a4d7d47f264ec8037b7645595f23a732548f5ba2b08d561958a836e067b6 7339c47a865021dedf5e59b6e3407ee87e5bea20055bd1069c7f9dd97f4d8aad 283 1642619409218413276

Wyświetl plik

@ -0,0 +1,17 @@
./array.go
./config.go
./doc.go
./encoder.go
./error.go
./field.go
./flag.go
./global.go
./http_handler.go
./level.go
./logger.go
./options.go
./sink.go
./stacktrace.go
./sugar.go
./time.go
./writer.go

Wyświetl plik

@ -0,0 +1,3 @@
./color.go
./ssh.go
./termios.go

Wyświetl plik

@ -0,0 +1 @@
v1 144687ef88622d1d05b5864bee07680de5aad479c1debd4ee7fb6944faba0d2d 63d14964a6c8d4a239b9907d5f7f9bb09fdbc9c4a607b29bcd4952db06deeb2e 16 1642619409693244356

Wyświetl plik

@ -0,0 +1,18 @@
// Code generated by cmd/cgo; DO NOT EDIT.
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/error.go:1:1
package pulse
import "errors"
/*
#cgo pkg-config: libpulse-simple
#include <pulse/error.h>
*/
import _ "unsafe"
func errorFromCode(e /*line :12:22*/_Ctype_int /*line :12:27*/) error {
cstr := ( /*line :13:10*/_Cfunc_pa_strerror /*line :13:22*/)(e)
return errors.New(( /*line :14:20*/_Cfunc_GoString /*line :14:29*/)(cstr))
}

Wyświetl plik

@ -0,0 +1 @@
v1 210c3d0cffc5376a2edc968059c404711765866115136ca7a370b63f61ebd7a4 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619412691653000

Wyświetl plik

@ -0,0 +1 @@
v1 228b3275ff577e76c2d32b7aec3a4dea77deb53700db0d843e5b77347ec6a686 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619413404882955

Wyświetl plik

@ -0,0 +1 @@
v1 2356bf8cc5f2f65d68a1551bcd30479badc0c5550a0fc821142a6c85231df3f7 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642620351594042065

Wyświetl plik

@ -0,0 +1,170 @@
// Code generated by cmd/cgo; DO NOT EDIT.
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/simple.go:1:1
// pulse-simple wraps PulseAudio's Simple API using cgo,
// for easy audio playback and capture via PulseAudio.
//
// Basic usage is to request a playback or capture stream,
// then write bytes to or read bytes from it.
//
// Reading and writing will block until the given byte slice
// is completely consumed or filled, or an error occurs.
//
// The format of the data will be as requested on stream creation.
//
// ss := pulse.SampleSpec{pulse.SAMPLE_S16LE, 44100, 2}
// stream, _ := pulse.Playback("my app", "my stream", &ss)
// defer stream.Free()
// defer stream.Drain()
// stream.Write(data)
//
// More example usage can be found in the examples folder.
//
// For more information, see the PulseAudio Simple API documentation at
// http://www.freedesktop.org/software/pulseaudio/doxygen/simple.html
package pulse
/*
#cgo pkg-config: libpulse-simple
#include <stdlib.h>
#include <pulse/simple.h>
*/
import _ "unsafe"
import "unsafe"
type StreamDirection /*line :33:22*/_Ctype_pa_stream_direction_t /*line :33:45*/
const (
STREAM_NODIRECTION StreamDirection = ( /*line :36:39*/_Ciconst_PA_STREAM_NODIRECTION /*line :36:61*/)
STREAM_PLAYBACK StreamDirection = ( /*line :37:39*/_Ciconst_PA_STREAM_PLAYBACK /*line :37:58*/)
STREAM_RECORD StreamDirection = ( /*line :38:39*/_Ciconst_PA_STREAM_RECORD /*line :38:56*/)
STREAM_UPLOAD StreamDirection = ( /*line :39:39*/_Ciconst_PA_STREAM_UPLOAD /*line :39:56*/)
)
type Stream struct {
simple * /*line :43:10*/_Ctype_pa_simple /*line :43:21*/
}
// Capture creates a new stream for recording and returns its pointer.
func Capture(clientName, streamName string, spec *SampleSpec) (*Stream, error) {
return NewStream("", clientName, STREAM_RECORD, "", streamName, spec, nil, nil)
}
// Playback creates a new stream for playback and returns its pointer.
func Playback(clientName, streamName string, spec *SampleSpec) (*Stream, error) {
return NewStream("", clientName, STREAM_PLAYBACK, "", streamName, spec, nil, nil)
}
func NewStream(
serverName, clientName string,
dir StreamDirection,
deviceName, streamName string,
spec *SampleSpec,
cmap *ChannelMap,
battr *BufferAttr,
) (*Stream, error) {
s := new(Stream)
var server * /*line :67:14*/_Ctype_char /*line :67:20*/
if serverName != "" {
server = ( /*line :69:12*/_Cfunc_CString /*line :69:20*/)(serverName)
defer func() func() { _cgo0 := /*line :70:16*/unsafe.Pointer(server); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
}
var dev * /*line :73:11*/_Ctype_char /*line :73:17*/
if deviceName != "" {
dev = ( /*line :75:9*/_Cfunc_CString /*line :75:17*/)(deviceName)
defer func() func() { _cgo0 := /*line :76:16*/unsafe.Pointer(dev); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
}
name := ( /*line :79:10*/_Cfunc_CString /*line :79:18*/)(clientName)
defer func() func() { _cgo0 := /*line :80:15*/unsafe.Pointer(name); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
stream_name := ( /*line :81:17*/_Cfunc_CString /*line :81:25*/)(streamName)
defer func() func() { _cgo0 := /*line :82:15*/unsafe.Pointer(stream_name); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
var err /*line :84:10*/_Ctype_int /*line :84:15*/
s.simple = ( /*line :86:13*/_Cfunc_pa_simple_new /*line :86:27*/)(
server,
name,
/*line :89:3*/_Ctype_pa_stream_direction_t /*line :89:26*/(dir),
dev,
stream_name,
spec.toC(),
cmap.toC(),
battr.toC(),
&err,
)
if err == ( /*line :98:12*/_Ciconst_PA_OK /*line :98:18*/) {
return s, nil
}
return s, errorFromCode(err)
}
// Stream.Free closes the stream and frees the associated memory.
// The stream becomes invalid after this has been called.
// This should usually be deferred immediately after obtaining a stream.
func (s *Stream) Free() {
func() { _cgo0 := /*line :108:19*/s.simple; _cgoCheckPointer(_cgo0, nil); _Cfunc_pa_simple_free(_cgo0); }()
}
// Stream.Drain blocks until all buffered data has finished playing.
func (s *Stream) Drain() (error) {
var err /*line :113:10*/_Ctype_int /*line :113:15*/
_ = func() _Ctype_int{ _cgo0 := /*line :114:24*/s.simple; var _cgo1 *_Ctype_int = /*line :114:34*/&err; _cgoCheckPointer(_cgo0, nil); return _Cfunc_pa_simple_drain(_cgo0, _cgo1); }()
if err == ( /*line :115:12*/_Ciconst_PA_OK /*line :115:18*/) {
return nil
}
return errorFromCode(err)
}
// Stream.Flush flushes the playback buffer, discarding any audio therein
func (s *Stream) Flush() (error) {
var err /*line :123:10*/_Ctype_int /*line :123:15*/
_ = func() _Ctype_int{ _cgo0 := /*line :124:24*/s.simple; var _cgo1 *_Ctype_int = /*line :124:34*/&err; _cgoCheckPointer(_cgo0, nil); return _Cfunc_pa_simple_flush(_cgo0, _cgo1); }()
if err == ( /*line :125:12*/_Ciconst_PA_OK /*line :125:18*/) {
return nil
}
return errorFromCode(err)
}
// Stream.Write writes the given data to the stream,
// blocking until the data has been written.
func (s *Stream) Write(data []byte) (int, error) {
var err /*line :134:10*/_Ctype_int /*line :134:15*/
_ = func() _Ctype_int{ _cgo0 := /*line :136:3*/s.simple; _cgoIndex1 := &/*line :137:19*/data; _cgo1 := /*line :137:3*/unsafe.Pointer(&(*_cgoIndex1)[0]); var _cgo2 _Ctype_size_t = _Ctype_size_t(len(data)); var _cgo3 *_Ctype_int = /*line :139:3*/&err; _cgoCheckPointer(_cgo0, nil); _cgoCheckPointer(_cgo1, *_cgoIndex1); return _Cfunc_pa_simple_write(_cgo0, _cgo1, _cgo2, _cgo3); }()
// pulse simple does not return the number of bytes written,
// so we must assume that all is written on success,
// and nothing is written on failure.
if err == ( /*line :144:12*/_Ciconst_PA_OK /*line :144:18*/) {
return len(data), nil
}
return 0, errorFromCode(err)
}
// Stream.Read reads data from the stream,
// blocking until it has filled the provided slice.
func (s *Stream) Read(data []byte) (int, error) {
var err /*line :153:10*/_Ctype_int /*line :153:15*/
_ = func() _Ctype_int{ _cgo0 := /*line :155:3*/s.simple; _cgoIndex1 := &/*line :156:19*/data; _cgo1 := /*line :156:3*/unsafe.Pointer(&(*_cgoIndex1)[0]); var _cgo2 _Ctype_size_t = _Ctype_size_t(len(data)); var _cgo3 *_Ctype_int = /*line :158:3*/&err; _cgoCheckPointer(_cgo0, nil); _cgoCheckPointer(_cgo1, *_cgoIndex1); return _Cfunc_pa_simple_read(_cgo0, _cgo1, _cgo2, _cgo3); }()
// pulse simple does not return the number of bytes read,
// so we must assume that all is read on success,
// and nothing is read on failure.
if err == ( /*line :163:12*/_Ciconst_PA_OK /*line :163:18*/) {
return len(data), nil
}
return 0, errorFromCode(err)
}
// Stream.Latency returns the playback latency in microseconds.
func (s *Stream) Latency() (uint64, error) {
var err /*line :171:10*/_Ctype_int /*line :171:15*/
lat := func() _Ctype_pa_usec_t{ _cgo0 := /*line :172:33*/s.simple; var _cgo1 *_Ctype_int = /*line :172:43*/&err; _cgoCheckPointer(_cgo0, nil); return _Cfunc_pa_simple_get_latency(_cgo0, _cgo1); }()
if err == ( /*line :173:12*/_Ciconst_PA_OK /*line :173:18*/) {
return uint64(lat), nil
}
return uint64(lat), errorFromCode(err)
}

Wyświetl plik

@ -0,0 +1 @@
v1 27628ed610fd0d2f6e0a87f9928a768c583b7c5ca73a0e590ef563928bf3c908 2edb02b02a7c5f4439601e129c288d6bd4c130d763da75a2afb33b610a3e5ed5 34 1642619408488004979

Wyświetl plik

@ -0,0 +1,3 @@
./common.go
./sink.go
./source.go

Wyświetl plik

@ -0,0 +1 @@
v1 2f3b8086c49724f35a60d31f6150e962557368a062d6a2f75da97d9cf9dba12f d3387eb6a9c51198286c9bb8c07df8d18fe83afd944cdec51f1385c0ef07037a 22 1642619408358000172

Wyświetl plik

@ -0,0 +1 @@
v1 3157e26a05f82898373aa776a30469122d203ae1f9619b42a6b9894ab47bd6a5 b50cec4961006ee16583ff8177381bec1a2a42ee74aae72ee775c5ee7d9e6dd2 66680 1642619410255663972

Wyświetl plik

@ -0,0 +1 @@
v1 31ffdb838316c4ad2e2fbb7df798efc6095903926653cbcc0062b2302610a96b 5dc694a030af4ea4a754f26ed9aa7bc3b73b52c39f85682cb86a3e03e2abb65e 9937 1642620351277252610

Wyświetl plik

@ -0,0 +1 @@
v1 36d015787e06dc3cab2764ad80356925e7c89678f8e331c086551db462be8849 4777aa675f253aed3f42dc05c9f90d66618886eaf98ceb8d1ec5390b2f35d49a 236 1642619408831957398

Wyświetl plik

@ -0,0 +1 @@
v1 388167d3ab90d7162c562d592ae57143cc12eba4ad12739182ea9e6bb2492c2f a083545655dc172d23c3286e1c96396616b037887cbcb05d63ef259beab6686b 329 1642620351701475931

Wyświetl plik

@ -0,0 +1,7 @@
_cgo_gotypes.go
bufferattr.cgo1.go
channelmap.cgo1.go
error.cgo1.go
sample.cgo1.go
simple.cgo1.go
_cgo_import.go

Wyświetl plik

@ -0,0 +1,40 @@
./affinity_linux.go
./aliases.go
./bluetooth_linux.go
./constants.go
./dev_linux.go
./dirent.go
./endian_little.go
./env_unix.go
./fcntl.go
./fcntl_linux_32bit.go
./fdset.go
./ifreq_linux.go
./ioctl.go
./ioctl_linux.go
./pagesize_unix.go
./race0.go
./readdirent_getdents.go
./sockcmsg_linux.go
./sockcmsg_unix.go
./sockcmsg_unix_other.go
./str.go
./syscall.go
./syscall_linux.go
./syscall_linux_arm.go
./syscall_linux_gc.go
./syscall_linux_gc_arm.go
./syscall_unix.go
./syscall_unix_gc.go
./sysvshm_linux.go
./sysvshm_unix.go
./timestruct.go
./zerrors_linux.go
./zerrors_linux_arm.go
./zptrace_armnn_linux.go
./zsyscall_linux.go
./zsyscall_linux_arm.go
./zsysnum_linux_arm.go
./ztypes_linux.go
./ztypes_linux_arm.go
./asm_linux_arm.s

Wyświetl plik

@ -0,0 +1 @@
v1 3f5531e7e0962c157d716d4cd97e44f662fa8f41232c1336569ff22969696725 438f8c8f272341e5d276cb57659f6bc4fd26b8cd22584fefd856aa15d56a6416 11 1642619409814502701

Wyświetl plik

@ -0,0 +1 @@
v1 4077d476412f6850703de8e35d8442689accf0df2fe44377fdfb7403f70e9c47 84baa71583a0d5914bde3148b8d7ac0b5a35809726f245fd2cf4636f41bd0c92 3070 1642619408069139501

Wyświetl plik

@ -0,0 +1 @@
v1 410fd25c4cdd6a0fd134d8f3294728c1edd51a99f5d8b124350e3fa1b7fad405 855a873f81801830fc7b43dc70868cec849e064d4b033dd9d07d2f7a4042ced1 298760 1642619409691405345

Wyświetl plik

@ -0,0 +1 @@
v1 42b394d5cc9d42252d19702517340e974488d330834293ce78c881c8040662df e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619409080531121

Wyświetl plik

@ -0,0 +1,21 @@
./bool.go
./counter.go
./duration.go
./enum.go
./error.go
./getopt.go
./int.go
./int16.go
./int32.go
./int64.go
./list.go
./option.go
./set.go
./signed.go
./string.go
./uint.go
./uint16.go
./uint32.go
./uint64.go
./unsigned.go
./var.go

Wyświetl plik

@ -0,0 +1 @@
v1 5954e4488dbc440ad630543a87b3be2f3e5dab1726d32d6faeb667ce62f875c9 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619414380615650

Wyświetl plik

@ -0,0 +1 @@
v1 5b1385698185cdc4581d3ec4687fe21a4b2dc14ff16790572359ecb251ce95fe 79f5f34cbffc4b1182f3f0220c65a41bc2f1ae2f8cea2f854a6c6d3bae03e703 29246 1642619413584320704

Wyświetl plik

@ -0,0 +1,210 @@
// Code generated by cmd/cgo; DO NOT EDIT.
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/sample.go:1:1
package pulse
/*
#cgo pkg-config: libpulse-simple
#include <stdlib.h>
#include <pulse/sample.h>
*/
import _ "unsafe"
import "unsafe"
import "strings"
const (
CHANNELS_MAX = ( /*line :14:17*/_Ciconst_PA_CHANNELS_MAX /*line :14:33*/) // Maximum number of allowed channels
RATE_MAX = ( /*line :15:17*/_Ciconst_PA_RATE_MAX /*line :15:29*/) // Maximum allowed sample rate
)
type SampleFormat /*line :18:19*/_Ctype_pa_sample_format_t /*line :18:39*/
const (
SAMPLE_U8 SampleFormat = ( /*line :21:34*/_Ciconst_PA_SAMPLE_U8 /*line :21:47*/)
SAMPLE_ALAW SampleFormat = ( /*line :22:34*/_Ciconst_PA_SAMPLE_ALAW /*line :22:49*/)
SAMPLE_ULAW SampleFormat = ( /*line :23:34*/_Ciconst_PA_SAMPLE_ULAW /*line :23:49*/)
SAMPLE_S16LE SampleFormat = ( /*line :24:34*/_Ciconst_PA_SAMPLE_S16LE /*line :24:50*/)
SAMPLE_S16BE SampleFormat = ( /*line :25:34*/_Ciconst_PA_SAMPLE_S16BE /*line :25:50*/)
SAMPLE_FLOAT32LE SampleFormat = ( /*line :26:34*/_Ciconst_PA_SAMPLE_FLOAT32LE /*line :26:54*/)
SAMPLE_FLOAT32BE SampleFormat = ( /*line :27:34*/_Ciconst_PA_SAMPLE_FLOAT32BE /*line :27:54*/)
SAMPLE_S32LE SampleFormat = ( /*line :28:34*/_Ciconst_PA_SAMPLE_S32LE /*line :28:50*/)
SAMPLE_S32BE SampleFormat = ( /*line :29:34*/_Ciconst_PA_SAMPLE_S32BE /*line :29:50*/)
SAMPLE_S24LE SampleFormat = ( /*line :30:34*/_Ciconst_PA_SAMPLE_S24LE /*line :30:50*/)
SAMPLE_S24BE SampleFormat = ( /*line :31:34*/_Ciconst_PA_SAMPLE_S24BE /*line :31:50*/)
SAMPLE_S24_32LE SampleFormat = ( /*line :32:34*/_Ciconst_PA_SAMPLE_S24_32LE /*line :32:53*/)
SAMPLE_S24_32BE SampleFormat = ( /*line :33:34*/_Ciconst_PA_SAMPLE_S24_32BE /*line :33:53*/)
SAMPLE_MAX SampleFormat = ( /*line :34:34*/_Ciconst_PA_SAMPLE_MAX /*line :34:48*/)
SAMPLE_INVALID SampleFormat = ( /*line :35:34*/_Ciconst_PA_SAMPLE_INVALID /*line :35:52*/)
)
const (
SAMPLE_S16NE SampleFormat = ( /*line :39:34*/_Ciconst_PA_SAMPLE_S16NE /*line :39:50*/)
SAMPLE_FLOAT32NE SampleFormat = ( /*line :40:34*/_Ciconst_PA_SAMPLE_FLOAT32NE /*line :40:54*/)
SAMPLE_S32NE SampleFormat = ( /*line :41:34*/_Ciconst_PA_SAMPLE_S32NE /*line :41:50*/)
SAMPLE_S24NE SampleFormat = ( /*line :42:34*/_Ciconst_PA_SAMPLE_S24NE /*line :42:50*/)
SAMPLE_S24_32NE SampleFormat = ( /*line :43:34*/_Ciconst_PA_SAMPLE_S24_32NE /*line :43:53*/)
SAMPLE_S16RE SampleFormat = ( /*line :44:34*/_Ciconst_PA_SAMPLE_S16RE /*line :44:50*/)
SAMPLE_FLOAT32RE SampleFormat = ( /*line :45:34*/_Ciconst_PA_SAMPLE_FLOAT32RE /*line :45:54*/)
SAMPLE_S32RE SampleFormat = ( /*line :46:34*/_Ciconst_PA_SAMPLE_S32RE /*line :46:50*/)
SAMPLE_S24RE SampleFormat = ( /*line :47:34*/_Ciconst_PA_SAMPLE_S24RE /*line :47:50*/)
SAMPLE_S24_32RE SampleFormat = ( /*line :48:34*/_Ciconst_PA_SAMPLE_S24_32RE /*line :48:53*/)
)
const SAMPLE_FLOAT32 SampleFormat = ( /*line :51:37*/_Ciconst_PA_SAMPLE_FLOAT32 /*line :51:55*/)
type SampleSpec struct {
Format SampleFormat
Rate uint32
Channels uint8
}
func (spec *SampleSpec) toC() * /*line :59:32*/_Ctype_pa_sample_spec /*line :59:48*/ {
if spec == nil {
return nil
}
return & /*line :63:10*/_Ctype_pa_sample_spec /*line :63:26*/{
format: /*line :64:13*/_Ctype_pa_sample_format_t /*line :64:33*/(spec.Format),
rate: /*line :65:13*/_Ctype_uint32_t /*line :65:23*/(spec.Rate),
channels: /*line :66:13*/_Ctype_uint8_t /*line :66:22*/(spec.Channels),
}
}
func (spec *SampleSpec) fromC(cspec * /*line :70:38*/_Ctype_pa_sample_spec /*line :70:54*/) {
spec.Format = SampleFormat(cspec.format)
spec.Rate = uint32(cspec.rate)
spec.Channels = uint8(cspec.channels)
}
// SampleSpec.BytesPerSecond returns the number of bytes per second of audio.
func (spec *SampleSpec) BytesPerSecond() uint {
return uint(( /*line :78:14*/_Cfunc_pa_bytes_per_second /*line :78:34*/)(spec.toC()))
}
// SampleSpec.FrameSize returns the size of a single audio frame in bytes.
func (spec *SampleSpec) FrameSize() uint {
return uint(( /*line :83:14*/_Cfunc_pa_frame_size /*line :83:28*/)(spec.toC()))
}
// SampleSpec.SampleSize returns the size of a single sample in bytes.
func (spec *SampleSpec) SampleSize() uint {
return uint(( /*line :88:14*/_Cfunc_pa_sample_size /*line :88:29*/)(spec.toC()))
}
// SampleFormat.SampleSize returns the size of a single sample in bytes.
func (f SampleFormat) SampleSize() uint {
return uint(( /*line :93:14*/_Cfunc_pa_sample_size_of_format /*line :93:39*/)( /*line :93:41*/_Ctype_pa_sample_format_t /*line :93:61*/(f)))
}
// SampleSpec.BytesToUsec returns the number of microseconds taken
// to play the given number of bytes as audio.
//
// The return value will always be rounded down for non-integral values.
func (spec *SampleSpec) BytesToUsec(bytes uint) uint64 {
return uint64(( /*line :101:16*/_Cfunc_pa_bytes_to_usec /*line :101:33*/)( /*line :101:35*/_Ctype_uint64_t /*line :101:45*/(bytes), spec.toC()))
}
// SampleSpec.UsecToBytes returns the number of bytes required
// for the given number of microseconds of audio.
//
// The return value will always be rounded down for non-integral values.
func (spec *SampleSpec) UsecToBytes(usec uint64) uint {
return uint(( /*line :109:14*/_Cfunc_pa_usec_to_bytes /*line :109:31*/)( /*line :109:33*/_Ctype_pa_usec_t /*line :109:44*/(usec), spec.toC()))
}
// SampleSpec.Init initializes the SampleSpec to a defined state,
// for which SampleSpec.Valid() will return false.
//
// Calling Init() on a SampleSpec is not necessary,
// but this method is included for compatibility.
func (spec *SampleSpec) Init() {
spec.fromC(( /*line :118:13*/_Cfunc_pa_sample_spec_init /*line :118:33*/)(spec.toC()))
}
// SampleSpec.Valid returns whether or not the given sample spec is valid.
func (spec *SampleSpec) Valid() bool {
if ( /*line :123:5*/_Cfunc_pa_sample_spec_valid /*line :123:26*/)(spec.toC()) == 0 {
return false
}
return true
}
// SampleSpec.Equal returns whether or not the given sample specs match.
func (spec *SampleSpec) Equal(other *SampleSpec) bool {
if ( /*line :131:5*/_Cfunc_pa_sample_spec_equal /*line :131:26*/)(spec.toC(), other.toC()) == 0 {
return false
}
return true
}
// SampleFormat.String returns a string describing the format.
func (f SampleFormat) String() string {
cstr := ( /*line :139:10*/_Cfunc_pa_sample_format_to_string /*line :139:37*/)( /*line :139:39*/_Ctype_pa_sample_format_t /*line :139:59*/(f))
return ( /*line :140:9*/_Cfunc_GoString /*line :140:18*/)(cstr)
}
// ParseSampleFormat returns the SampleFormat described by the given string.
//
// The string should be as returned by SampleFormat.String().
func ParseSampleFormat(s string) SampleFormat {
cstr := ( /*line :147:10*/_Cfunc_CString /*line :147:18*/)(s)
defer func() func() { _cgo0 := /*line :148:15*/unsafe.Pointer(cstr); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
return SampleFormat(( /*line :149:22*/_Cfunc_pa_parse_sample_format /*line :149:45*/)(cstr))
}
// SampleSpec.String returns a human-readable string describing the spec.
func (spec *SampleSpec) String() string {
s := strings.Repeat(" ", int(( /*line :154:31*/_Ciconst_PA_SAMPLE_SPEC_SNPRINT_MAX /*line :154:58*/)))
cstr := ( /*line :155:10*/_Cfunc_CString /*line :155:18*/)(s)
defer func() func() { _cgo0 := /*line :156:15*/unsafe.Pointer(cstr); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
( /*line :157:2*/_Cfunc_pa_sample_spec_snprint /*line :157:25*/)(cstr, /*line :157:33*/_Ctype_size_t /*line :157:41*/(( /*line :157:42*/_Ciconst_PA_SAMPLE_SPEC_SNPRINT_MAX /*line :157:69*/)), spec.toC())
return ( /*line :158:9*/_Cfunc_GoString /*line :158:18*/)(cstr)
}
/* ** NOT WRAPPED: pa_bytes_snprint **
// Maximum required string length for pa_bytes_snprint(). Please note
// that this value can change with any release without warning and
// without being considered API or ABI breakage. You should not use
// this definition anywhere where it might become part of an
// ABI. \since 0.9.16
#define PA_BYTES_SNPRINT_MAX 11
// Pretty print a byte size value (i.e.\ "2.5 MiB")
char* pa_bytes_snprint(char *s, size_t l, unsigned v);
*/
// SampleFormat.IsLe returns 1 when the format is little endian.
//
// Returns -1 when endianness does not apply to this format.
func (f SampleFormat) IsLe() int {
return int(( /*line :177:13*/_Cfunc_pa_sample_format_is_le /*line :177:36*/)( /*line :177:38*/_Ctype_pa_sample_format_t /*line :177:58*/(f)))
}
// SampleFormat.IsBe returns 1 when the format is big endian.
//
// Returns -1 when endianness does not apply to this format.
func (f SampleFormat) IsBe() int {
return int(( /*line :184:13*/_Cfunc_pa_sample_format_is_be /*line :184:36*/)( /*line :184:38*/_Ctype_pa_sample_format_t /*line :184:58*/(f)))
}
// SampleFormat.IsNe returns 1 when the format is native endian.
//
// Returns -1 when endianness does not apply to this format.
func (f SampleFormat) IsNe() int {
// note: C.pa_sample_format_is_ne() doesn't seem to work
if SAMPLE_S16NE == SAMPLE_S16LE {
return int(( /*line :193:14*/_Cfunc_pa_sample_format_is_le /*line :193:37*/)( /*line :193:39*/_Ctype_pa_sample_format_t /*line :193:59*/(f)))
}
return int(( /*line :195:13*/_Cfunc_pa_sample_format_is_be /*line :195:36*/)( /*line :195:38*/_Ctype_pa_sample_format_t /*line :195:58*/(f)))
}
// SampleFormat.IsRe returns 1 when the format is reverse endian.
//
// Returns -1 when endianness does not apply to this format.
func (f SampleFormat) IsRe() int {
// note: C.pa_sample_format_is_re() doesn't seem to work
if SAMPLE_S16NE == SAMPLE_S16LE {
return int(( /*line :204:14*/_Cfunc_pa_sample_format_is_be /*line :204:37*/)( /*line :204:39*/_Ctype_pa_sample_format_t /*line :204:59*/(f)))
}
return int(( /*line :206:13*/_Cfunc_pa_sample_format_is_le /*line :206:36*/)( /*line :206:38*/_Ctype_pa_sample_format_t /*line :206:58*/(f)))
}

Wyświetl plik

@ -0,0 +1 @@
v1 7052a5523ded59bbf49feb30d21b44cd2021cdaedf028b37933b5a4fe285b296 e806cc0126706fdfcb6baf38359fae036f038ea69288dc826c6d830b3c4cb9de 4570 1642619413407688164

Wyświetl plik

@ -0,0 +1,22 @@
./bool.go
./bool_ext.go
./doc.go
./duration.go
./duration_ext.go
./error.go
./error_ext.go
./float64.go
./float64_ext.go
./gen.go
./int32.go
./int64.go
./nocmp.go
./string.go
./string_ext.go
./time.go
./time_ext.go
./uint32.go
./uint64.go
./uintptr.go
./unsafe_pointer.go
./value.go

Wyświetl plik

@ -0,0 +1 @@
v1 74752d6e88528fa0cd93cc7c622bf5becd18e0744b74f7ce7a49c951bd805191 2fcadadb0dc603c201d5874dc33df1df46f57bf9a0877e2764b2559ae75da6e3 709656 1642619410653463710

Wyświetl plik

@ -0,0 +1 @@
v1 77d7bfe036877451f796645515d61c2fb091a9a338a40bd3096dc9f100d0764e 916b03d9e2d858c08066a16d0709e4599c3045d65ab1a5db4de55c64e970a840 893720 1642619414583181693

Wyświetl plik

@ -0,0 +1 @@
v1 7c8545d1c6a6397a3a089a87b7fe0cc5b2b41dd28595c3cca9de078812412398 25888dddc1b72f60b69be8deb709f967df73fec16932bae150e47f50ce2e00ca 7196 1642620351278954175

Wyświetl plik

@ -0,0 +1 @@
v1 8804b48ac46900b40e1cb69a9de58cbfc4a448e8c7bc0fa024f4e1d1e0b294e8 e66dbb02e0733750015929b15f88c67b39bba7bfbe342677dc2f9b32ada8117e 300 1642619410278573880

Wyświetl plik

@ -0,0 +1 @@
v1 88e854affe66c858bd9a502e614c5f235261b1b7e22a3181cd5fbbfe6056fd95 a52ee28a86fda889c59cd355222073845befbc3dfc0025e65039f2b8e33e302b 16747 1642620351274309272

Wyświetl plik

@ -0,0 +1 @@
v1 8eb05e5f881cb654de98bea56bf7ca6753288f28411da2b44d574f17fef92a9b e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619413575829502

Wyświetl plik

@ -0,0 +1,47 @@
// Code generated by cmd/cgo; DO NOT EDIT.
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/bufferattr.go:1:1
package pulse
/*
#cgo pkg-config: libpulse-simple
#include <stdlib.h>
#include <pulse/simple.h>
*/
import _ "unsafe"
// BufferAttr holds information about desired data transfer buffer sizes.
// All values are recommended to be initialized to (uint32) - 1,
// which will choose default values depending on the server.
type BufferAttr struct {
Maxlength uint32 // Playback and Capture, maximum buffer size in bytes
Tlength uint32 // Playback-only, target buffer size in bytes
Prebuf uint32 // Playback-only, pre-bufferring in bytes
Minreq uint32 // Plyback-only, minimum server-client request size in bytes
Fragsize uint32 // Capture-only, fragment size in bytes
}
// NewBufferAttr initializes a BufferAttr with values indicating default.
func NewBufferAttr() *BufferAttr {
return &BufferAttr{
Maxlength: ^uint32(0),
Tlength: ^uint32(0),
Prebuf: ^uint32(0),
Minreq: ^uint32(0),
Fragsize: ^uint32(0),
}
}
func (b *BufferAttr) toC() * /*line :33:29*/_Ctype_pa_buffer_attr /*line :33:45*/ {
if b == nil {
return nil
}
return & /*line :37:10*/_Ctype_pa_buffer_attr /*line :37:26*/{
maxlength: /*line :38:14*/_Ctype_uint32_t /*line :38:24*/(b.Maxlength),
tlength: /*line :39:14*/_Ctype_uint32_t /*line :39:24*/(b.Tlength),
prebuf: /*line :40:14*/_Ctype_uint32_t /*line :40:24*/(b.Prebuf),
minreq: /*line :41:14*/_Ctype_uint32_t /*line :41:24*/(b.Minreq),
fragsize: /*line :42:14*/_Ctype_uint32_t /*line :42:24*/(b.Fragsize),
}
}

Wyświetl plik

@ -0,0 +1 @@
v1 9f82f328854f22ff31368f402165f4455f20ed8be81784888c6fec69258f3ae3 efa70a6697ab5d6cb72946f29bc446331f261f4132fed308d3939e158673eda0 2308590 1642619413242153807

Wyświetl plik

@ -0,0 +1,3 @@
This directory holds cached build artifacts from the Go build system.
Run "go clean -cache" if the directory is getting too large.
See golang.org to learn more about Go.

Wyświetl plik

@ -0,0 +1,23 @@
./args.go
./audio-linux.go
./audiostream.go
./civcontrol.go
./cmdrunner.go
./controlstream.go
./hotkeys.go
./keyboard-linux.go
./log.go
./main.go
./netstat.go
./passcode.go
./pkt0.go
./pkt7.go
./rigctld.go
./seqbuf.go
./serial-linux.go
./serialstream.go
./serialtcpsrv.go
./statuslog.go
./streamcommon.go
./txseqbuf.go
./util.go

Wyświetl plik

@ -0,0 +1 @@
v1 a0bd235a169802ba076acfaea245b462f3d3a928a57610092172f25f509ffc13 a31176b7b83b2c6136d2be4f0b7ba7da511bacfc48f79d9191a9c271f514fbec 1167538 1642620353773501682

Wyświetl plik

@ -0,0 +1 @@
v1 a262e909132989943e33abf2a35f77cca1c1d3fc18156b339f9e8a1c73d7d837 3bfb9e9bcd595e0d0a23658f6b634fd473704a6935bbb569ce93b0b9334716ab 113 1642620351280934543

Wyświetl plik

@ -0,0 +1 @@
v1 a3d24e8c296ccd808dff6945d657fb56e0dabb202f881a1ee342e84707841bc5 9d7ff26526ba9958e8a83ba8e3c0d3dec8222d3f9f0ff6eaf5fd69a8f220eccc 11616 1642619409915279055

Wyświetl plik

@ -0,0 +1,303 @@
// Code generated by cmd/cgo; DO NOT EDIT.
//line /home/pi/go/src/github.com/mesilliac/pulse-simple/channelmap.go:1:1
package pulse
import (
"errors"
"fmt"
"strings"
"unsafe"
)
/*
#cgo pkg-config: libpulse-simple
#include <stdlib.h>
#include <pulse/channelmap.h>
*/
import _ "unsafe"
type ChannelPosition /*line :18:22*/_Ctype_pa_channel_position_t /*line :18:45*/
const (
CHANNEL_POSITION_INVALID ChannelPosition = ( /*line :21:45*/_Ciconst_PA_CHANNEL_POSITION_INVALID /*line :21:73*/)
CHANNEL_POSITION_MONO ChannelPosition = ( /*line :22:45*/_Ciconst_PA_CHANNEL_POSITION_MONO /*line :22:70*/)
CHANNEL_POSITION_FRONT_LEFT ChannelPosition = ( /*line :24:50*/_Ciconst_PA_CHANNEL_POSITION_FRONT_LEFT /*line :24:81*/)
CHANNEL_POSITION_FRONT_RIGHT ChannelPosition = ( /*line :25:50*/_Ciconst_PA_CHANNEL_POSITION_FRONT_RIGHT /*line :25:82*/)
CHANNEL_POSITION_FRONT_CENTER ChannelPosition = ( /*line :26:50*/_Ciconst_PA_CHANNEL_POSITION_FRONT_CENTER /*line :26:83*/)
CHANNEL_POSITION_LEFT ChannelPosition = ( /*line :28:44*/_Ciconst_PA_CHANNEL_POSITION_LEFT /*line :28:69*/)
CHANNEL_POSITION_RIGHT ChannelPosition = ( /*line :29:44*/_Ciconst_PA_CHANNEL_POSITION_RIGHT /*line :29:70*/)
CHANNEL_POSITION_CENTER ChannelPosition = ( /*line :30:44*/_Ciconst_PA_CHANNEL_POSITION_CENTER /*line :30:71*/)
CHANNEL_POSITION_REAR_CENTER ChannelPosition = ( /*line :32:49*/_Ciconst_PA_CHANNEL_POSITION_REAR_CENTER /*line :32:81*/)
CHANNEL_POSITION_REAR_LEFT ChannelPosition = ( /*line :33:49*/_Ciconst_PA_CHANNEL_POSITION_REAR_LEFT /*line :33:79*/)
CHANNEL_POSITION_REAR_RIGHT ChannelPosition = ( /*line :34:49*/_Ciconst_PA_CHANNEL_POSITION_REAR_RIGHT /*line :34:80*/)
CHANNEL_POSITION_LFE ChannelPosition = ( /*line :36:47*/_Ciconst_PA_CHANNEL_POSITION_LFE /*line :36:71*/)
CHANNEL_POSITION_SUBWOOFER ChannelPosition = ( /*line :37:47*/_Ciconst_PA_CHANNEL_POSITION_SUBWOOFER /*line :37:77*/)
CHANNEL_POSITION_FRONT_LEFT_OF_CENTER ChannelPosition = ( /*line :39:59*/_Ciconst_PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER /*line :39:100*/)
CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER ChannelPosition = ( /*line :40:59*/_Ciconst_PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER /*line :40:101*/)
CHANNEL_POSITION_SIDE_LEFT ChannelPosition = ( /*line :42:48*/_Ciconst_PA_CHANNEL_POSITION_SIDE_LEFT /*line :42:78*/)
CHANNEL_POSITION_SIDE_RIGHT ChannelPosition = ( /*line :43:48*/_Ciconst_PA_CHANNEL_POSITION_SIDE_RIGHT /*line :43:79*/)
CHANNEL_POSITION_AUX0 ChannelPosition = ( /*line :45:43*/_Ciconst_PA_CHANNEL_POSITION_AUX0 /*line :45:68*/)
CHANNEL_POSITION_AUX1 ChannelPosition = ( /*line :46:43*/_Ciconst_PA_CHANNEL_POSITION_AUX1 /*line :46:68*/)
CHANNEL_POSITION_AUX2 ChannelPosition = ( /*line :47:43*/_Ciconst_PA_CHANNEL_POSITION_AUX2 /*line :47:68*/)
CHANNEL_POSITION_AUX3 ChannelPosition = ( /*line :48:43*/_Ciconst_PA_CHANNEL_POSITION_AUX3 /*line :48:68*/)
CHANNEL_POSITION_AUX4 ChannelPosition = ( /*line :49:43*/_Ciconst_PA_CHANNEL_POSITION_AUX4 /*line :49:68*/)
CHANNEL_POSITION_AUX5 ChannelPosition = ( /*line :50:43*/_Ciconst_PA_CHANNEL_POSITION_AUX5 /*line :50:68*/)
CHANNEL_POSITION_AUX6 ChannelPosition = ( /*line :51:43*/_Ciconst_PA_CHANNEL_POSITION_AUX6 /*line :51:68*/)
CHANNEL_POSITION_AUX7 ChannelPosition = ( /*line :52:43*/_Ciconst_PA_CHANNEL_POSITION_AUX7 /*line :52:68*/)
CHANNEL_POSITION_AUX8 ChannelPosition = ( /*line :53:43*/_Ciconst_PA_CHANNEL_POSITION_AUX8 /*line :53:68*/)
CHANNEL_POSITION_AUX9 ChannelPosition = ( /*line :54:43*/_Ciconst_PA_CHANNEL_POSITION_AUX9 /*line :54:68*/)
CHANNEL_POSITION_AUX10 ChannelPosition = ( /*line :55:43*/_Ciconst_PA_CHANNEL_POSITION_AUX10 /*line :55:69*/)
CHANNEL_POSITION_AUX11 ChannelPosition = ( /*line :56:43*/_Ciconst_PA_CHANNEL_POSITION_AUX11 /*line :56:69*/)
CHANNEL_POSITION_AUX12 ChannelPosition = ( /*line :57:43*/_Ciconst_PA_CHANNEL_POSITION_AUX12 /*line :57:69*/)
CHANNEL_POSITION_AUX13 ChannelPosition = ( /*line :58:43*/_Ciconst_PA_CHANNEL_POSITION_AUX13 /*line :58:69*/)
CHANNEL_POSITION_AUX14 ChannelPosition = ( /*line :59:43*/_Ciconst_PA_CHANNEL_POSITION_AUX14 /*line :59:69*/)
CHANNEL_POSITION_AUX15 ChannelPosition = ( /*line :60:43*/_Ciconst_PA_CHANNEL_POSITION_AUX15 /*line :60:69*/)
CHANNEL_POSITION_AUX16 ChannelPosition = ( /*line :61:43*/_Ciconst_PA_CHANNEL_POSITION_AUX16 /*line :61:69*/)
CHANNEL_POSITION_AUX17 ChannelPosition = ( /*line :62:43*/_Ciconst_PA_CHANNEL_POSITION_AUX17 /*line :62:69*/)
CHANNEL_POSITION_AUX18 ChannelPosition = ( /*line :63:43*/_Ciconst_PA_CHANNEL_POSITION_AUX18 /*line :63:69*/)
CHANNEL_POSITION_AUX19 ChannelPosition = ( /*line :64:43*/_Ciconst_PA_CHANNEL_POSITION_AUX19 /*line :64:69*/)
CHANNEL_POSITION_AUX20 ChannelPosition = ( /*line :65:43*/_Ciconst_PA_CHANNEL_POSITION_AUX20 /*line :65:69*/)
CHANNEL_POSITION_AUX21 ChannelPosition = ( /*line :66:43*/_Ciconst_PA_CHANNEL_POSITION_AUX21 /*line :66:69*/)
CHANNEL_POSITION_AUX22 ChannelPosition = ( /*line :67:43*/_Ciconst_PA_CHANNEL_POSITION_AUX22 /*line :67:69*/)
CHANNEL_POSITION_AUX23 ChannelPosition = ( /*line :68:43*/_Ciconst_PA_CHANNEL_POSITION_AUX23 /*line :68:69*/)
CHANNEL_POSITION_AUX24 ChannelPosition = ( /*line :69:43*/_Ciconst_PA_CHANNEL_POSITION_AUX24 /*line :69:69*/)
CHANNEL_POSITION_AUX25 ChannelPosition = ( /*line :70:43*/_Ciconst_PA_CHANNEL_POSITION_AUX25 /*line :70:69*/)
CHANNEL_POSITION_AUX26 ChannelPosition = ( /*line :71:43*/_Ciconst_PA_CHANNEL_POSITION_AUX26 /*line :71:69*/)
CHANNEL_POSITION_AUX27 ChannelPosition = ( /*line :72:43*/_Ciconst_PA_CHANNEL_POSITION_AUX27 /*line :72:69*/)
CHANNEL_POSITION_AUX28 ChannelPosition = ( /*line :73:43*/_Ciconst_PA_CHANNEL_POSITION_AUX28 /*line :73:69*/)
CHANNEL_POSITION_AUX29 ChannelPosition = ( /*line :74:43*/_Ciconst_PA_CHANNEL_POSITION_AUX29 /*line :74:69*/)
CHANNEL_POSITION_AUX30 ChannelPosition = ( /*line :75:43*/_Ciconst_PA_CHANNEL_POSITION_AUX30 /*line :75:69*/)
CHANNEL_POSITION_AUX31 ChannelPosition = ( /*line :76:43*/_Ciconst_PA_CHANNEL_POSITION_AUX31 /*line :76:69*/)
CHANNEL_POSITION_TOP_CENTER ChannelPosition = ( /*line :78:48*/_Ciconst_PA_CHANNEL_POSITION_TOP_CENTER /*line :78:79*/)
CHANNEL_POSITION_TOP_FRONT_LEFT ChannelPosition = ( /*line :80:54*/_Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_LEFT /*line :80:89*/)
CHANNEL_POSITION_TOP_FRONT_RIGHT ChannelPosition = ( /*line :81:54*/_Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_RIGHT /*line :81:90*/)
CHANNEL_POSITION_TOP_FRONT_CENTER ChannelPosition = ( /*line :82:54*/_Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_CENTER /*line :82:91*/)
CHANNEL_POSITION_TOP_REAR_LEFT ChannelPosition = ( /*line :84:53*/_Ciconst_PA_CHANNEL_POSITION_TOP_REAR_LEFT /*line :84:87*/)
CHANNEL_POSITION_TOP_REAR_RIGHT ChannelPosition = ( /*line :85:53*/_Ciconst_PA_CHANNEL_POSITION_TOP_REAR_RIGHT /*line :85:88*/)
CHANNEL_POSITION_TOP_REAR_CENTER ChannelPosition = ( /*line :86:53*/_Ciconst_PA_CHANNEL_POSITION_TOP_REAR_CENTER /*line :86:89*/)
CHANNEL_POSITION_MAX ChannelPosition = ( /*line :88:41*/_Ciconst_PA_CHANNEL_POSITION_MAX /*line :88:65*/)
)
type ChannelPositionMask uint64
// ChannelPosition.Mask makes a bitmask from a ChannelPosition.
func (p ChannelPosition) Mask() ChannelPositionMask {
return 1 << uint(p)
}
type ChannelMapDef /*line :98:20*/_Ctype_pa_channel_map_def_t /*line :98:42*/
const (
CHANNEL_MAP_AIFF ChannelMapDef = ( /*line :101:38*/_Ciconst_PA_CHANNEL_MAP_AIFF /*line :101:58*/)
CHANNEL_MAP_ALSA ChannelMapDef = ( /*line :102:38*/_Ciconst_PA_CHANNEL_MAP_ALSA /*line :102:58*/)
CHANNEL_MAP_AUX ChannelMapDef = ( /*line :103:38*/_Ciconst_PA_CHANNEL_MAP_AUX /*line :103:57*/)
CHANNEL_MAP_WAVEEX ChannelMapDef = ( /*line :104:38*/_Ciconst_PA_CHANNEL_MAP_WAVEEX /*line :104:60*/)
CHANNEL_MAP_OSS ChannelMapDef = ( /*line :105:38*/_Ciconst_PA_CHANNEL_MAP_OSS /*line :105:57*/)
CHANNEL_MAP_DEF_MAX ChannelMapDef = ( /*line :106:38*/_Ciconst_PA_CHANNEL_MAP_DEF_MAX /*line :106:61*/)
CHANNEL_MAP_DEFAULT ChannelMapDef = ( /*line :107:38*/_Ciconst_PA_CHANNEL_MAP_DEFAULT /*line :107:61*/)
)
// ChannelMap can be used to attach labels to specific channels of a stream.
//
// These values are relevant for conversion and mixing of streams.
type ChannelMap struct {
Channels uint8
Map [CHANNELS_MAX]ChannelPosition
}
func (m *ChannelMap) fromC(cmap * /*line :118:34*/_Ctype_pa_channel_map /*line :118:50*/) {
m.Channels = uint8(cmap.channels)
for i := 0; i < CHANNELS_MAX; i++ {
m.Map[i] = ChannelPosition(cmap._map[i])
}
}
func (m *ChannelMap) toC() * /*line :125:29*/_Ctype_pa_channel_map /*line :125:45*/ {
if m == nil {
return nil
}
cmap := & /*line :129:11*/_Ctype_pa_channel_map /*line :129:27*/{}
cmap.channels = /*line :130:18*/_Ctype_uint8_t /*line :130:27*/(m.Channels)
for i := 0; i < CHANNELS_MAX; i++ {
cmap._map[i] = /*line :132:18*/_Ctype_pa_channel_position_t /*line :132:41*/(m.Map[i])
}
return cmap
}
// ChannelMap.Init initializes the ChannelMp to a defined state,
// for which ChannelMap.Valid() will return false.
//
// calling Init() on a ChannelMap is not necessary,
// but this method is included for compatibility.
func (m *ChannelMap) Init() {
m.fromC(( /*line :143:10*/_Cfunc_pa_channel_map_init /*line :143:30*/)(m.toC()))
}
// ChannelMap.InitMono initializes the channel map for monaural audio.
func (m *ChannelMap) InitMono() {
cmap := & /*line :148:11*/_Ctype_pa_channel_map /*line :148:27*/{}
( /*line :149:2*/_Cfunc_pa_channel_map_init_mono /*line :149:27*/)(cmap)
m.fromC(cmap)
}
// ChannelMap.InitStereo initializes the channel map for stereophonic audio.
func (m *ChannelMap) InitStereo() {
cmap := & /*line :155:11*/_Ctype_pa_channel_map /*line :155:27*/{}
( /*line :156:2*/_Cfunc_pa_channel_map_init_stereo /*line :156:29*/)(cmap)
m.fromC(cmap)
}
// ChannelMap.InitAuto initializes the ChannelMap using the given mapping
// and number of channels.
//
// If there is no default channel map known for the given number of channels
// and mapping, then the ChannelMap remains unchanged and an error is returned.
func (m *ChannelMap) InitAuto(channels uint, mapping ChannelMapDef) error {
cmap := & /*line :166:11*/_Ctype_pa_channel_map /*line :166:27*/{}
mapped := ( /*line :167:12*/_Cfunc_pa_channel_map_init_auto /*line :167:37*/)(cmap, /*line :167:45*/_Ctype_unsigned /*line :167:55*/(channels), /*line :167:67*/_Ctype_pa_channel_map_def_t /*line :167:89*/(mapping))
if mapped == nil {
return fmt.Errorf("Could not map %d channels with ChannelMapDef %v", channels, mapping)
}
m.fromC(cmap)
return nil
}
// ChannelMap.InitExtend initializes the ChannelMap using the given mapping
// and number of channels.
//
// If there is no default channel map known for the given number of channels
// and mapping, then it will synthesize a mapping based on a known mapping
// with fewer channels, and fill up the rest with AUX0...AUX31 channels.
func (m *ChannelMap) InitExtend(channels uint, mapping ChannelMapDef) {
cmap := & /*line :182:11*/_Ctype_pa_channel_map /*line :182:27*/{}
( /*line :183:2*/_Cfunc_pa_channel_map_init_extend /*line :183:29*/)(cmap, /*line :183:37*/_Ctype_unsigned /*line :183:47*/(channels), /*line :183:59*/_Ctype_pa_channel_map_def_t /*line :183:81*/(mapping))
m.fromC(cmap)
}
// ChannelPosition.String returns a text label for the channel position.
func (p ChannelPosition) String() string {
cstr := ( /*line :189:10*/_Cfunc_pa_channel_position_to_string /*line :189:40*/)( /*line :189:42*/_Ctype_pa_channel_position_t /*line :189:65*/(p))
return ( /*line :190:9*/_Cfunc_GoString /*line :190:18*/)(cstr)
}
// ChannelPositionFromString returns the ChannelPosition described
// by the given string.
//
// The string should be as returned by ChannelPosition.String().
func ChannelPositionFromString(s string) ChannelPosition {
cstr := ( /*line :198:10*/_Cfunc_CString /*line :198:18*/)(s)
defer func() func() { _cgo0 := /*line :199:15*/unsafe.Pointer(cstr); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
return ChannelPosition(( /*line :200:25*/_Cfunc_pa_channel_position_from_string /*line :200:57*/)(cstr))
}
// ChannelPosition.PrettyString returns a human-readable text label
// for the channel position.
func (p ChannelPosition) PrettyString() string {
cstr := ( /*line :206:10*/_Cfunc_pa_channel_position_to_pretty_string /*line :206:47*/)( /*line :206:49*/_Ctype_pa_channel_position_t /*line :206:72*/(p))
return ( /*line :207:9*/_Cfunc_GoString /*line :207:18*/)(cstr)
}
// ChannelMap.String returns a string describing the mapping.
func (m *ChannelMap) String() string {
s := strings.Repeat(" ", int(( /*line :212:31*/_Ciconst_PA_CHANNEL_MAP_SNPRINT_MAX /*line :212:58*/)))
cstr := ( /*line :213:10*/_Cfunc_CString /*line :213:18*/)(s)
defer func() func() { _cgo0 := /*line :214:15*/unsafe.Pointer(cstr); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
( /*line :215:2*/_Cfunc_pa_channel_map_snprint /*line :215:25*/)(cstr, /*line :215:33*/_Ctype_size_t /*line :215:41*/(( /*line :215:42*/_Ciconst_PA_CHANNEL_MAP_SNPRINT_MAX /*line :215:69*/)), m.toC())
return ( /*line :216:9*/_Cfunc_GoString /*line :216:18*/)(cstr)
}
// ChannelMap.Parse parses a channel position list or well-known mapping name
// into a channel map structure.
//
// Input should be as returned by ChannelMap.Name() or ChannelMap.String().
func (m *ChannelMap) Parse(s string) {
cstr := ( /*line :224:10*/_Cfunc_CString /*line :224:18*/)(s)
defer func() func() { _cgo0 := /*line :225:15*/unsafe.Pointer(cstr); return func() { _cgoCheckPointer(_cgo0, nil); _Cfunc_free(_cgo0); }}()()
m.fromC(( /*line :226:10*/_Cfunc_pa_channel_map_parse /*line :226:31*/)(m.toC(), cstr))
}
// ChannelMap.Equal compares two channel maps, returning true iff they match.
func (m *ChannelMap) Equal(other *ChannelMap) bool {
cmap1 := m.toC()
cmap2 := other.toC()
return ( /*line :233:9*/_Cfunc_pa_channel_map_equal /*line :233:30*/)(cmap1, cmap2) == 1
}
// ChannelMap.Valid returns true iff the channel map is considered valid.
func (m *ChannelMap) Valid() bool {
cmap := m.toC()
return ( /*line :239:9*/_Cfunc_pa_channel_map_valid /*line :239:30*/)(cmap) != 0
}
// ChannelMap.Compatible returns true iff compatible with the given sample spec.
func (m *ChannelMap) Compatible(spec *SampleSpec) bool {
return ( /*line :244:9*/_Cfunc_pa_channel_map_compatible /*line :244:35*/)(m.toC(), spec.toC()) != 0
}
// TODO: fix terminology
// ChannelMap.Superset returns true iff every channel defined in "other"
// is also defined in the ChannelMap.
func (m *ChannelMap) Superset(other *ChannelMap) bool {
return ( /*line :252:9*/_Cfunc_pa_channel_map_superset /*line :252:33*/)(m.toC(), other.toC()) != 0
}
// ChannelMap.CanBalance returns true iff applying a volume 'balance' makes sense
// with this mapping, i.e. there are left/right channels available.
func (m *ChannelMap) CanBalance() bool {
return ( /*line :258:9*/_Cfunc_pa_channel_map_can_balance /*line :258:36*/)(m.toC()) != 0
}
// ChannelMap.CanFade returns true iff applying a volume 'fade' makes sense
// with this mapping, i.e. there are front/rear channels available.
func (m *ChannelMap) CanFade() bool {
return ( /*line :264:9*/_Cfunc_pa_channel_map_can_fade /*line :264:33*/)(m.toC()) != 0
}
// ChannelMap.Name tries to find a well-known name for this channel mapping,
// i.e. "stereo", "surround-71" and so on.
//
// If the channel mapping is unknown, an error will be returned.
func (m *ChannelMap) Name() (string, error) {
cstr := ( /*line :272:10*/_Cfunc_pa_channel_map_to_name /*line :272:33*/)(m.toC())
if cstr == nil {
return "", errors.New("No name found for channel mapping.")
}
return ( /*line :276:9*/_Cfunc_GoString /*line :276:18*/)(cstr), nil
}
// ChannelMap.PrettyName tries to find a human-readable text label
// for this channel mapping, i.e. "Stereo", "Surround 7.1" and so on.
//
// If the channel mapping is unknown, an error will be returned.
func (m *ChannelMap) PrettyName() (string, error) {
cstr := ( /*line :284:10*/_Cfunc_pa_channel_map_to_pretty_name /*line :284:40*/)(m.toC())
if cstr == nil {
return "", errors.New("No name found for channel mapping.")
}
return ( /*line :288:9*/_Cfunc_GoString /*line :288:18*/)(cstr), nil
}
// ChannelMap.HasPosition returns true iff the specified channel position
// is available at least once in the channel map.
func (m *ChannelMap) HasPosition(p ChannelPosition) bool {
return ( /*line :294:9*/_Cfunc_pa_channel_map_has_position /*line :294:37*/)(m.toC(), /*line :294:48*/_Ctype_pa_channel_position_t /*line :294:71*/(p)) != 0
}
// ChannelMap.Mask generates a bitmask from a ChannelMap.
func (m *ChannelMap) Mask() ChannelPositionMask {
return ChannelPositionMask(( /*line :299:29*/_Cfunc_pa_channel_map_mask /*line :299:49*/)(m.toC()))
}

Wyświetl plik

@ -0,0 +1 @@
v1 a5a460db3f3f84778f06831069e71192bfd2842a427d52250ac90ed896703c4b e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619408617361036

Wyświetl plik

@ -0,0 +1 @@
v1 a638e7818c6cf33e4ec1f31fa62fcb426a83af9e6d4727c5f4dedc4e79103cdf 100a8d751042ae23cfc2696b9fa7b85106f9599268778020367884237297b217 202 1642619412768825749

Wyświetl plik

@ -0,0 +1 @@
v1 a7d2939c4bae8c9dbd0a7e9a22a6cd40e33e640c0ab45a0a6fcf38e63510d68d 64cf0a91ca40168a494943b3d536d035a9f1e1bfc6c7ba7cdcf4a6b77ca94610 163950 1642619413951734489

Wyświetl plik

@ -0,0 +1 @@
v1 a964917bb34f8f13fb569f1b0977b2bee6dd802796ba2badf0e23f1c30bded99 16127698575b1f6bf0b92d1b54ed6f585410b495e4ada1f6ce3d5370556f7c02 446 1642620351275063804

Wyświetl plik

@ -0,0 +1 @@
v1 acd19b1b30a4ff342758275cd5e00b6859bd0b8e1244d1f20ef53e2cd61ac60b e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619409790861334

Wyświetl plik

@ -0,0 +1 @@
v1 adfaab8edefada1ab378588fa9d96824fb1cf0c39d400f086f76665c4a212259 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619408672601429

Wyświetl plik

@ -0,0 +1 @@
v1 b47bb003619c13d6f97e4bd2315d22cc431d4f80bce5b328f5cc3a16e57f83d1 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619410409004416

Wyświetl plik

@ -0,0 +1 @@
v1 b64bd84339a7cbdf0fb2e875b959d98aa0e05528ad05a009f0667bc438ce611d 5ab311481a179ead4d2d80577f4782a55c8b4a4dc082ab49e232203126fad280 112718 1642619409130464011

Wyświetl plik

@ -0,0 +1 @@
v1 b925e861e89404647fe3a4dece02fec1a997e3d15256c9cdf5641e8ddfd351f4 4252817544358d087a8117ccd0658fe96073546a7846d995b40213d8882da898 12426 1642619408622226768

Wyświetl plik

@ -0,0 +1 @@
v1 c32eac4344136db84733368dee515f983122abbf0de9c11623d242c762519e96 fd0d8807c0903f344c76d88f54d903018da11250bef7ef1861d1ab14701dc507 4617 1642620351280393292

Wyświetl plik

@ -0,0 +1,2 @@
./colorable_others.go
./noncolorable.go

Wyświetl plik

@ -0,0 +1 @@
v1 c92314a2981506daf2c5ca5d4d50fb5fcf924a571cc96d5c90eca2664216ae39 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619408067321739

Wyświetl plik

@ -0,0 +1 @@
v1 c9e4bf0d30f6be3efdbd01a42eaef27e047d891100838cf6fc41228f1f656314 3a798d057eef9da68019f542069da7bd3ddf6bb85643084454b28e15e1169140 263820 1642619409914278065

Wyświetl plik

@ -0,0 +1 @@
v1 cb0eb9af7d848a7848af3199e5be4ff98897b88f4ea110d0f6fdca9e844deed2 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642619409808214260

Wyświetl plik

@ -0,0 +1 @@
v1 cb2c6538b35fcce58cae2f0a7171059140cb6e060c2849266f2a4946de6e7523 b4f07cd8a0757cae0bc39355ea08c3674801eadcc225b1afdeed0f4dd7e92f82 18 1642619407941772611

Wyświetl plik

@ -0,0 +1 @@
v1 d170571eb160b56e34edde2cecff75ceaab6ab8de3c347a955abf29df339874b 30ab2f319edf92cfdd6fda285b918cb8759699c1d1efaefcc6c2360424c7e0e3 20 1642619413588246956

Wyświetl plik

@ -0,0 +1,833 @@
//go:cgo_ldflag "-g"
//go:cgo_ldflag "-O2"
//go:cgo_ldflag "-lpulse-simple"
//go:cgo_ldflag "-lpulse"
// Code generated by cmd/cgo; DO NOT EDIT.
package pulse
import "unsafe"
import _ "runtime/cgo"
import "syscall"
var _ syscall.Errno
func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
//go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
var _Cgo_always_false bool
//go:linkname _Cgo_use runtime.cgoUse
func _Cgo_use(interface{})
type _Ctype__GoString_ string
type _Ctype___uint32_t = _Ctype_uint
type _Ctype___uint64_t = _Ctype_ulonglong
type _Ctype___uint8_t = _Ctype_uchar
type _Ctype_char uint8
type _Ctype_int int32
type _Ctype_intgo = _Ctype_ptrdiff_t
type _Ctype_pa_buffer_attr = _Ctype_struct_pa_buffer_attr
type _Ctype_pa_channel_map = _Ctype_struct_pa_channel_map
type _Ctype_pa_channel_map_def_t uint32
type _Ctype_pa_channel_position_mask_t = _Ctype_uint64_t
type _Ctype_pa_channel_position_t int32
type _Ctype_pa_sample_format_t int32
type _Ctype_pa_sample_spec = _Ctype_struct_pa_sample_spec
type _Ctype_pa_simple = _Ctype_struct_pa_simple
type _Ctype_pa_stream_direction_t uint32
type _Ctype_pa_usec_t = _Ctype_uint64_t
type _Ctype_ptrdiff_t = _Ctype_int
type _Ctype_size_t = _Ctype_uint
type _Ctype_struct_pa_buffer_attr struct {
maxlength _Ctype_uint32_t
tlength _Ctype_uint32_t
prebuf _Ctype_uint32_t
minreq _Ctype_uint32_t
fragsize _Ctype_uint32_t
}
type _Ctype_struct_pa_channel_map struct {
channels _Ctype_uint8_t
_map [32]_Ctype_pa_channel_position_t
}
type _Ctype_struct_pa_sample_spec struct {
format _Ctype_pa_sample_format_t
rate _Ctype_uint32_t
channels _Ctype_uint8_t
_ [3]byte
}
//go:notinheap
type _Ctype_struct_pa_simple struct{}
type _Ctype_uchar uint8
type _Ctype_uint uint32
type _Ctype_uint32_t = _Ctype___uint32_t
type _Ctype_uint64_t = _Ctype___uint64_t
type _Ctype_uint8_t = _Ctype___uint8_t
type _Ctype_ulonglong uint64
type _Ctype_unsigned = _Ctype_uint
type _Ctype_void [0]byte
//go:linkname _cgo_runtime_cgocall runtime.cgocall
func _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32
//go:linkname _cgo_runtime_cgocallback runtime.cgocallback
func _cgo_runtime_cgocallback(unsafe.Pointer, unsafe.Pointer, uintptr, uintptr)
//go:linkname _cgoCheckPointer runtime.cgoCheckPointer
func _cgoCheckPointer(interface{}, interface{})
//go:linkname _cgoCheckResult runtime.cgoCheckResult
func _cgoCheckResult(interface{})
const _Ciconst_PA_CHANNELS_MAX = 0x20
const _Ciconst_PA_CHANNEL_MAP_AIFF = 0x0
const _Ciconst_PA_CHANNEL_MAP_ALSA = 0x1
const _Ciconst_PA_CHANNEL_MAP_AUX = 0x2
const _Ciconst_PA_CHANNEL_MAP_DEFAULT = 0x0
const _Ciconst_PA_CHANNEL_MAP_DEF_MAX = 0x5
const _Ciconst_PA_CHANNEL_MAP_OSS = 0x4
const _Ciconst_PA_CHANNEL_MAP_SNPRINT_MAX = 0x150
const _Ciconst_PA_CHANNEL_MAP_WAVEEX = 0x3
const _Ciconst_PA_CHANNEL_POSITION_AUX0 = 0xc
const _Ciconst_PA_CHANNEL_POSITION_AUX1 = 0xd
const _Ciconst_PA_CHANNEL_POSITION_AUX10 = 0x16
const _Ciconst_PA_CHANNEL_POSITION_AUX11 = 0x17
const _Ciconst_PA_CHANNEL_POSITION_AUX12 = 0x18
const _Ciconst_PA_CHANNEL_POSITION_AUX13 = 0x19
const _Ciconst_PA_CHANNEL_POSITION_AUX14 = 0x1a
const _Ciconst_PA_CHANNEL_POSITION_AUX15 = 0x1b
const _Ciconst_PA_CHANNEL_POSITION_AUX16 = 0x1c
const _Ciconst_PA_CHANNEL_POSITION_AUX17 = 0x1d
const _Ciconst_PA_CHANNEL_POSITION_AUX18 = 0x1e
const _Ciconst_PA_CHANNEL_POSITION_AUX19 = 0x1f
const _Ciconst_PA_CHANNEL_POSITION_AUX2 = 0xe
const _Ciconst_PA_CHANNEL_POSITION_AUX20 = 0x20
const _Ciconst_PA_CHANNEL_POSITION_AUX21 = 0x21
const _Ciconst_PA_CHANNEL_POSITION_AUX22 = 0x22
const _Ciconst_PA_CHANNEL_POSITION_AUX23 = 0x23
const _Ciconst_PA_CHANNEL_POSITION_AUX24 = 0x24
const _Ciconst_PA_CHANNEL_POSITION_AUX25 = 0x25
const _Ciconst_PA_CHANNEL_POSITION_AUX26 = 0x26
const _Ciconst_PA_CHANNEL_POSITION_AUX27 = 0x27
const _Ciconst_PA_CHANNEL_POSITION_AUX28 = 0x28
const _Ciconst_PA_CHANNEL_POSITION_AUX29 = 0x29
const _Ciconst_PA_CHANNEL_POSITION_AUX3 = 0xf
const _Ciconst_PA_CHANNEL_POSITION_AUX30 = 0x2a
const _Ciconst_PA_CHANNEL_POSITION_AUX31 = 0x2b
const _Ciconst_PA_CHANNEL_POSITION_AUX4 = 0x10
const _Ciconst_PA_CHANNEL_POSITION_AUX5 = 0x11
const _Ciconst_PA_CHANNEL_POSITION_AUX6 = 0x12
const _Ciconst_PA_CHANNEL_POSITION_AUX7 = 0x13
const _Ciconst_PA_CHANNEL_POSITION_AUX8 = 0x14
const _Ciconst_PA_CHANNEL_POSITION_AUX9 = 0x15
const _Ciconst_PA_CHANNEL_POSITION_CENTER = 0x3
const _Ciconst_PA_CHANNEL_POSITION_FRONT_CENTER = 0x3
const _Ciconst_PA_CHANNEL_POSITION_FRONT_LEFT = 0x1
const _Ciconst_PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER = 0x8
const _Ciconst_PA_CHANNEL_POSITION_FRONT_RIGHT = 0x2
const _Ciconst_PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER = 0x9
const _Ciconst_PA_CHANNEL_POSITION_INVALID = -0x1
const _Ciconst_PA_CHANNEL_POSITION_LEFT = 0x1
const _Ciconst_PA_CHANNEL_POSITION_LFE = 0x7
const _Ciconst_PA_CHANNEL_POSITION_MAX = 0x33
const _Ciconst_PA_CHANNEL_POSITION_MONO = 0x0
const _Ciconst_PA_CHANNEL_POSITION_REAR_CENTER = 0x4
const _Ciconst_PA_CHANNEL_POSITION_REAR_LEFT = 0x5
const _Ciconst_PA_CHANNEL_POSITION_REAR_RIGHT = 0x6
const _Ciconst_PA_CHANNEL_POSITION_RIGHT = 0x2
const _Ciconst_PA_CHANNEL_POSITION_SIDE_LEFT = 0xa
const _Ciconst_PA_CHANNEL_POSITION_SIDE_RIGHT = 0xb
const _Ciconst_PA_CHANNEL_POSITION_SUBWOOFER = 0x7
const _Ciconst_PA_CHANNEL_POSITION_TOP_CENTER = 0x2c
const _Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_CENTER = 0x2f
const _Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_LEFT = 0x2d
const _Ciconst_PA_CHANNEL_POSITION_TOP_FRONT_RIGHT = 0x2e
const _Ciconst_PA_CHANNEL_POSITION_TOP_REAR_CENTER = 0x32
const _Ciconst_PA_CHANNEL_POSITION_TOP_REAR_LEFT = 0x30
const _Ciconst_PA_CHANNEL_POSITION_TOP_REAR_RIGHT = 0x31
const _Ciconst_PA_OK = 0x0
const _Ciconst_PA_RATE_MAX = 0x5dc00
const _Ciconst_PA_SAMPLE_ALAW = 0x1
const _Ciconst_PA_SAMPLE_FLOAT32 = 0x5
const _Ciconst_PA_SAMPLE_FLOAT32BE = 0x6
const _Ciconst_PA_SAMPLE_FLOAT32LE = 0x5
const _Ciconst_PA_SAMPLE_FLOAT32NE = 0x5
const _Ciconst_PA_SAMPLE_FLOAT32RE = 0x6
const _Ciconst_PA_SAMPLE_INVALID = -0x1
const _Ciconst_PA_SAMPLE_MAX = 0xd
const _Ciconst_PA_SAMPLE_S16BE = 0x4
const _Ciconst_PA_SAMPLE_S16LE = 0x3
const _Ciconst_PA_SAMPLE_S16NE = 0x3
const _Ciconst_PA_SAMPLE_S16RE = 0x4
const _Ciconst_PA_SAMPLE_S24BE = 0xa
const _Ciconst_PA_SAMPLE_S24LE = 0x9
const _Ciconst_PA_SAMPLE_S24NE = 0x9
const _Ciconst_PA_SAMPLE_S24RE = 0xa
const _Ciconst_PA_SAMPLE_S24_32BE = 0xc
const _Ciconst_PA_SAMPLE_S24_32LE = 0xb
const _Ciconst_PA_SAMPLE_S24_32NE = 0xb
const _Ciconst_PA_SAMPLE_S24_32RE = 0xc
const _Ciconst_PA_SAMPLE_S32BE = 0x8
const _Ciconst_PA_SAMPLE_S32LE = 0x7
const _Ciconst_PA_SAMPLE_S32NE = 0x7
const _Ciconst_PA_SAMPLE_S32RE = 0x8
const _Ciconst_PA_SAMPLE_SPEC_SNPRINT_MAX = 0x20
const _Ciconst_PA_SAMPLE_U8 = 0x0
const _Ciconst_PA_SAMPLE_ULAW = 0x2
const _Ciconst_PA_STREAM_NODIRECTION = 0x0
const _Ciconst_PA_STREAM_PLAYBACK = 0x1
const _Ciconst_PA_STREAM_RECORD = 0x2
const _Ciconst_PA_STREAM_UPLOAD = 0x3
func _Cfunc_CString(s string) *_Ctype_char {
p := _cgo_cmalloc(uint64(len(s)+1))
pp := (*[1<<30]byte)(p)
copy(pp[:], s)
pp[len(s)] = 0
return (*_Ctype_char)(p)
}
//go:linkname _cgo_runtime_gostring runtime.gostring
func _cgo_runtime_gostring(*_Ctype_char) string
func _Cfunc_GoString(p *_Ctype_char) string {
return _cgo_runtime_gostring(p)
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_free
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_free _cgo_3979d6b0dbd3_Cfunc_free
var __cgofn__cgo_3979d6b0dbd3_Cfunc_free byte
var _cgo_3979d6b0dbd3_Cfunc_free = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_free)
//go:cgo_unsafe_args
func _Cfunc_free(p0 unsafe.Pointer) (r1 _Ctype_void) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_free, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second _cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second byte
var _cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second)
//go:cgo_unsafe_args
func _Cfunc_pa_bytes_per_second(p0 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_size_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_bytes_per_second, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec _cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec byte
var _cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec)
//go:cgo_unsafe_args
func _Cfunc_pa_bytes_to_usec(p0 _Ctype_uint64_t, p1 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_pa_usec_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_bytes_to_usec, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_can_balance(p0 *_Ctype_struct_pa_channel_map) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_balance, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_can_fade(p0 *_Ctype_struct_pa_channel_map) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_can_fade, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_compatible(p0 *_Ctype_struct_pa_channel_map, p1 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_compatible, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_equal(p0 *_Ctype_struct_pa_channel_map, p1 *_Ctype_struct_pa_channel_map) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_equal, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_has_position(p0 *_Ctype_struct_pa_channel_map, p1 _Ctype_pa_channel_position_t) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_has_position, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_init(p0 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_init_auto(p0 *_Ctype_struct_pa_channel_map, p1 _Ctype_uint, p2 _Ctype_pa_channel_map_def_t) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_auto, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_init_extend(p0 *_Ctype_struct_pa_channel_map, p1 _Ctype_uint, p2 _Ctype_pa_channel_map_def_t) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_extend, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_init_mono(p0 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_mono, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_init_stereo(p0 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_init_stereo, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_mask(p0 *_Ctype_struct_pa_channel_map) (r1 _Ctype_pa_channel_position_mask_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_mask, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_parse(p0 *_Ctype_struct_pa_channel_map, p1 *_Ctype_char) (r1 *_Ctype_struct_pa_channel_map) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_parse, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_snprint(p0 *_Ctype_char, p1 _Ctype_size_t, p2 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_snprint, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_superset(p0 *_Ctype_struct_pa_channel_map, p1 *_Ctype_struct_pa_channel_map) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_superset, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_to_name(p0 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_name, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_to_pretty_name(p0 *_Ctype_struct_pa_channel_map) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_to_pretty_name, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_map_valid(p0 *_Ctype_struct_pa_channel_map) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_map_valid, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_position_from_string(p0 *_Ctype_char) (r1 _Ctype_pa_channel_position_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_position_from_string, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_position_to_pretty_string(p0 _Ctype_pa_channel_position_t) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_pretty_string, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string byte
var _cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string)
//go:cgo_unsafe_args
func _Cfunc_pa_channel_position_to_string(p0 _Ctype_pa_channel_position_t) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_channel_position_to_string, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_frame_size
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_frame_size _cgo_3979d6b0dbd3_Cfunc_pa_frame_size
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_frame_size byte
var _cgo_3979d6b0dbd3_Cfunc_pa_frame_size = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_frame_size)
//go:cgo_unsafe_args
func _Cfunc_pa_frame_size(p0 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_size_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_frame_size, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format _cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format byte
var _cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format)
//go:cgo_unsafe_args
func _Cfunc_pa_parse_sample_format(p0 *_Ctype_char) (r1 _Ctype_pa_sample_format_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_parse_sample_format, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_format_is_be(p0 _Ctype_pa_sample_format_t) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_be, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_format_is_le(p0 _Ctype_pa_sample_format_t) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_format_is_le, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_format_to_string(p0 _Ctype_pa_sample_format_t) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_format_to_string, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_size
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size _cgo_3979d6b0dbd3_Cfunc_pa_sample_size
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_size = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_size(p0 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_size_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_size, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format _cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_size_of_format(p0 _Ctype_pa_sample_format_t) (r1 _Ctype_size_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_size_of_format, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_spec_equal(p0 *_Ctype_struct_pa_sample_spec, p1 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_equal, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_spec_init(p0 *_Ctype_struct_pa_sample_spec) (r1 *_Ctype_struct_pa_sample_spec) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_init, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_spec_snprint(p0 *_Ctype_char, p1 _Ctype_size_t, p2 *_Ctype_struct_pa_sample_spec) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_snprint, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid byte
var _cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid)
//go:cgo_unsafe_args
func _Cfunc_pa_sample_spec_valid(p0 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_sample_spec_valid, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_drain
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_drain _cgo_3979d6b0dbd3_Cfunc_pa_simple_drain
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_drain byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_drain = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_drain)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_drain(p0 *_Ctype_struct_pa_simple, p1 *_Ctype_int) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_drain, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_flush
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_flush _cgo_3979d6b0dbd3_Cfunc_pa_simple_flush
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_flush byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_flush = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_flush)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_flush(p0 *_Ctype_struct_pa_simple, p1 *_Ctype_int) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_flush, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_free
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_free _cgo_3979d6b0dbd3_Cfunc_pa_simple_free
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_free byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_free = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_free)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_free(p0 *_Ctype_struct_pa_simple) (r1 _Ctype_void) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_free, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency _cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_get_latency(p0 *_Ctype_struct_pa_simple, p1 *_Ctype_int) (r1 _Ctype_pa_usec_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_get_latency, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_new
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_new _cgo_3979d6b0dbd3_Cfunc_pa_simple_new
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_new byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_new = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_new)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_new(p0 *_Ctype_char, p1 *_Ctype_char, p2 _Ctype_pa_stream_direction_t, p3 *_Ctype_char, p4 *_Ctype_char, p5 *_Ctype_struct_pa_sample_spec, p6 *_Ctype_struct_pa_channel_map, p7 *_Ctype_struct_pa_buffer_attr, p8 *_Ctype_int) (r1 *_Ctype_struct_pa_simple) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_new, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
_Cgo_use(p3)
_Cgo_use(p4)
_Cgo_use(p5)
_Cgo_use(p6)
_Cgo_use(p7)
_Cgo_use(p8)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_read
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_read _cgo_3979d6b0dbd3_Cfunc_pa_simple_read
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_read byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_read = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_read)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_read(p0 *_Ctype_struct_pa_simple, p1 unsafe.Pointer, p2 _Ctype_size_t, p3 *_Ctype_int) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_read, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
_Cgo_use(p3)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_simple_write
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_write _cgo_3979d6b0dbd3_Cfunc_pa_simple_write
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_write byte
var _cgo_3979d6b0dbd3_Cfunc_pa_simple_write = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_simple_write)
//go:cgo_unsafe_args
func _Cfunc_pa_simple_write(p0 *_Ctype_struct_pa_simple, p1 unsafe.Pointer, p2 _Ctype_size_t, p3 *_Ctype_int) (r1 _Ctype_int) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_simple_write, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
_Cgo_use(p2)
_Cgo_use(p3)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_strerror
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_strerror _cgo_3979d6b0dbd3_Cfunc_pa_strerror
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_strerror byte
var _cgo_3979d6b0dbd3_Cfunc_pa_strerror = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_strerror)
//go:cgo_unsafe_args
func _Cfunc_pa_strerror(p0 _Ctype_int) (r1 *_Ctype_char) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_strerror, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes _cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes
var __cgofn__cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes byte
var _cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes)
//go:cgo_unsafe_args
func _Cfunc_pa_usec_to_bytes(p0 _Ctype_pa_usec_t, p1 *_Ctype_struct_pa_sample_spec) (r1 _Ctype_size_t) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc_pa_usec_to_bytes, uintptr(unsafe.Pointer(&p0)))
if _Cgo_always_false {
_Cgo_use(p0)
_Cgo_use(p1)
}
return
}
//go:cgo_import_static _cgo_3979d6b0dbd3_Cfunc__Cmalloc
//go:linkname __cgofn__cgo_3979d6b0dbd3_Cfunc__Cmalloc _cgo_3979d6b0dbd3_Cfunc__Cmalloc
var __cgofn__cgo_3979d6b0dbd3_Cfunc__Cmalloc byte
var _cgo_3979d6b0dbd3_Cfunc__Cmalloc = unsafe.Pointer(&__cgofn__cgo_3979d6b0dbd3_Cfunc__Cmalloc)
//go:linkname runtime_throw runtime.throw
func runtime_throw(string)
//go:cgo_unsafe_args
func _cgo_cmalloc(p0 uint64) (r1 unsafe.Pointer) {
_cgo_runtime_cgocall(_cgo_3979d6b0dbd3_Cfunc__Cmalloc, uintptr(unsafe.Pointer(&p0)))
if r1 == nil {
runtime_throw("runtime: C malloc failed")
}
return
}

Wyświetl plik

@ -0,0 +1,2 @@
./doc.go
./isatty_tcgets.go

Wyświetl plik

@ -0,0 +1 @@
v1 d6821a28509f3979f24c2559e00ac899370141a73315dd7fe601b21e7831d86f c389c708904865efc264ee128ef97068f9cfcf75236797410b01ea2fa6e7389d 40 1642619413410421603

Wyświetl plik

@ -0,0 +1 @@
v1 d721a479051643a959540bc7b4171a6ae357f62fa3534df0e3fc3361170c6d5f 2d83dffed1303245c97a0f01bd87df646e97ebe0e8d754ef65b98f098a7f53c0 12094 1642619409812887752

Wyświetl plik

@ -0,0 +1 @@
v1 d81303c0fb2b6dd87b3b783b0fa365d2919efea1c8f8bfe3364bfc248590a325 3e9286edfd6bf132e7e13105bd48f8817408ac01efbcbc9ec273e917cffa5d22 734 1642619408415453170

Wyświetl plik

@ -0,0 +1 @@
v1 db7981b1905bda3160e4a5726163449ab93d8dca4e456bfd177561fac78fce7e e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1642620353508492881

Wyświetl plik

@ -0,0 +1 @@
v1 de61448e2f9b4584f1a912054405a5809178188cc30c0c3d6090f21cee3516d7 d59c8d6df4fc250dc8f81ab25c89d182b15bb3538a8e7531ad0d1ef773147bc2 28 1642619413244161360

Some files were not shown because too many files have changed in this diff Show More