Old 02-17-2017, 07:48 AM   #1
me2beats
Human being with feelings
 
me2beats's Avatar
 
Join Date: Jul 2015
Location: Yekaterinburg, Russia
Posts: 400
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: 8,062
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)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
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: 400
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 03:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.