the sound_pool_item is a lowerlevel class managed by the sound_pool
And you're getting that error, because the handle espects a sound handle, while the sound_pool play functions return an integer, which is the id of the item.
You should do something like the following, and use the sound_pool class instead.
#include "sound_pool.bgt";
sound_pool p; // define the variable p of type sound_pool
void main()
{
// the sound pool is nice, and you do not need to load the sound at all, but just pass the name to the play function
p.play_stationary("sounds/music1.ogg", false);
// if instead you wish to retrieve the id of the sound, you can do something like:
int sound_id = p.playstationary("sounds/music1.ogg", false);
}
Hope I was of help.
Paul