23 May '13 - 15:21 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Retrieve supported sample rates for a ASIO device  (Read 472 times)
Cristian1980
Posts: 36


« on: 17 Jul '12 - 14:06 »
Reply with quoteQuote

Hello,

I see that ASIO SDK has a function to query the driver if a sample rate is supported by the driver: ASIOCanSampleRate .

I can't find this functionality in BASS ASIO the only close one I found is BASS_ASIO_SetRate but that function will also changes the rate which is not something I want on a live stream. Is there any other way to get which rates are supported?

Regards,
Cristian
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #1 on: 17 Jul '12 - 17:42 »
Reply with quoteQuote

BASS_ASIO_SetRate will internally call the driver's "canSampleRate" function to check that it supports the requested rate before applying it (via "setSampleRate"), but there isn't currently any way to stop at "canSampleRate". But here's an update to try, which adds a BASS_ASIO_CanSetRate function for that...

   www.un4seen.com/stuff/bassasio.zip
Logged
Cristian1980
Posts: 36


« Reply #2 on: 18 Jul '12 - 11:55 »
Reply with quoteQuote

Hi,

Everything seems to be working OK.

Thank you,
Cristian
Logged
C Del
Posts: 10


« Reply #3 on: 24 Sep '12 - 18:01 »
Reply with quoteQuote

Hey there,

Could I get an x64 version of the DLL with this function?  I need to enumerate device supported sample rates and right now I'm actually setting sample rates to test if they are supported, which really sucks.

Thanks
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #4 on: 25 Sep '12 - 17:38 »
Reply with quoteQuote

Yep. I'll get the update (including x64 build) up on the BASSASIO page tomorrow.
Logged
C Del
Posts: 10


« Reply #5 on: 25 Sep '12 - 18:25 »
Reply with quoteQuote

Awesome, thanks.
Logged
Ian @ un4seen
Administrator
Posts: 15269


« Reply #6 on: 26 Sep '12 - 17:42 »
Reply with quoteQuote

The BASSASIO update is now up. Note the new rate checking function was renamed to BASS_ASIO_CheckRate.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines