Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
66c9a93b
Commit
66c9a93b
authored
Oct 05, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up signed one-bit bitfields in core sound code
parent
6586bafd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
include/sound/asequencer.h
include/sound/asequencer.h
+1
-1
include/sound/pcm.h
include/sound/pcm.h
+1
-1
include/sound/pcm_oss.h
include/sound/pcm_oss.h
+5
-5
include/sound/seq_kernel.h
include/sound/seq_kernel.h
+2
-2
sound/pci/intel8x0.c
sound/pci/intel8x0.c
+7
-7
No files found.
include/sound/asequencer.h
View file @
66c9a93b
...
...
@@ -640,7 +640,7 @@ struct sndrv_seq_queue_info {
* etc. if the queue is locked for other clients
*/
int
owner
;
/* client id for owner of the queue */
int
locked
:
1
;
/* timing queue locked for other queues */
unsigned
locked
:
1
;
/* timing queue locked for other queues */
char
name
[
64
];
/* name of this queue */
unsigned
int
flags
;
/* flags */
char
reserved
[
60
];
/* for future use */
...
...
include/sound/pcm.h
View file @
66c9a93b
...
...
@@ -384,7 +384,7 @@ struct _snd_pcm_substream {
snd_pcm_runtime_t
*
runtime
;
/* -- timer section -- */
snd_timer_t
*
timer
;
/* timer */
int
timer_running
:
1
;
/* time is running */
unsigned
timer_running
:
1
;
/* time is running */
spinlock_t
timer_lock
;
/* -- next substream -- */
snd_pcm_substream_t
*
next
;
...
...
include/sound/pcm_oss.h
View file @
66c9a93b
...
...
@@ -39,10 +39,10 @@ struct _snd_pcm_oss_setup {
};
typedef
struct
_snd_pcm_oss_runtime
{
int
params
:
1
,
/* format/parameter change */
prepare:
1
,
/* need to prepare the operation */
trigger:
1
,
/* trigger flag */
sync_trigger:
1
;
/* sync trigger flag */
unsigned
params
:
1
,
/* format/parameter change */
prepare:
1
,
/* need to prepare the operation */
trigger:
1
,
/* trigger flag */
sync_trigger:
1
;
/* sync trigger flag */
int
rate
;
/* requested rate */
int
format
;
/* requested OSS format */
unsigned
int
channels
;
/* requested channels */
...
...
@@ -68,7 +68,7 @@ typedef struct _snd_pcm_oss_file {
}
snd_pcm_oss_file_t
;
typedef
struct
_snd_pcm_oss_substream
{
int
oss
:
1
;
/* oss mode */
unsigned
oss
:
1
;
/* oss mode */
snd_pcm_oss_setup_t
*
setup
;
/* active setup */
snd_pcm_oss_file_t
*
file
;
}
snd_pcm_oss_substream_t
;
...
...
include/sound/seq_kernel.h
View file @
66c9a93b
...
...
@@ -129,8 +129,8 @@ typedef struct _snd_seq_queue queue_t;
typedef
struct
{
void
*
private_data
;
int
allow_input
:
1
,
allow_output:
1
;
unsigned
allow_input
:
1
,
allow_output:
1
;
/*...*/
}
snd_seq_client_callback_t
;
...
...
sound/pci/intel8x0.c
View file @
66c9a93b
...
...
@@ -418,13 +418,13 @@ struct _snd_intel8x0 {
snd_pcm_t
*
pcm
[
6
];
ichdev_t
ichd
[
6
];
int
multi4
:
1
,
multi6:
1
,
smp20bit:
1
;
int
in_ac97_init
:
1
,
in_sdin_init:
1
;
int
fix_nocache
:
1
;
/* workaround for 440MX */
int
buggy_irq
:
1
;
/* workaround for buggy mobos */
unsigned
multi4
:
1
,
multi6:
1
,
smp20bit:
1
;
unsigned
in_ac97_init
:
1
,
in_sdin_init:
1
;
unsigned
fix_nocache
:
1
;
/* workaround for 440MX */
unsigned
buggy_irq
:
1
;
/* workaround for buggy mobos */
ac97_bus_t
*
ac97_bus
;
ac97_t
*
ac97
[
3
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment