Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111029283
D48434.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
444 B
Referenced Files
None
Subscribers
None
D48434.id.diff
View Options
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -1205,8 +1205,8 @@
c->direction = direction;
c->type = dir;
c->unit = alloc_unr(chn_getunr(d, c->type));
- c->format = SND_FORMAT(AFMT_U8, 1, 0);
- c->speed = DSP_DEFAULT_SPEED;
+ c->format = SND_FORMAT(AFMT_S16_LE, 2, 0);
+ c->speed = 48000;
c->pid = -1;
c->latency = -1;
c->timeout = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 10:37 AM (7 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16851836
Default Alt Text
D48434.id.diff (444 B)
Attached To
Mode
D48434: sound: Initialize channels with sane default rate and format
Attached
Detach File
Event Timeline
Log In to Comment