Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1547
b: refs/heads/master
c: 22bc30c
h: refs/heads/master
i:
  1545: c5499c4
  1543: f6c9a8c
v: v3
  • Loading branch information
James Courtier-Dutton authored and Jaroslav Kysela committed May 29, 2005
1 parent 1ef1758 commit cffe148
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f927c8fc648420ad8edd7e4699b4ba510c2e9c6b
refs/heads/master: 22bc30c84b4dc092deb2b14deb0603b257818e63
10 changes: 6 additions & 4 deletions trunk/sound/pci/emu10k1/p16v.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
* Driver p16v chips
* Version: 0.22
* Version: 0.25
*
* FEATURES currently supported:
* Output fixed at S32_LE, 2 channel to hw:0,0
Expand Down Expand Up @@ -48,6 +48,8 @@
* e.g. When HD Capture source is set to SPDIF,
* setting HD Capture channel to 0 captures from CDROM digital input.
* setting HD Capture channel to 1 captures from SPDIF in.
* 0.25
* Include capture buffer sizes.
*
* BUGS:
* Some stability problems when unloading the snd-p16v kernel module.
Expand Down Expand Up @@ -149,9 +151,9 @@ static snd_pcm_hardware_t snd_p16v_capture_hw = {
.rate_max = 192000,
.channels_min = 2,
.channels_max = 2,
.buffer_bytes_max = (32*1024),
.buffer_bytes_max = (65536 - 64),
.period_bytes_min = 64,
.period_bytes_max = (16*1024),
.period_bytes_max = (65536 - 128) >> 1, /* size has to be N*64 bytes */
.periods_min = 2,
.periods_max = 2,
.fifo_size = 0,
Expand Down Expand Up @@ -637,7 +639,7 @@ int snd_p16v_pcm(emu10k1_t *emu, int device, snd_pcm_t **rpcm)
if ((err = snd_pcm_lib_preallocate_pages(substream,
SNDRV_DMA_TYPE_DEV,
snd_dma_pci_data(emu->pci),
64*1024, 64*1024)) < 0)
65536 - 64, 65536 - 64)) < 0)
return err;
//snd_printk("preallocate capture substream: err=%d\n", err);
}
Expand Down

0 comments on commit cffe148

Please sign in to comment.