path: root/kttsd/players/alsaplayer/alsaplayer.h
diff options
authorOBATA Akio <>2019-01-14 18:46:42 +0900
committerOBATA Akio <>2019-01-15 20:18:22 +0900
commit12ef306abc066e67042c539f7438f37c120a1be8 (patch)
treea16f2c30a2754c479af4218e7f5046ba031dc284 /kttsd/players/alsaplayer/alsaplayer.h
parentb07694f87257d400c6c74e6f5455c98b3f77a6d9 (diff)
change large file support to more portable
It is not portable to use lseek64/off64_t directly. Change to set large file support macro and use usual names. Signed-off-by: OBATA Akio <>
Diffstat (limited to 'kttsd/players/alsaplayer/alsaplayer.h')
1 files changed, 4 insertions, 4 deletions
diff --git a/kttsd/players/alsaplayer/alsaplayer.h b/kttsd/players/alsaplayer/alsaplayer.h
index c1e73c3..6239566 100644
--- a/kttsd/players/alsaplayer/alsaplayer.h
+++ b/kttsd/players/alsaplayer/alsaplayer.h
@@ -124,9 +124,9 @@ private:
void voc_pcm_flush(void);
void voc_play(int fd, int ofs, const char *name);
void init_raw_data(void);
- off64_t calc_count(void);
+ off_t calc_count(void);
void header(int rtype, const char *name);
- void playback_go(int fd, size_t loaded, off64_t count, int rtype, const char *name);
+ void playback_go(int fd, size_t loaded, off_t count, int rtype, const char *name);
void playback(int fd);
KURL m_currentURL;
@@ -168,8 +168,8 @@ private:
size_t chunk_bytes;
snd_output_t *log;
int fd;
- off64_t pbrec_count;
- off64_t fdcount;
+ off_t pbrec_count;
+ off_t fdcount;
int vocmajor;
int vocminor;