mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fix off_t in kernel struct
The off_t in kernel struct (for ioctls) is actually different from the definition of user-space off_t. The kernel off_t is equial with long while user-space off_t depends on the large-file support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
56fa81fdab
commit
c821f2e7f2
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ struct sndrv_pcm_sw_params {
|
||||||
|
|
||||||
struct sndrv_pcm_channel_info {
|
struct sndrv_pcm_channel_info {
|
||||||
unsigned int channel;
|
unsigned int channel;
|
||||||
off_t offset; /* mmap offset */
|
long offset; /* mmap offset */
|
||||||
unsigned int first; /* offset to first sample in bits */
|
unsigned int first; /* offset to first sample in bits */
|
||||||
unsigned int step; /* samples distance in bits */
|
unsigned int step; /* samples distance in bits */
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue