mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-22 00:34:43 +01:00
fix(vlc): add audio transcoding mode to fix 7.1 TrueHD playback
This commit is contained in:
15
utils/profiles/native.d.ts
vendored
15
utils/profiles/native.d.ts
vendored
@@ -4,4 +4,17 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
export function generateDeviceProfile(): any;
|
||||
export type PlatformType = "ios" | "android";
|
||||
export type PlayerType = "vlc" | "ksplayer";
|
||||
export type AudioTranscodeModeType = "auto" | "stereo" | "5.1" | "passthrough";
|
||||
|
||||
export interface ProfileOptions {
|
||||
/** Target platform */
|
||||
platform?: PlatformType;
|
||||
/** Video player being used */
|
||||
player?: PlayerType;
|
||||
/** Audio transcoding mode */
|
||||
audioMode?: AudioTranscodeModeType;
|
||||
}
|
||||
|
||||
export function generateDeviceProfile(options?: ProfileOptions): any;
|
||||
|
||||
Reference in New Issue
Block a user