Skip to content

Commit

Permalink
wip: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Aug 27, 2023
1 parent c3dc73d commit 604aff5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/atem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ export class Atem extends BasicAtem {
data: Buffer,
name: string,
description: string,
options?: DT.UploadStillOptions
options?: DT.UploadStillEncodingOptions
): Promise<void> {
if (!this.state) return Promise.reject()
const resolution = Util.getVideoModeInfo(this.state.settings.videoMode)
Expand All @@ -751,7 +751,7 @@ export class Atem extends BasicAtem {
index: number,
frames: Iterable<Buffer> | AsyncIterable<Buffer>,
name: string,
options?: DT.UploadStillOptions
options?: DT.UploadStillEncodingOptions
): Promise<void> {
if (!this.state) return Promise.reject()
const resolution = Util.getVideoModeInfo(this.state.settings.videoMode)
Expand Down
6 changes: 3 additions & 3 deletions src/dataTransfer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MAX_TRANSFER_INDEX = (1 << 16) - 1 // Inclusive maximum

const debug = debug0('atem-connection:data-transfer:manager')

export interface UploadStillOptions {
export interface UploadStillEncodingOptions {
disableRLE?: boolean
}

Expand Down Expand Up @@ -175,7 +175,7 @@ export class DataTransferManager {
data: Buffer,
name: string,
description: string,
options?: UploadStillOptions
options?: UploadStillEncodingOptions
): Promise<void> {
const buffer = generateBufferInfo(data, !options?.disableRLE)
const transfer = new DataTransferUploadStill(index, buffer, name, description)
Expand All @@ -186,7 +186,7 @@ export class DataTransferManager {
index: number,
data: Iterable<Buffer> | AsyncIterable<Buffer>,
name: string,
options?: UploadStillOptions
options?: UploadStillEncodingOptions
): Promise<void> {
const provideFrame = async function* (): AsyncGenerator<DataTransferUploadClipFrame, undefined> {
let id = -1
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ import * as InputState from './state/input'
import * as MacroState from './state/macro'
import * as SettingsState from './state/settings'
export { VideoState, AudioState, MediaState, InfoState, InputState, MacroState, SettingsState }
export { UploadStillOptions } from './dataTransfer'
export { UploadStillEncodingOptions } from './dataTransfer'

0 comments on commit 604aff5

Please sign in to comment.