24#include "wm_platform.h"
26#define WM_STR_GENVENDOR "Generic"
27#define WM_STR_GENMODEL "drive"
28#define WM_STR_GENREV "type"
56 struct wm_trackinfo *trk;
67 int (*open)(
struct wm_drive *d);
68 int (*close)(
struct wm_drive *d);
69 int (*get_trackcount)(
struct wm_drive *d,
int *tracks);
70 int (*get_cdlen)(
struct wm_drive *d,
int *frames);
71 int (*get_trackinfo)(
struct wm_drive *d,
int track,
int *data,
int *startframe);
72 int (*get_drive_status)(
struct wm_drive *d,
int oldmode,
int *mode,
int *pos,
int *track,
int *ind);
73 int (*
pause)(
struct wm_drive *d);
74 int (*resume)(
struct wm_drive *d);
75 int (*
stop)(
struct wm_drive *d);
76 int (*play)(
struct wm_drive *d,
int start,
int end);
77 int (*eject)(
struct wm_drive *d);
78 int (*closetray)(
struct wm_drive *d);
79 int (*scsi)(
struct wm_drive *d,
unsigned char *cdb,
int cdb_len,
void *ret_buf,
int ret_buflen,
int get_reply);
80 int (*set_volume)(
struct wm_drive *d,
int left,
int right);
81 int (*get_volume)(
struct wm_drive *d,
int *
left,
int *
right);
82 int (*scale_volume)(
int *
left,
int *
right);
83 int (*unscale_volume)(
int *
left,
int *
right);
87int gen_init(
struct wm_drive *d);
88int gen_open(
struct wm_drive *d);
89int gen_close(
struct wm_drive *d);
90int gen_get_trackcount(
struct wm_drive *d,
int *tracks);
91int gen_get_cdlen(
struct wm_drive *d,
int *frames);
92int gen_get_trackinfo(
struct wm_drive *d,
int track,
int *data,
int *startframe);
93int gen_get_drive_status(
struct wm_drive *d,
int oldmode,
int *mode,
int *pos,
int *track,
int *ind);
94int gen_pause(
struct wm_drive *d);
95int gen_resume(
struct wm_drive *d);
96int gen_stop(
struct wm_drive *d);
97int gen_play(
struct wm_drive *d,
int start,
int end);
98int gen_eject(
struct wm_drive *d);
99int gen_closetray(
struct wm_drive *d);
100int gen_scsi(
struct wm_drive *d,
unsigned char *cdb,
int cdb_len,
void *ret_buf,
int ret_buflen,
int get_reply);
101int gen_set_volume(
struct wm_drive *d,
int left,
int right);
102int gen_get_volume(
struct wm_drive *d,
int *left,
int *right);
103int gen_scale_volume(
int *left,
int *right);
104int gen_unscale_volume(
int *left,
int *right);
111 unsigned char status;
114 unsigned char reserved;
121#ifdef WMLIB_CDDA_BUILD
122int gen_cdda_init(
struct wm_drive *d);
123int gen_cdda_open(
struct wm_drive* d);
124int gen_cdda_read(
struct wm_drive* d,
struct wm_cdda_block *block);
125int gen_cdda_close(
struct wm_drive* d);
127 #define gen_cdda_init(x) (-1)
128 #define gen_cdda_open(x) (-1)
129 #define gen_cdda_read(x, y) (-1)
130 #define gen_cdda_close(x) (-1)
152 struct wm_cdinfo thiscd;
158 struct wm_drive_proto proto;
164 unsigned char command;
166 int current_position;
172 struct wm_cdda_block *blocks;
178int toshiba_fixup(
struct wm_drive *d);
179int sony_fixup(
struct wm_drive *d);
181struct cdtext_info* get_glob_cdtext(
struct wm_drive*,
int);
182void free_cdtext(
void);
184int wm_cdda_init(
struct wm_drive *d);
185int wm_cdda_destroy(
struct wm_drive *d);
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void pause()
Q_SCRIPTABLE CaptureState status()
Q_SCRIPTABLE Q_NOREPLY void start()
const QList< QKeySequence > & end()
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:58 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.