transcoder

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package transcoder provides stub implementations when GPU/FFI is disabled.

Package transcoder provides stub implementations when GPU/FFI is disabled.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LastError

func LastError() string

LastError returns empty string (stub implementation).

func Version

func Version() string

Version returns a stub version string.

Types

type GPUServer

type GPUServer struct{}

GPUServer is a stub when built without GPU support.

func NewGPUServer

func NewGPUServer(_ string, _ string) *GPUServer

NewGPUServer returns a stub GPU server instance.

func (*GPUServer) GetURL

func (s *GPUServer) GetURL() string

GetURL returns an empty string (stub implementation).

func (*GPUServer) IsRunning

func (s *GPUServer) IsRunning() bool

IsRunning always returns false (stub implementation).

func (*GPUServer) Start

func (s *GPUServer) Start() error

Start returns an error when built without GPU support.

func (*GPUServer) Stop

func (s *GPUServer) Stop() error

Stop is a no-op stub.

type RustAudioRemuxer

type RustAudioRemuxer struct{}

RustAudioRemuxer is a stub when built without GPU support.

func NewRustAudioRemuxer

func NewRustAudioRemuxer(_ int, _ int, _ int) (*RustAudioRemuxer, error)

NewRustAudioRemuxer returns an error when built without GPU support.

func (*RustAudioRemuxer) Close

func (r *RustAudioRemuxer) Close() error

Close is a no-op stub.

func (*RustAudioRemuxer) Config

func (r *RustAudioRemuxer) Config() (sampleRate, channels, bitrate int)

Config returns zero values (stub implementation).

func (*RustAudioRemuxer) Process

func (r *RustAudioRemuxer) Process(_ []byte) ([]byte, error)

Process returns an error (stub implementation).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL