Old 02-17-2017, 07:48 AM   #1
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 281
Default API: PreviewMedia (filename)

The absence of this function is the only thing that stops me to write Media Browser with some extra features&options. I think it would be cool
me2beats is offline   Reply With Quote
Old 02-17-2017, 08:09 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 6,465
Default

To make it more flexible, the API could be something like :

Code:
int StartMediaPreview(PCM_source* src) // returns error code
void StopMediaPreview(PCM_source* src)
double GetMediaPreviewPosition(PCM_source* src)
void SetMediaPreviewPosition(PCM_source* src, double time)
double GetMediaPreviewVolume()
void SetMediaPreviewVolume(double gain)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass and λ) :
http://xenakios.wordpress.com/
Xenakios is offline   Reply With Quote
Old 02-17-2017, 08:14 AM   #3
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 281
Default

Quote:
Originally Posted by Xenakios View Post
To make it more flexible, the API could be something like :

Code:
int StartMediaPreview(PCM_source* src) // returns error code
void StopMediaPreview(PCM_source* src)
double GetMediaPreviewPosition(PCM_source* src)
void SetMediaPreviewPosition(PCM_source* src, double time)
double GetMediaPreviewVolume()
void SetMediaPreviewVolume(double gain)
totally agree!
me2beats is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.