[wdmaudiodev] Re: IPortWavePciStream::GetMapping() byte count problem

  • From: most project <most_prj@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 23 Sep 2002 23:55:45 -0700 (PDT)

hello
i am trying to record from a PCI device using different channel widths
For eg: If i am trying to record on 13 channels i.e 13 * 4 = 52 byte recoding 
and 
if IPortWavePciStream::GetMapping() returns a buffer size which is a multiple 
of 52 then alignment is easy...more importantly improving the performance of 
recording.
At present i get a page_size buffer which i fill up and if the last frame (52 
bytes) doesnt fit the current buffer. i break it up and fill the remaining data 
in the next buffer.
thank you
sudheer
 
 
 
 Frank Berreth wrote:
What do you mean with "manipulate the size"? Do you have HW restrictions
that make it impossible to map PAGE_SIZE buffers?

-----Original Message-----
From: most project [mailto:most_prj@xxxxxxxxx]=20
Sent: Sunday, September 22, 2002 10:42 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] IPortWavePciStream::GetMapping() byte count
problem


hi all
i am calling IPortWavePciStream::GetMapping( ) and i get a value of 4096
as the size of the mapping (out pulong bytecount). But my requirement is
that i should be able to manipulate the size returned to me..Can this be
done..if so..please let me know how.


thank you

sudheer


=20

=20
=20



---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: =
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dsubscribe
Unsubscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=3Dunsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/



---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: