mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-04-05 07:15:27 -04:00
topology: file position and size cleanups
- try to use size_t/ssize_t - track the position in own variable, do not use lseek Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
075ee165e6
commit
ce74829db6
2 changed files with 60 additions and 64 deletions
|
|
@ -62,12 +62,13 @@ typedef enum _snd_pcm_rates {
|
|||
struct snd_tplg {
|
||||
/* out file */
|
||||
int out_fd;
|
||||
size_t out_pos;
|
||||
|
||||
int verbose;
|
||||
unsigned int version;
|
||||
|
||||
/* runtime state */
|
||||
unsigned int next_hdr_pos;
|
||||
size_t next_hdr_pos;
|
||||
int index;
|
||||
int channel_idx;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue