]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/sound/pcm.h
ALSA: Allocate larger pages in sgbuf
[linux-2.6-omap-h63xx.git] / include / sound / pcm.h
index 8db89630c82140b4b1da492180e1628ab8eadfd4..40c5a6fa6bcd3635334f0405ee0d53f37c3944c7 100644 (file)
@@ -996,7 +996,8 @@ snd_pcm_sgbuf_get_ptr(struct snd_pcm_substream *substream, unsigned int ofs)
 
 struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream,
                                    unsigned long offset);
-
+unsigned int snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream *substream,
+                                         unsigned int ofs, unsigned int size);
 
 /* handle mmap counter - PCM mmap callback should handle this counter properly */
 static inline void snd_pcm_mmap_data_open(struct vm_area_struct *area)